:root {
    --green: #1f6b3a;
    --green2: #164d2b;
    --red: #b51f29;
    --cream: #f6f3ea;
    --white: #fff;
    --text: #22221f;
    --muted: #74736d;
    --border: #e4e0d5;
    --gold: #d7ad5a;
    --shadow: 0 18px 45px rgba(0, 0, 0, .08);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "DM Sans", Arial, sans-serif;
    background: var(--cream);
    color: var(--text);
}

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

button,
input {
    font: inherit;
}

.container {
    width: min(1180px, calc(100% - 40px));
    margin: auto;
}

/* =========================================================
   HERO
========================================================= */

.hero {
    position: relative;
    overflow: hidden;
    padding: 92px 0 84px;

    background:
        radial-gradient(
            circle at 15% 20%,
            rgba(31, 107, 58, .12),
            transparent 30%
        ),
        radial-gradient(
            circle at 90% 70%,
            rgba(181, 31, 41, .08),
            transparent 28%
        ),
        #f8f6ef;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 60px;
    align-items: center;
}

.eyebrow {
    margin-bottom: 15px;
    color: var(--red);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2.3px;
    text-transform: uppercase;
}

.hero h1 {
    margin-bottom: 20px;
    font-family: "Playfair Display", serif;
    font-size: clamp(44px, 5vw, 68px);
    line-height: 1.03;
}

.hero h1 span {
    color: var(--green);
}

.hero p {
    max-width: 610px;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 800;
}

.btn-primary {
    background: var(--green);
    color: #fff;
}

.btn-outline {
    background: #fff;
    border: 1px solid var(--border);
}

.hero-art {
    position: relative;
    min-height: 380px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 28px;
    background: linear-gradient(145deg, #fff, #ece7da);
    box-shadow: var(--shadow);
}

.hero-art img {
    position: absolute;
    z-index: 2;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-placeholder {
    position: relative;
    z-index: 1;
    padding: 40px;
    color: var(--muted);
    text-align: center;
}

.hero-placeholder strong {
    display: block;
    margin-bottom: 8px;
    color: var(--green);
    font-family: "Playfair Display", serif;
    font-size: 30px;
}

/* =========================================================
   NAVEGAÇÃO DO CATÁLOGO
========================================================= */

.catalog-nav {
    position: sticky;
    z-index: 900;
    top: 82px;
    background: #fff;
    border-bottom: 1px solid var(--border);
}

.catalog-nav-inner {
    display: flex;
    gap: 8px;
    overflow: auto;
    padding: 13px 0;
    scrollbar-width: none;
}

.catalog-nav-inner::-webkit-scrollbar {
    display: none;
}

.catalog-nav a {
    white-space: nowrap;
    padding: 9px 15px;
    border-radius: 999px;
    background: #f5f4ef;
    font-size: 12px;
    font-weight: 800;
}

.catalog-nav a:hover {
    background: var(--green);
    color: #fff;
}

/* =========================================================
   SEÇÕES
========================================================= */

.section {
    padding: 82px 0;
}

.section.white {
    background: #fff;
}

.section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 32px;
    padding-bottom: 22px;
    border-bottom: 1px solid var(--border);
}

.section-head .tag {
    margin-bottom: 7px;
    color: var(--red);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.section-head h2 {
    font-family: "Playfair Display", serif;
    font-size: clamp(32px, 4vw, 46px);
}

.section-head p {
    max-width: 500px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.6;
}

/* =========================================================
   GRID DE PRODUTOS
========================================================= */

.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.grid.four {
    grid-template-columns: repeat(4, 1fr);
}

/* =========================================================
   CARD DE PRODUTO
========================================================= */

.product {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 18px;
    transition: .25s;
}

.white .product {
    background: var(--cream);
}

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

.product-img {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: #e9e5da;
}

.product-img > img {
    position: relative;
    z-index: 2;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.img-fallback {
    position: absolute;
    z-index: 1;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: linear-gradient(145deg, #ece8dc, #ddd7c7);
    color: #8b887f;
    font-size: 13px;
    text-align: center;
}

.product-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 22px;
}

.product-kicker {
    margin-bottom: 7px;
    color: var(--green);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.6px;
    text-transform: uppercase;
}

.product h3 {
    margin-bottom: 11px;
    font-family: "Playfair Display", serif;
    font-size: 24px;
    line-height: 1.1;
}

.product p {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.55;
}

.chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 15px;
}

.chip {
    padding: 6px 9px;
    border-radius: 999px;
    background: #edf4ee;
    color: var(--green2);
    font-size: 10px;
    font-weight: 800;
}

.badge {
    position: absolute;
    z-index: 5;
    top: 14px;
    left: 14px;
    padding: 7px 10px;
    border-radius: 999px;
    background: var(--red);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
}

.weight {
    margin-top: auto;
    padding-top: 16px;
    color: var(--text);
    font-size: 12px;
    font-weight: 800;
}

/* =========================================================
   SLIDER DAS PIZZAS
========================================================= */

.pizza-card {
    max-width: 398px;
}

.pizza-slider {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #e9e5da;
}

.pizza-slides {
    position: absolute;
    inset: 0;
}

.pizza-slide {
    position: absolute !important;
    z-index: 1 !important;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;

    opacity: 0;
    transform: scale(1.025);

    pointer-events: none;

    transition:
        opacity .55s ease,
        transform .8s ease;
}

.pizza-slide.active {
    z-index: 2 !important;
    opacity: 1;
    transform: scale(1);
}

/* Setas */

.pizza-arrow {
    position: absolute;
    z-index: 20;
    top: 50%;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .92);
    color: var(--green2);
    box-shadow: 0 4px 15px rgba(0, 0, 0, .15);
    font-size: 29px;
    line-height: 1;
    cursor: pointer;
    transform: translateY(-50%);
    transition: .2s ease;
}

.pizza-arrow:hover {
    background: var(--green);
    color: #fff;
}

.pizza-prev {
    left: 12px;
}

.pizza-next {
    right: 12px;
}

/* Indicadores */

.pizza-dots {
    position: absolute;
    z-index: 20;
    bottom: 12px;
    left: 50%;
    display: flex;
    gap: 7px;
    transform: translateX(-50%);
}

.pizza-dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .65);
    box-shadow: 0 1px 4px rgba(0, 0, 0, .15);
    cursor: pointer;
    transition: .25s ease;
}

.pizza-dot.active {
    width: 22px;
    border-radius: 10px;
    background: #fff;
}

/* Sabores clicáveis */

.pizza-flavors {
    align-items: center;
}

.pizza-flavor {
    border: 0;
    cursor: pointer;
    transition:
        background .25s ease,
        color .25s ease,
        transform .25s ease,
        box-shadow .25s ease;
}

.pizza-flavor:hover {
    transform: translateY(-1px);
}

.pizza-flavor.active {
    background: var(--green);
    color: #fff;
    box-shadow: 0 4px 12px rgba(31, 107, 58, .20);
    transform: scale(1.05);
}

/* =========================================================
   BANNER
========================================================= */

.banner {
    min-height: 420px;
    display: flex;
    align-items: center;
    position: relative;
    color: #fff;
    background-image:
        linear-gradient(
            rgba(22, 77, 43, 0.78),
            rgba(22, 77, 43, 0.78)
        ),
        url("/franquias/img/Sabores-do-nonno-italia-massas.jpg");
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.banner-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.banner h2 {
    max-width: 600px;
    font-family: "Playfair Display", serif;
    font-size: 40px;
}

.banner p {
    max-width: 600px;
    margin-top: 10px;
    color: rgba(255, 255, 255, .8);
    line-height: 1.6;
}

@media (max-width: 768px) {
    .banner {
        min-height: 400px;
        background-attachment: scroll;
        background-position: center center;
    }
}

/* =========================================================
   CTA
========================================================= */

.cta {
    padding: 85px 0;
    background: #efeadd;
}

.cta-box {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 40px;
    padding: 55px;
    border-radius: 25px;
    background: var(--green2);
    color: #fff;
}

.cta h2 {
    font-family: "Playfair Display", serif;
    font-size: 42px;
}

.cta p {
    max-width: 650px;
    margin-top: 10px;
    color: rgba(255, 255, 255, .75);
    line-height: 1.6;
}

.cta .btn {
    background: #fff;
    color: var(--green2);
}

/* =========================================================
   RESPONSIVO - TABLET
========================================================= */

@media (max-width: 950px) {

    .hero-grid {
        grid-template-columns: 1fr;
    }

    .hero-art {
        min-height: 300px;
    }

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

    .catalog-nav {
        top: 82px;
    }

    .cta-box {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   RESPONSIVO - CELULAR
========================================================= */

@media (max-width: 620px) {

    .container {
        width: calc(100% - 26px);
    }

    .catalog-nav {
        top: 70px;
    }

    .hero {
        padding: 58px 0;
    }

    .hero-art {
        min-height: 240px;
    }

    .section {
        padding: 58px 0;
    }

    .section-head {
        display: block;
    }

    .section-head p {
        margin-top: 10px;
    }

    .grid,
    .grid.four {
        grid-template-columns: 1fr;
    }

    .pizza-card {
        max-width: 100%;
    }

    .pizza-arrow {
        width: 36px;
        height: 36px;
        font-size: 25px;
    }

    .banner-inner {
        display: block;
    }

    .cta-box {
        padding: 34px 24px;
    }

    .cta h2 {
        font-size: 34px;
    }

    .cta .btn {
        width: 100%;
        margin-top: 20px;
    }
}

/* =========================================================
   SLIDER LASANHAS
========================================================= */
.lasanha-card {
    max-width: 398px;
}
.lasanha-slider {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #e9e5da;
}
.lasanha-slides {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}
.lasanha-slide {
    position: absolute !important;
    inset: 0 !important;
    z-index: 1 !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    opacity: 0 !important;
    visibility: hidden !important;
    transform: scale(1.025);
    pointer-events: none;
    transition: opacity .55s ease, transform .8s ease;
}
.lasanha-slide.active {
    z-index: 2 !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: scale(1);
}
.lasanha-arrow {
    position: absolute;
    z-index: 20;
    top: 50%;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .92);
    color: var(--green2);
    box-shadow: 0 4px 15px rgba(0, 0, 0, .15);
    font-size: 29px;
    line-height: 1;
    cursor: pointer;
    transform: translateY(-50%);
    transition: .2s ease;
}
.lasanha-arrow:hover {
    background: var(--green);
    color: #fff;
}
.lasanha-prev {
    left: 12px;
}
.lasanha-next {
    right: 12px;
}
.lasanha-dots {
    position: absolute;
    z-index: 20;
    bottom: 12px;
    left: 50%;
    display: flex;
    gap: 7px;
    transform: translateX(-50%);
}
.lasanha-dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .65);
    box-shadow: 0 1px 4px rgba(0, 0, 0, .15);
    cursor: pointer;
    transition: .25s ease;
}
.lasanha-dot.active {
    width: 22px;
    border-radius: 10px;
    background: #fff;
}
.lasanha-flavors {
    align-items: center;
}
.lasanha-flavor {
    border: 0;
    cursor: pointer;
    transition: background .25s ease, color .25s ease, transform .25s ease, box-shadow .25s ease;
}
.lasanha-flavor:hover {
    transform: translateY(-1px);
}
.lasanha-flavor.active {
    background: var(--green);
    color: #fff;
    box-shadow: 0 4px 12px rgba(31, 107, 58, .20);
    transform: scale(1.05);
}
@media (max-width: 620px) {
    .lasanha-card {
        max-width: 100%;
    }
    .lasanha-arrow {
        width: 36px;
        height: 36px;
        font-size: 25px;
    }
}

