/* ============================================================
   VICIOUS SEX SHOP, Landing page
   Layout e paleta replicados do design de referência (sexshop.png)
   ============================================================ */

/* ---------- 1. Tokens ---------- */
:root {
    --brand: #b42d3c;
    /* vermelho da marca, botões, preços, ícones, destaques */
    --brand-deep: #9d2634;
    /* o mesmo vermelho mais escuro, hovers e ênfase */
    --brand-darker: #86202c;
    /* mais escuro ainda, hover de botões já escuros */
    --brand-hot: #b42d3c;
    /* mantido igual ao principal: um só vermelho em todo o site */
    --brand-soft: #fff1f3;
    /* rosa dos painéis */
    --brand-tint: #fde8ec;

    --ink: #1c1c1c;
    --ink-2: #4a4a4a;
    --ink-3: #7b7b7b;

    --white: #ffffff;
    --grey: #f6f6f6;
    --grey-2: #f2eeee;
    --line: #e8e4e4;

    --max: 1200px;
    --gutter: 24px;
    --radius: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    --shadow-sm: 0 2px 10px rgba(28, 28, 28, .05);
    --shadow: 0 8px 30px rgba(28, 28, 28, .07);
    --shadow-lg: 0 18px 50px rgba(28, 28, 28, .10);

    --ease: cubic-bezier(.25, .46, .45, .94);
    --font: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

/* ---------- 2. Reset ---------- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Sem overflow-x aqui, quebraria fixed/sticky no mobile (ver CLAUDE.md) */
html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    background: var(--white);
    color: var(--ink);
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

button {
    background: none;
    border: 0;
    font: inherit;
    color: inherit;
    cursor: pointer;
}

h1,
h2,
h3 {
    line-height: 1.15;
    font-weight: 700;
}

:focus-visible {
    outline: 2px solid var(--brand);
    outline-offset: 3px;
    border-radius: 4px;
}

.container {
    width: 100%;
    max-width: var(--max);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

/* ícones */
svg.ico,
svg.ico-line,
.action svg,
.search__btn svg,
.usp__ico,
.app-card__icons svg {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

svg.ico {
    width: 16px;
    height: 16px;
    flex: 0 0 auto;
}

/* ---------- 3. Botões ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 30px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: .2px;
    transition: background-color .28s var(--ease), color .28s var(--ease),
        border-color .28s var(--ease), transform .28s var(--ease);
}

.btn:hover {
    transform: translateY(-2px);
}

.btn--solid {
    background: var(--brand);
    color: #fff;
    font-size: 17px;
    padding: 15px 34px;
}

.btn--solid:hover {
    background: var(--brand-deep);
}

.btn--deep {
    background: var(--brand-deep);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .6px;
    text-transform: uppercase;
    padding: 13px 20px;
}

.btn--deep:hover {
    background: var(--brand-darker);
}

.btn--ghost {
    border: 1px solid var(--brand);
    color: var(--brand);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1.1px;
    text-transform: uppercase;
    padding: 15px 28px;
}

.btn--ghost:hover {
    background: var(--brand);
    color: #fff;
}

.btn--block {
    width: 100%;
}

/* pílula de etiqueta */
.pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    border: 1px solid var(--brand);
    border-radius: 999px;
    color: var(--brand);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .8px;
    text-transform: uppercase;
}

/* traço decorativo */
.rule {
    display: block;
    width: 54px;
    height: 3px;
    background: var(--brand-deep);
    border-radius: 2px;
}

.rule--center {
    margin-inline: auto;
    width: 46px;
    height: 2px;
}

/* tipografia partilhada */
.display {
    font-size: clamp(38px, 5vw, 62px);
    font-weight: 700;
    letter-spacing: -1px;
    text-transform: uppercase;
}

.lead {
    color: var(--ink-3);
    font-size: 16px;
    font-weight: 300;
    line-height: 1.7;
}

.lead--center {
    text-align: center;
}

/* ---------- 4. Barra de anúncio ---------- */
.topbar {
    background: var(--white);
    border-bottom: 1px solid var(--line);
    font-size: 13px;
}

.topbar__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding-block: 9px;
    color: var(--ink-2);
    text-align: center;
}

.topbar .ico {
    color: var(--brand);
    flex: none;
}

.topbar strong {
    color: var(--brand);
    font-weight: 600;
}

/* ---------- 5. Header ---------- */
.header {
    position: sticky;
    top: 0;
    z-index: 90;
    background: var(--white);
    box-shadow: 0 1px 0 var(--line);
}

/* linha de cima, logo, pesquisa, ações */
.header__top {
    display: flex;
    align-items: center;
    gap: 40px;
    max-width: 1720px;
    padding-block: 16px;
}

/* logo e ações ocupam colunas iguais, é o que deixa a
   pesquisa exatamente ao centro do cabeçalho */
.header__logo {
    display: flex;
    align-items: center;
    flex: 1 1 0;
}

.header__logo img {
    width: 150px;
    height: auto;
}

/* ---- barra de pesquisa ---- */
.search {
    display: flex;
    align-items: center;
    flex: 0 1 700px;
    height: 48px;
    border: 2px solid var(--brand);
    border-radius: 999px;
    background: var(--white);
    /* recorta o botão na forma da pílula */
    overflow: hidden;
    transition: box-shadow .25s var(--ease);
}

.search:focus-within {
    box-shadow: 0 0 0 4px rgba(180, 45, 60, .13);
}

.search__field {
    flex: 1;
    min-width: 0;
    height: 100%;
    padding: 0 24px;
    border: 0;
    background: none;
    font: inherit;
    font-size: 15px;
    color: var(--ink);
    appearance: none;
}

.search__field::placeholder {
    color: var(--ink-3);
}

.search__field:focus {
    outline: none;
}

.search__field::-webkit-search-cancel-button {
    appearance: none;
}

.search__btn {
    flex: none;
    display: grid;
    place-items: center;
    width: 68px;
    height: 100%;
    background: var(--brand);
    color: #fff;
    transition: background-color .25s var(--ease);
}

.search__btn:hover {
    background: var(--brand-deep);
}

.search__btn svg {
    width: 21px;
    height: 21px;
    stroke-width: 2;
}

/* ---- ações à direita ---- */
.header__actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex: 1 1 0;
    gap: 30px;
}

.action {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: 15px;
    font-weight: 500;
    color: var(--ink);
    white-space: nowrap;
    transition: color .25s var(--ease);
}

.action svg {
    flex: none;
    width: 22px;
    height: 22px;
    color: var(--brand);
}

.action:hover {
    color: var(--brand);
}

.action__badge {
    position: absolute;
    top: -7px;
    left: 13px;
    min-width: 17px;
    height: 17px;
    padding: 0 4px;
    border-radius: 999px;
    background: var(--brand);
    color: #fff;
    font-size: 10px;
    font-style: normal;
    font-weight: 600;
    line-height: 17px;
    text-align: center;
}

/* ---- linha de baixo, categorias ---- */
.header__nav {
    border-top: 1px solid var(--line);
    background: var(--white);
}

/* mais largo que o resto da página para as 12 categorias
   caberem numa só linha */
.header__nav .container {
    max-width: 1720px;
}

.header__menu {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2px 26px;
    padding-block: 13px;
}

.header__menu a {
    white-space: nowrap;
}

.header__menu a {
    display: inline-block;
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: .4px;
    text-transform: uppercase;
    color: var(--ink);
    transition: color .25s var(--ease);
}

.header__menu a:hover,
.header__menu a.is-active {
    color: var(--brand);
}

/* ---- botão de menu (só mobile) ---- */
.burger {
    display: none;
    width: 26px;
    height: 20px;
    position: relative;
    flex: none;
}

.burger span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--ink);
    transition: transform .3s var(--ease), opacity .3s var(--ease);
}

.burger span:nth-child(1) {
    top: 2px;
}

.burger span:nth-child(2) {
    top: 9px;
}

.burger span:nth-child(3) {
    top: 16px;
}

.burger[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.burger[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.burger[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ---------- 6. Hero ---------- */
.hero {
    position: relative;
    background: linear-gradient(100deg, #fffdfe 0%, #fdf3f6 45%, #fbe9ee 100%);
    overflow: hidden;
}

.hero__viewport {
    position: relative;
    min-height: 500px;
}

.hero__slide {
    display: grid;
    align-items: center;
    min-height: 500px;
}

.hero__slide[hidden] {
    display: none;
}

.hero__slide.is-active .hero__content>* {
    animation: heroIn .7s var(--ease) both;
}

.hero__slide.is-active .hero__content>*:nth-child(2) {
    animation-delay: .08s;
}

.hero__slide.is-active .hero__content>*:nth-child(3) {
    animation-delay: .16s;
}

@keyframes heroIn {
    from {
        opacity: 0;
        transform: translateY(18px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

.hero__img {
    position: absolute;
    inset: 0 0 0 auto;
    width: 56%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
}

.hero__fade {
    position: absolute;
    inset: 0 44% 0 0;
    width: 20%;
    margin-left: 44%;
    background: linear-gradient(90deg, #fdf1f4 0%, rgba(253, 241, 244, 0) 100%);
}

.hero__content {
    position: relative;
    z-index: 2;
    padding-block: 60px;
}

.hero__title {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
    margin-bottom: 20px;
}

.hero__title span {
    font-size: clamp(32px, 4.2vw, 54px);
    font-weight: 300;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--ink);
}

.hero__title strong {
    font-size: clamp(38px, 5.6vw, 72px);
    font-weight: 800;
    letter-spacing: -.5px;
    text-transform: uppercase;
    color: var(--brand);
}

.hero__text {
    max-width: 460px;
    margin-bottom: 30px;
    font-size: 18px;
    font-weight: 300;
    line-height: 1.55;
    color: var(--ink-2);
}

.hero__arrow {
    position: absolute;
    top: 50%;
    z-index: 3;
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    transform: translateY(-50%);
    border: 1px solid var(--brand-tint);
    border-radius: 50%;
    background: rgba(255, 255, 255, .55);
    color: var(--brand);
    transition: background-color .25s var(--ease), border-color .25s var(--ease);
}

.hero__arrow:hover {
    background: var(--brand);
    border-color: var(--brand);
    color: #fff;
}

.hero__arrow svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.hero__arrow--prev {
    left: 28px;
}

.hero__arrow--next {
    right: 28px;
}

.hero__dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 20px;
    z-index: 3;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.hero__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--brand-tint);
    transition: width .3s var(--ease), background-color .3s var(--ease);
}

.hero__dot.is-active {
    width: 26px;
    border-radius: 999px;
    background: var(--brand);
}

/* ---------- 7. Categorias ---------- */
.categories {
    padding-block: 60px 46px;
}

/* mais larga que o resto da página, como na referência */
.categories .container {
    max-width: 1400px;
}

.cat-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 22px;
}

.cat {
    position: relative;
    display: block;
    aspect-ratio: 16 / 9;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.cat img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s var(--ease);
}

.cat:hover img {
    transform: scale(1.06);
}

/* categorias ainda sem fotografia, placeholder neutro */
.cat__sem-foto {
    display: block;
    width: 100%;
    height: 100%;
    background: var(--grey-2);
}

.cat--sem-foto .cat__shade {
    background: linear-gradient(90deg, rgba(28, 28, 28, .10) 0%, rgba(28, 28, 28, 0) 70%);
}

.cat--sem-foto .cat__text h2,
.cat--sem-foto .cat__text span {
    color: #fff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, .25);
}

.cat__shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(20, 4, 8, .72) 0%, rgba(20, 4, 8, .28) 55%, rgba(20, 4, 8, .05) 100%);
}

.cat__text {
    position: absolute;
    left: 16px;
    right: 12px;
    bottom: 14px;
    color: #fff;
}

/* 5 cartões por linha: título numa linha, "Ver produtos" noutra */
.cat__text h2 {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .3px;
    line-height: 1.2;
    text-transform: uppercase;
    white-space: nowrap;
    margin-bottom: 3px;
}

.cat__text span {
    display: block;
    font-size: 11.5px;
    font-weight: 300;
    opacity: .92;
}

/* ---------- 8. Barra de confiança ---------- */
.usps {
    padding-block: 18px 6px;
}

.usps .container {
    max-width: 1400px;
}

/* cartão arredondado, branco com um toque de rosa no fundo */
.usps__grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding: 40px 30px;
    border-radius: 70px;
    background: linear-gradient(180deg, #ffffff 55%, #fff6f8 100%);
    box-shadow: 0 4px 14px rgba(28, 28, 28, .04);
}

/* luz vermelha difusa por trás do cartão */
.usps__grid::before {
    content: "";
    position: absolute;
    inset: 14px 5% 2px;
    z-index: -1;
    border-radius: inherit;
    background: var(--brand);
    filter: blur(42px);
    opacity: .28;
    pointer-events: none;
}

.usp {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    padding-inline: 26px;
}

/* traços finos a separar os três blocos */
.usp+.usp {
    border-left: 1px solid var(--line);
}

.usp__ico {
    flex: 0 0 auto;
    width: 34px;
    height: 34px;
    color: var(--brand);
}

.usp h3 {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .2px;
    text-transform: uppercase;
    white-space: nowrap;
    margin-bottom: 4px;
}

/* sem largura fixa e com text-wrap: balance, a frase fica
   numa linha quando cabe e, quando não cabe, parte em linhas
   equilibradas em vez de deixar uma palavra sozinha */
.usp p {
    font-size: 14px;
    font-weight: 300;
    line-height: 1.5;
    color: var(--ink-3);
    text-wrap: balance;
}

/* ---------- 8b. SEO local ---------- */
.local {
    padding-block: 70px 10px;
}

/* coluna única e centrada, sem cartão nem etiquetas de zonas */
.local__panel {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.local__title {
    font-size: clamp(30px, 3.6vw, 46px);
    font-weight: 700;
    letter-spacing: 1.5px;
    line-height: 1.2;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.local__title em {
    font-style: normal;
    color: var(--brand);
}

.local__intro {
    max-width: 780px;
    margin-bottom: 30px;
    font-size: 15.5px;
    font-weight: 300;
    line-height: 1.8;
    color: var(--ink-2);
}

.local__intro strong {
    font-weight: 600;
    color: var(--ink);
}

/* ---------- 8c. Janela "Ver mais" ---------- */
.modal[hidden] {
    display: none;
}

.modal {
    position: fixed;
    inset: 0;
    z-index: 120;
    display: grid;
    place-items: center;
    padding: var(--gutter);
    opacity: 0;
    transition: opacity .25s var(--ease);
}

.modal.is-open {
    opacity: 1;
}

.modal__fundo {
    position: absolute;
    inset: 0;
    background: rgba(20, 4, 8, .55);
}

.modal__caixa {
    position: relative;
    width: 100%;
    max-width: 660px;
    max-height: 84vh;
    overflow-y: auto;
    padding: 44px 46px;
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: var(--shadow-lg);
    transform: translateY(14px);
    transition: transform .3s var(--ease);
}

.modal.is-open .modal__caixa {
    transform: translateY(0);
}

.modal__x {
    position: absolute;
    top: 16px;
    right: 16px;
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 999px;
    color: var(--ink-3);
    transition: background-color .25s var(--ease), color .25s var(--ease);
}

.modal__x:hover {
    background: var(--brand-soft);
    color: var(--brand);
}

.modal__x svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
}

.modal__titulo {
    margin-bottom: 20px;
    padding-right: 40px;
    font-size: clamp(20px, 2.2vw, 26px);
    font-weight: 700;
    letter-spacing: -.2px;
    line-height: 1.25;
}

.modal__corpo p {
    margin-bottom: 16px;
    font-size: 15px;
    font-weight: 300;
    line-height: 1.8;
    color: var(--ink-2);
}

.modal__corpo p:last-child {
    margin-bottom: 0;
}

.modal__corpo strong {
    font-weight: 600;
    color: var(--ink);
}

/* janela mais larga, para o acordeão das perguntas */
.modal--largo .modal__caixa {
    max-width: 860px;
    padding: 40px 38px;
}

.modal__corpo .faq__group:first-child {
    margin-top: 0;
}

.modal__corpo .acc__q {
    padding: 18px 20px;
    font-size: 15px;
}

.modal__corpo .acc__a>div {
    padding-inline: 20px;
}

/* impede a página de fazer scroll por trás da janela */
body.tem-modal {
    overflow: hidden;
}

/* ---------- 9. Novidades ---------- */
.novidades {
    padding-block: 80px 70px;
}

.novidades__head {
    max-width: 460px;
    margin-bottom: 46px;
}

.novidades__head .display {
    margin-bottom: 16px;
}

.novidades__head .lead {
    margin-bottom: 0;
}

.novidades__cta {
    margin-top: 40px;
    text-align: center;
}

/* carrossel de produtos: pista com scroll nativo + setas */
.carrossel {
    position: relative;
}

.carrossel__pista {
    display: flex;
    gap: 22px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    /* espaço para as sombras dos cartões não ficarem cortadas */
    padding: 6px 4px 14px;
    margin-inline: -4px;
    scrollbar-width: none;
}

.carrossel__pista::-webkit-scrollbar {
    display: none;
}

/* cinco à vista, contando os intervalos */
.carrossel__pista .product {
    flex: 0 0 calc((100% - 4 * 22px) / 5);
    scroll-snap-align: start;
}

.carrossel__seta {
    position: absolute;
    top: 38%;
    z-index: 3;
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 999px;
    background: var(--white);
    color: var(--brand);
    box-shadow: var(--shadow);
    transition: background-color .25s var(--ease), color .25s var(--ease), opacity .25s var(--ease);
}

.carrossel__seta:hover {
    background: var(--brand);
    color: #fff;
}

/* no fim da pista a seta apaga-se e deixa de responder */
.carrossel__seta[disabled] {
    opacity: 0;
    pointer-events: none;
}

.carrossel__seta--prev {
    left: -22px;
}

.carrossel__seta--next {
    right: -22px;
}

.carrossel__seta svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.product {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}

.product:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* mais alto que largo e com pouca margem, a foto do produto
   ocupa quase todo o cartão, como na loja */
.product__media {
    position: relative;
    display: block;
    aspect-ratio: 4 / 5;
    padding: 12px;
    background: var(--white);
}

.product__media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform .5s var(--ease);
}

.product:hover .product__media img {
    transform: scale(1.05);
}

.product__badge {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 2;
    padding: 4px 14px;
    border: 1px solid var(--brand);
    border-radius: 999px;
    background: #fff;
    color: var(--brand);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .8px;
    text-transform: uppercase;
}

.product__body {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
    padding: 0 20px 22px;
}

.product__title {
    font-size: 15px;
    font-weight: 400;
    line-height: 1.45;
    color: var(--ink);
}

.product__title a:hover {
    color: var(--brand);
}

.stars {
    font-size: 12px;
    letter-spacing: 1px;
    color: var(--brand);
}

.stars span {
    color: var(--ink-3);
    letter-spacing: 0;
}

.product__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: auto;
    padding-top: 6px;
}

.product__price {
    font-size: 20px;
    font-weight: 700;
    color: var(--brand);
}

.cart-btn {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--brand);
    color: #fff;
    transition: background-color .25s var(--ease), transform .25s var(--ease);
}

.cart-btn:hover {
    background: var(--brand-deep);
    transform: scale(1.08);
}

.cart-btn svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* ---------- 10. Entrega 15 minutos ---------- */
.delivery {
    padding-block: 30px 70px;
}

.delivery .container {
    max-width: 1400px;
}

.delivery__card {
    display: grid;
    grid-template-columns: minmax(0, 520px) minmax(0, 1fr);
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.delivery__left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 56px 44px;
}

.delivery__title {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-bottom: 22px;
}

.delivery__title span,
.delivery__title strong {
    font-size: clamp(26px, 2.6vw, 38px);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -.5px;
    text-transform: uppercase;
}

.delivery__title strong {
    color: var(--brand);
}

.delivery__left>p {
    margin-top: 26px;
    font-size: 15px;
    font-weight: 300;
    line-height: 1.65;
    color: var(--ink-2);
}

/* a foto entra por baixo do painel branco com um corte na diagonal */
.delivery__right {
    position: relative;
    min-height: 470px;
    clip-path: polygon(16% 0, 100% 0, 100% 100%, 0 100%);
}

.delivery__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.delivery__apps {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 26px;
    height: 100%;
    padding: 40px;
}

.app-card {
    display: block;
    width: 264px;
    padding: 26px 24px;
    border-radius: 14px;
    background: var(--white);
    box-shadow: var(--shadow-lg);
    text-align: center;
    transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}

.app-card:hover {
    transform: translateY(-6px) scale(1.04);
    box-shadow: 0 26px 60px rgba(28, 28, 28, .18);
}

.app-card h3 {
    font-size: 30px;
    font-weight: 700;
    color: var(--brand);
    margin-bottom: 14px;
}

.app-card__rule {
    display: block;
    height: 1px;
    background: var(--line);
    margin-bottom: 14px;
}

.app-card>p {
    font-size: 14px;
    font-weight: 300;
    color: var(--ink-2);
    margin-bottom: 14px;
}

.app-card__icons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 26px;
    padding: 12px;
    margin-bottom: 16px;
    border-radius: var(--radius);
    background: var(--brand-soft);
    color: var(--brand);
}

.app-card__icons svg {
    width: 17px;
    height: 17px;
}

.reviews {
    padding-block: 30px 0;
}

/* faixa a toda a largura do ecrã, sem cantos redondos:
   branco no canto superior esquerdo a abrir para o vermelho */
.reviews__panel {
    padding-block: 70px 80px;
    background: linear-gradient(125deg, #ffffff 0%, #fffafb 28%, #fdeef1 64%, #fbdfe4 100%);
}

.reviews__head {
    text-align: center;
    margin-bottom: 44px;
}

.reviews__head .rule--center {
    margin-bottom: 20px;
}

.reviews__title {
    font-size: clamp(28px, 3.6vw, 46px);
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.reviews__title em {
    font-style: normal;
    color: var(--brand-deep);
}

/* carrossel contínuo, a pista tem a lista duplicada e desliza
   metade da sua largura, por isso o ciclo fecha sem salto */
.reviews__carrossel {
    overflow: hidden;
    padding-block: 6px 10px;
    /* esbate as pontas em vez de as cortar a direito */
    mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

/* sem padding: o translateX(-50%) usa a largura da caixa e
   qualquer padding desalinharia o ponto onde o ciclo fecha */
.reviews__pista {
    display: flex;
    gap: 24px;
    width: max-content;
    animation: reviewsDesliza 52s linear infinite;
}

.reviews__carrossel:hover .reviews__pista {
    animation-play-state: paused;
}

@keyframes reviewsDesliza {
    from {
        transform: translateX(0);
    }

    to {
        /* metade da pista + metade dos intervalos duplicados */
        transform: translateX(calc(-50% - 12px));
    }
}

.review {
    position: relative;
    flex: 0 0 auto;
    width: 370px;
    padding: 46px 40px;
    border-radius: 16px;
    background: var(--white);
    box-shadow: var(--shadow);
}

.review__quote {
    position: absolute;
    top: 24px;
    right: 34px;
    font-size: 44px;
    line-height: 1;
    color: var(--brand-tint);
}

.review blockquote {
    margin-top: 26px;
    font-size: 15px;
    font-weight: 300;
    line-height: 1.75;
    color: var(--ink-2);
}

.review .rule {
    margin-top: auto;
}

/* ---------- 12. FAQ ---------- */
.faq {
    padding-block: 60px 70px;
}

.faq__resumo {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 26px;
    flex-wrap: wrap;
    padding-block: 30px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.faq__title {
    font-size: clamp(26px, 3vw, 38px);
    font-weight: 500;
    letter-spacing: -.5px;
}

.faq__group {
    margin: 34px 0 14px;
    color: var(--brand-hot);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 4px;
    text-transform: uppercase;
}

.acc__item {
    margin-bottom: 8px;
    background: var(--grey-2);
    overflow: hidden;
    transition: background-color .3s var(--ease);
}

.acc__item.is-open {
    background: var(--grey-2);
}

.acc__q {
    display: flex;
    align-items: center;
    gap: 22px;
    width: 100%;
    padding: 22px 26px;
    text-align: left;
    font-size: 16px;
    font-weight: 400;
    color: var(--ink);
}

.acc__ico {
    position: relative;
    flex: 0 0 auto;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--brand-hot);
}

.acc__ico::before,
.acc__ico::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    background: #fff;
    transform: translate(-50%, -50%);
    transition: opacity .25s var(--ease);
}

.acc__ico::before {
    width: 13px;
    height: 2px;
}

.acc__ico::after {
    width: 2px;
    height: 13px;
}

.acc__item.is-open .acc__ico::after {
    opacity: 0;
}

/* corpo colapsável: grid 0fr→1fr, um único filho com overflow:hidden */
.acc__a {
    display: grid;
    grid-template-rows: 0fr;
    background: var(--white);
    transition: grid-template-rows .45s var(--ease);
}

.acc__item.is-open .acc__a {
    grid-template-rows: 1fr;
}

.acc__a>div {
    min-height: 0;
    overflow: hidden;
    padding-inline: 26px 40px;
}

.acc__item.is-open .acc__a>div {
    padding-block: 26px 30px;
}

.acc__a p {
    max-width: 900px;
    margin-inline: auto;
    margin-bottom: 14px;
    font-size: 15px;
    font-weight: 300;
    line-height: 1.75;
    color: var(--ink-2);
}

.acc__a p:last-child {
    margin-bottom: 0;
}

/* ---------- 13. Privacidade ---------- */
.privacy {
    padding-block: 20px 70px;
}

.privacy__panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: 60px;
    padding: 56px 50px;
    border-radius: var(--radius-xl);
    background: radial-gradient(100% 120% at 20% 0%, #fff4f6 0%, #fffbfc 60%, #ffffff 100%);
}

.privacy__left .pill {
    margin-bottom: 30px;
}

.privacy__title {
    font-size: clamp(30px, 3.6vw, 46px);
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    line-height: 1.25;
    margin-bottom: 22px;
}

.privacy__title em {
    font-style: normal;
    color: var(--brand-deep);
}

.privacy__left>p {
    margin: 22px 0 34px;
    max-width: 470px;
    font-size: 15px;
    font-weight: 300;
    line-height: 1.75;
    color: var(--ink-2);
}

.privacy__video {
    position: relative;
    display: block;
    aspect-ratio: 3 / 2;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.privacy__video img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s var(--ease);
}

.privacy__video:hover img {
    transform: scale(1.04);
}

.privacy__play {
    position: absolute;
    top: 50%;
    left: 50%;
    display: grid;
    place-items: center;
    width: 76px;
    height: 76px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .25);
    transition: transform .3s var(--ease);
}

.privacy__video:hover .privacy__play {
    transform: translate(-50%, -50%) scale(1.08);
}

.privacy__play svg {
    width: 30px;
    height: 30px;
    fill: var(--brand);
    margin-left: 4px;
}

.privacy__caption {
    position: absolute;
    left: 22px;
    right: 22px;
    bottom: 22px;
    display: block;
    padding: 16px 20px;
    border-radius: 4px;
    background: rgba(28, 24, 24, .82);
    color: #fff;
}

.privacy__caption strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .2px;
    text-transform: uppercase;
    line-height: 1.4;
}

.privacy__caption em {
    display: block;
    margin-top: 6px;
    font-style: normal;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    color: #ff5a6e;
}

/* ---------- 14. Rodapé ---------- */
.footer {
    padding-top: 10px;
    padding-bottom: 30px;
}

/* painel rosa com as três colunas */
.footer__panel {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 40px;
    padding: 46px 56px;
    border-radius: var(--radius-lg);
    background: var(--brand-soft);
}

.footer__col h3 {
    margin-bottom: 20px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .3px;
    text-transform: uppercase;
}

.footer__col li {
    margin-bottom: 11px;
}

.footer__col a {
    font-size: 14px;
    font-weight: 300;
    line-height: 1.6;
    color: var(--ink-3);
    transition: color .25s var(--ease);
}

.footer__col a:hover {
    color: var(--brand);
}

/* coluna dos contactos: cada item com a linha forte e a nota por baixo */
.footer__linha {
    margin-bottom: 16px;
}

.footer__linha a,
.footer__linha span {
    display: block;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
    color: var(--ink);
}

.footer__linha a:hover {
    color: var(--brand);
}

.footer__linha small {
    display: block;
    margin-top: 2px;
    font-size: 12.5px;
    font-weight: 300;
    line-height: 1.5;
    color: var(--ink-3);
}

/* barra branca: pagamentos à esquerda, redes à direita */
.footer__bar {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
    margin-top: 22px;
    padding: 34px 56px;
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: var(--shadow);
}

.footer__bloco+.footer__bloco {
    border-left: 1px solid var(--line);
}

.footer__bloco h3 {
    margin-bottom: 22px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .3px;
    text-transform: uppercase;
}

.footer__bloco:last-child {
    text-align: center;
}

.paylist {
    display: flex;
    align-items: flex-end;
    gap: 26px;
}

.pay {
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1;
    color: #1f3a93;
}

.pay b {
    font-size: 21px;
    font-weight: 800;
    letter-spacing: -.5px;
}

.pay i {
    font-style: normal;
    font-size: 7px;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: .5px;
    text-align: center;
}

.pay--mbway {
    color: #111;
}

.pay--mbway b {
    border-bottom: 2px solid var(--brand);
}

.pay--mb {
    color: #111;
}

.pay--pp b {
    color: #12388f;
    font-size: 17px;
    font-style: italic;
}

.pay--tb b {
    border-bottom: 2px solid #1f3a93;
}

/* botões redondos das redes sociais */
.socials {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.socials a {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 999px;
    background: var(--brand-soft);
    color: var(--brand);
    transition: transform .25s var(--ease), background-color .25s var(--ease), color .25s var(--ease);
}

.socials a:hover {
    transform: translateY(-3px);
    background: var(--brand);
    color: #fff;
}

.socials svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.footer__copy {
    margin-top: 26px;
    text-align: center;
    font-size: 12px;
    font-weight: 300;
    color: var(--ink-3);
}

/* ---------- 14b. WhatsApp e cookies ---------- */

/* Botão fixo do WhatsApp.
   left: calc(100vw - X) em vez de right: X, o `right` pode ser calculado
   a partir do documento quando há overflow e atira o botão para fora do
   ecrã no telemóvel (ver CLAUDE.md). */
.zap {
    position: fixed;
    top: auto;
    bottom: 26px;
    left: calc(100vw - 90px);
    z-index: 80;
    display: grid;
    place-items: center;
    width: 60px;
    height: 60px;
    border-radius: 999px;
    background: #25d366;
    color: #fff;
    box-shadow: 0 10px 26px rgba(37, 211, 102, .38);
    /* camada GPU própria, evita artefactos ao fazer scroll */
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    transition: box-shadow .25s var(--ease);
}

.zap:hover {
    box-shadow: 0 14px 34px rgba(37, 211, 102, .5);
}

.zap svg {
    width: 34px;
    height: 34px;
}

/* Banner de cookies.
   width: 100vw em vez de left:0/right:0, com overflow no documento,
   o right:0 pode expandir o banner para lá do viewport (ver CLAUDE.md). */
.cookies {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100vw;
    z-index: 95;
    overflow: hidden;
    box-sizing: border-box;
    padding: 18px 0;
    background: var(--white);
    border-top: 1px solid var(--line);
    box-shadow: 0 -8px 30px rgba(28, 28, 28, .10);
    transform: translateY(100%);
    transition: transform .35s var(--ease);
}

.cookies.is-open {
    transform: translateY(0);
}

.cookies__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 26px;
    width: 100%;
    max-width: var(--max);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.cookies__texto {
    font-size: 13.5px;
    font-weight: 300;
    line-height: 1.6;
    color: var(--ink-2);
}

.cookies__texto a {
    color: var(--brand);
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cookies__botoes {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: none;
}

.cookies__botoes .btn {
    padding: 11px 24px;
    font-size: 13px;
}

/* enquanto o banner estiver aberto, o botão do WhatsApp sobe.
   A classe vem do script.js, mais fiável do que um seletor de irmãos,
   porque o botão aparece antes do banner no documento. */
.tem-cookies .zap {
    bottom: 116px;
}

/* ---------- 15. Responsivo, 1200px ---------- */
@media (max-width: 1200px) {
    .header__top {
        gap: 26px;
    }

    .header__actions {
        gap: 22px;
    }

    .header__menu {
        gap: 2px 16px;
    }

    .header__menu a {
        font-size: 11.5px;
    }

    .carrossel__pista .product {
        flex: 0 0 calc((100% - 3 * 22px) / 4);
    }

    .delivery__card {
        grid-template-columns: 340px minmax(0, 1fr);
    }

    .app-card {
        width: 220px;
        padding: 20px;
    }

}

/* ---------- 16. Responsivo, 1024px ---------- */
@media (max-width: 1024px) {
    /* logo e ações na 1.ª linha, pesquisa a ocupar a 2.ª */
    .header__top {
        flex-wrap: wrap;
        gap: 14px 20px;
        padding-block: 12px;
    }

    .header__logo img {
        width: 128px;
    }

    .search {
        order: 3;
        flex: 1 0 100%;
        max-width: none;
        height: 44px;
    }

    .search__btn {
        width: 56px;
    }

    /* só os ícones, os nomes não cabem */
    .action span {
        display: none;
    }

    .header__actions {
        gap: 22px;
    }

    .action__badge {
        left: 12px;
    }

    /* painel encostado ao fundo do header, sem medidas fixas */
    .header__nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        max-height: 72vh;
        overflow-y: auto;
        background: #fff;
        box-shadow: var(--shadow-lg);
        /* fade, nunca translateX, ver CLAUDE.md */
        opacity: 0;
        visibility: hidden;
        transition: opacity .3s var(--ease), visibility 0s linear .3s;
    }

    .header__nav.is-open {
        opacity: 1;
        visibility: visible;
        transition: opacity .3s var(--ease), visibility 0s linear 0s;
    }

    .header__menu {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding-block: 4px;
    }

    .header__menu li {
        border-bottom: 1px solid var(--line);
    }

    .header__menu li:last-child {
        border-bottom: 0;
    }

    .header__menu a {
        display: block;
        padding: 13px 0;
        font-size: 13px;
    }

    .burger {
        display: block;
    }

    .cat-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .usps__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: 30px;
        padding: 32px 20px;
        border-radius: 40px;
    }

    /* o traço passa a separar colunas, não a 3.ª linha */
    .usp+.usp {
        border-left: 0;
    }

    .usp:nth-child(2n) {
        border-left: 1px solid var(--line);
    }

    .usp {
        justify-content: flex-start;
        padding-inline: 20px;
    }

    .delivery__card {
        grid-template-columns: minmax(0, 1fr);
    }

    /* empilhado: sem corte diagonal */
    .delivery__right {
        min-height: 0;
        clip-path: none;
    }

    .delivery__left {
        padding: 40px 30px;
    }

    .delivery__img {
        position: relative;
        height: 260px;
    }

    .delivery__apps {
        justify-content: center;
        padding: 24px;
        margin-top: -90px;
    }

    .privacy__panel {
        grid-template-columns: minmax(0, 1fr);
        gap: 40px;
    }
}

/* ---------- 17. Responsivo, 810px ---------- */
@media (max-width: 810px) {

    /* banner em coluna: texto por cima, botões por baixo */
    .cookies__inner {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
    }

    .cookies__botoes .btn {
        flex: 1;
    }

    .zap {
        bottom: 20px;
        left: calc(100vw - 82px);
        width: 54px;
        height: 54px;
    }

    .zap svg {
        width: 30px;
        height: 30px;
    }

    .tem-cookies .zap {
        bottom: 190px;
    }

    :root {
        --gutter: 18px;
    }

    .hero__viewport,
    .hero__slide {
        min-height: 0;
    }

    .hero__img {
        position: relative;
        width: 100%;
        height: 260px;
    }

    .hero__fade {
        display: none;
    }

    .hero__content {
        padding-block: 34px 44px;
        text-align: center;
    }

    .hero__text {
        margin-inline: auto;
    }

    .hero__arrow {
        top: 130px;
        width: 40px;
        height: 40px;
    }

    .hero__arrow--prev {
        left: 12px;
    }

    .hero__arrow--next {
        right: 12px;
    }

    .hero__dots {
        bottom: auto;
        top: 236px;
    }

    .categories {
        padding-block: 40px 30px;
    }

    .local {
        padding-block: 46px 0;
    }

    .modal__caixa {
        padding: 32px 24px;
    }

    .cat-grid {
        gap: 14px;
    }

    .cat__text {
        left: 14px;
        bottom: 12px;
    }

    .cat__text h2 {
        font-size: 17px;
    }

    .usps__grid {
        grid-template-columns: minmax(0, 1fr);
        row-gap: 24px;
        padding: 28px 22px;
        border-radius: 28px;
    }

    .usp:nth-child(2n) {
        border-left: 0;
    }

    .usp {
        padding-inline: 0;
    }

    .usp p {
        max-width: none;
    }

    .novidades {
        padding-block: 50px 40px;
    }

    .carrossel__pista {
        gap: 14px;
    }

    .carrossel__pista .product {
        flex: 0 0 calc((100% - 14px) / 2);
    }

    /* sem espaço para setas de fora: passam para dentro */
    .carrossel__seta--prev {
        left: 4px;
    }

    .carrossel__seta--next {
        right: 4px;
    }

    .product__media {
        padding: 10px;
    }

    .product__body {
        padding: 0 14px 16px;
    }

    .product__title {
        font-size: 13.5px;
    }

    .cart-btn {
        width: 38px;
        height: 38px;
    }

    .delivery__left {
        padding: 32px 24px;
    }

    .delivery__apps {
        flex-direction: column;
        margin-top: -70px;
    }

    .app-card {
        width: 100%;
        max-width: 320px;
    }

    .reviews__panel {
        padding-block: 46px 52px;
    }

    .review {
        width: 300px;
        padding: 34px 28px;
    }

    .acc__q {
        gap: 14px;
        padding: 18px;
        font-size: 15px;
    }

    .acc__a>div {
        padding-inline: 18px;
    }

    .privacy__panel {
        padding: 34px 20px;
    }

    .footer__panel {
        grid-template-columns: minmax(0, 1fr);
        gap: 30px;
        padding: 32px 22px;
    }

    .footer__bar {
        grid-template-columns: minmax(0, 1fr);
        gap: 30px;
        padding: 28px 22px;
    }

    .footer__bloco + .footer__bloco {
        border-left: 0;
        border-top: 1px solid var(--line);
        padding-top: 26px;
    }

    .paylist {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }

    .footer__bloco:first-child {
        text-align: center;
    }
}

/* ---------- 18. Acessibilidade ---------- */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }

    /* sem animação, a pista fica parada e desliza-se com o dedo/rato */
    .reviews__carrossel {
        overflow-x: auto;
    }
}
