@charset "UTF-8";

/* ==========================================================================
   Pizzaria Giovanella - Nova Home (landing em faixas)
   Todas as regras ficam sob .gv-home para não interferir no resto do tema.
   ========================================================================== */

.gv-home {
    --gv-bg: #120a05;
    --gv-bg-2: #24140a;
    --gv-yellow: #ffc61a;
    --gv-red: #d9111a;
    --gv-red-dark: #a80d14;
    --gv-text: #f3e8dd;
    --gv-line: rgba(255, 198, 26, .28);
    --gv-edge: max(1.5rem, calc((100vw - 1320px) / 2));

    background: var(--gv-bg);
    color: var(--gv-text);
    font-family: Rubik, sans-serif;
    overflow-x: hidden;
}

.gv-home *,
.gv-home *::before,
.gv-home *::after {
    box-sizing: border-box;
}

.gv-home [id] {
    scroll-margin-top: 84px; /* altura do cabeçalho fixo */
}

/* Wrapper que o tema coloca em volta de cada widget.
   O style.css do tema dá --section-space de margem a todo widget de main_before/main_after
   (a não ser que a raiz do widget tenha a classe "band", o que os widgets gv_* têm).
   Esta regra garante o mesmo resultado se o wrapper do tema mudar. */
.gv-home [data-widget-slot] > .widget,
.gv-home .widget,
.gv-home .widget-content {
    margin: 0;
    padding: 0;
}

.gv-home figure {
    margin: 0;
}

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

.gv-container {
    width: 100%;
    max-width: 1320px;
    margin-inline: auto;
    padding-inline: 1.5rem;
}

/* ---------- Tipografia ---------- */

/* O tema deixa todo h1/h2 como inline-block de 100%, caixa alta, 900 e letter-spacing -3px:
   tudo é refeito aqui, de forma explícita. */
.gv-home h1,
.gv-home h2 {
    display: block;
    width: auto;
    font-family: "Urbanist", sans-serif;
    font-weight: 800;
    text-transform: none;
    color: #fff;
    letter-spacing: -.01em;
    margin: 0;
}

.gv-home .gv-title {
    font-size: clamp(1.5rem, 2.15vw, 2.15rem);
    line-height: 1.12;
}

.gv-home .gv-hl {
    color: var(--gv-yellow);
    font-style: italic;
}

.gv-home p {
    margin: 0;
    color: var(--gv-text);
    font-size: clamp(.95rem, 1.1vw, 1.08rem);
    line-height: 1.5;
    max-width: 36rem;
}

/* traço amarelo que fica embaixo dos títulos */
.gv-home .gv-rule {
    display: block;
    width: 150px;
    height: 4px;
    margin: .6rem 0 1rem;
    border-radius: 4px;
    background: linear-gradient(90deg, var(--gv-yellow), rgba(255, 198, 26, .15));
    transform: rotate(-1.2deg);
}

/* ---------- Botões ---------- */

.gv-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .9rem;
    margin-top: 1.5rem;
}

.gv-home a.gv-btn {
    display: inline-flex;
    align-items: center;
    gap: .65rem;
    padding: .95rem 1.7rem;
    border: 2px solid transparent;
    border-radius: 999px;
    font-family: "Urbanist", sans-serif;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1;
    text-transform: none;
    color: #fff;
    transition: transform .25s ease, box-shadow .25s ease, background .25s ease, border-color .25s ease, color .25s ease;
}

.gv-home a.gv-btn .gv-ico {
    font-size: 1.05em;
}

/* ícones SVG embutidos (herdam a cor e o tamanho do texto) */
.gv-ico {
    display: inline-block;
    flex: none;
    width: 1em;
    height: 1em;
    vertical-align: -.125em;
}

.gv-ico--fill {
    fill: currentColor;
    stroke: none;
}

.gv-home a.gv-btn--red {
    background: linear-gradient(180deg, #e8161f, var(--gv-red-dark));
    box-shadow: 0 8px 22px rgba(217, 17, 26, .35);
}

.gv-home a.gv-btn--red:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(217, 17, 26, .5);
}

.gv-home a.gv-btn--outline {
    border-color: rgba(255, 255, 255, .8);
    background: rgba(0, 0, 0, .3);
}

.gv-home a.gv-btn--outline:hover {
    transform: translateY(-2px);
    border-color: var(--gv-yellow);
    color: var(--gv-yellow);
}

/* ---------- Revelar ao rolar (só ativa se o JS rodar) ---------- */

.gv-js .gv-reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .7s ease, transform .7s ease;
}

.gv-js .gv-reveal.is-in {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    .gv-js .gv-reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

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

.gv-hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: clamp(520px, 44vw, 680px);
    overflow: hidden;
    border-bottom: 1px solid var(--gv-line);
    background:
        radial-gradient(ellipse at 15% 40%, #2b170a 0%, transparent 60%),
        var(--gv-bg);
}

.gv-hero__media {
    position: absolute;
    inset: 0 0 0 auto;
    width: 64%;
}

.gv-hero__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 38%);
    mask-image: linear-gradient(90deg, transparent 0, #000 38%);
}

.gv-hero__inner {
    position: relative;
    z-index: 2;
    padding-block: clamp(2.5rem, 5vw, 4.5rem);
}

.gv-hero__text {
    max-width: 36rem;
}

.gv-home .gv-hero h1 {
    font-size: clamp(2.4rem, 4.5vw, 4.4rem);
    font-weight: 800;
    line-height: 1.03;
}

.gv-home .gv-hero h1 .gv-hl {
    display: block;
}

.gv-home .gv-hero p {
    max-width: 25rem;
    font-size: clamp(1rem, 1.25vw, 1.2rem);
}

/* ==========================================================================
   FAIXAS (imagem + texto)
   ========================================================================== */

.gv-row {
    --gv-slant: 52px;

    position: relative;
    display: grid;
    align-items: stretch;
    min-height: clamp(260px, 22vw, 340px);
    border-bottom: 1px solid var(--gv-line);
    background: linear-gradient(100deg, #0f0805 0%, #1b0f08 55%, #2a170b 100%);
}

.gv-row--img-left  { grid-template-columns: 1.05fr 1fr; }
.gv-row--img-right { grid-template-columns: .9fr 1.1fr; }

.gv-row__media {
    position: relative;
    overflow: hidden;
    min-height: 220px;
}

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

.gv-row__body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-block: 2.2rem;
}

/* imagem à esquerda: corte diagonal + linha amarela */
.gv-row--img-left .gv-row__media img {
    -webkit-clip-path: polygon(0 0, 100% 0, calc(100% - var(--gv-slant)) 100%, 0 100%);
    clip-path: polygon(0 0, 100% 0, calc(100% - var(--gv-slant)) 100%, 0 100%);
}

.gv-row--img-left .gv-row__media::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: var(--gv-slant);
    background: linear-gradient(
        to bottom right,
        transparent calc(50% - 2px),
        var(--gv-yellow) calc(50% - 1px),
        var(--gv-yellow) calc(50% + 1px),
        transparent calc(50% + 2px)
    );
    pointer-events: none;
}

.gv-row--img-left .gv-row__body {
    padding-left: clamp(1.5rem, 3.5vw, 3.5rem);
    padding-right: var(--gv-edge);
}

/* imagem à direita: esmaece para o fundo */
.gv-row--img-right .gv-row__media img {
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 30%);
    mask-image: linear-gradient(90deg, transparent 0, #000 30%);
}

.gv-row--img-right .gv-row__body {
    padding-left: var(--gv-edge);
    padding-right: clamp(1.5rem, 3vw, 3rem);
}

/* faixa / hero sem foto: texto ocupa a largura toda */
.gv-row--noimg {
    grid-template-columns: 1fr;
}

.gv-row--noimg .gv-row__body {
    padding-inline: var(--gv-edge);
}

.gv-hero--noimg .gv-hero__text {
    max-width: 44rem;
}

/* ==========================================================================
   AVALIAÇÕES
   ========================================================================== */

.gv-row--reviews {
    grid-template-columns: .85fr 1.3fr 1.15fr;
    align-items: center;
}

.gv-phone-wrap {
    position: relative;
    align-self: stretch;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    min-height: 240px;
    overflow: hidden;
}

.gv-row--reviews-nocards {
    grid-template-columns: .85fr 1.3fr;
}

/* foto enviada no admin no lugar do celular desenhado */
.gv-phone-wrap--photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* traço amarelo inclinado separando a foto (ou o celular) do texto, igual ao das faixas com foto à esquerda.
   Com foto enviada, a imagem também é cortada na diagonal. */
.gv-row--reviews {
    --gv-slant: 52px;
}

.gv-row--reviews .gv-phone-wrap::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: var(--gv-slant);
    background: linear-gradient(
        to bottom right,
        transparent calc(50% - 2px),
        var(--gv-yellow) calc(50% - 1px),
        var(--gv-yellow) calc(50% + 1px),
        transparent calc(50% + 2px)
    );
    pointer-events: none;
}

.gv-row--reviews .gv-phone-wrap--photo img {
    -webkit-clip-path: polygon(0 0, 100% 0, calc(100% - var(--gv-slant)) 100%, 0 100%);
    clip-path: polygon(0 0, 100% 0, calc(100% - var(--gv-slant)) 100%, 0 100%);
}

.gv-phone {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .7rem;
    width: min(190px, 70%);
    height: 88%;
    padding: 1.6rem 1rem 2rem;
    border: 5px solid #2d2d32;
    border-bottom: 0;
    border-radius: 30px 30px 0 0;
    background: linear-gradient(180deg, #0d0d10, #050506);
    box-shadow: 0 24px 50px rgba(0, 0, 0, .65), inset 0 0 0 2px #46464c;
    transform: rotate(-6deg) translateY(10%);
    transform-origin: bottom center;
    text-align: center;
}

.gv-phone__notch {
    position: absolute;
    top: 8px;
    width: 52px;
    height: 7px;
    border-radius: 6px;
    background: #2d2d32;
}

.gv-phone__g {
    font-family: "Urbanist", sans-serif;
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1;
    color: #fff;
}

.gv-phone b {
    font-family: "Urbanist", sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
}

.gv-stars {
    display: inline-flex;
    gap: .15rem;
    color: var(--gv-yellow);
    font-size: .8rem;
}

.gv-stars--lg {
    font-size: 1.15rem;
    gap: .25rem;
}

.gv-row--reviews .gv-row__body {
    padding-inline: clamp(1rem, 2.5vw, 2.5rem);
}

.gv-reviews {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: .9rem;
    padding: 1.6rem var(--gv-edge) 1.6rem 0;
}

/* traço amarelo na vertical, separando o texto dos cartões (como no template) */
.gv-reviews::before {
    content: "";
    position: absolute;
    top: 14%;
    bottom: 14%;
    left: -1.25rem;
    width: 3px;
    border-radius: 3px;
    background: linear-gradient(180deg, rgba(255, 198, 26, .25), var(--gv-yellow) 18%, var(--gv-yellow) 82%, rgba(255, 198, 26, .25));
    transform: rotate(3deg);
    pointer-events: none;
}

/* o tema estiliza todo <blockquote> (barra lateral, itálico, 20px, margens): zera aqui */
.gv-home blockquote.gv-review {
    margin: 0;
    font-size: inherit;
    font-style: normal;
    font-weight: 400;
    color: inherit;
}

.gv-review {
    display: flex;
    gap: .9rem;
    align-items: flex-start;
    padding: 1rem 1.1rem;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 16px;
    background: rgba(0, 0, 0, .38);
}

.gv-review__avatar {
    flex: 0 0 38px;
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #7a6050;
    color: #2b1b12;
    font-size: 1.1rem;
}

.gv-home .gv-review p {
    margin: .3rem 0 .35rem;
    font-size: .85rem;
    line-height: 1.4;
}

.gv-review small {
    color: rgba(243, 232, 221, .6);
    font-size: .75rem;
}

/* ==========================================================================
   BARRA DE INFORMAÇÕES
   ========================================================================== */

.gv-info {
    background: #0c0604;
    padding-block: 1.7rem;
}

.gv-info__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.4rem 2.5rem;
}

.gv-info__item {
    display: flex;
    align-items: center;
    gap: .9rem;
    color: #fff;
    font-size: 1rem;
    line-height: 1.25;
}

.gv-home a.gv-info__item:hover {
    color: var(--gv-yellow);
}

.gv-info__item .gv-ico {
    font-size: 1.6rem;
    color: #fff;
}

.gv-home .gv-info a {
    color: #fff;
}

.gv-info__sep {
    width: 1px;
    height: 46px;
    background: rgba(255, 255, 255, .25);
}

.gv-info__social {
    display: flex;
    gap: 1.3rem;
}

.gv-home .gv-info__social a {
    font-size: 1.9rem;
    line-height: 1;
}

.gv-home .gv-info__social a .gv-ico {
    display: block;
}

.gv-home .gv-info__social a:hover {
    color: var(--gv-yellow);
}

/* ==========================================================================
   RESPONSIVO
   ========================================================================== */

@media (max-width: 991px) {

    .gv-hero {
        flex-direction: column;
        align-items: stretch;
        min-height: 0;
    }

    .gv-hero__media {
        position: relative;
        inset: auto;
        order: 2;
        width: 100%;
        height: 320px;
    }

    .gv-hero__media img {
        -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 35%);
        mask-image: linear-gradient(180deg, transparent 0, #000 35%);
    }

    .gv-hero__inner {
        padding-bottom: 0;
    }

    .gv-row--img-left,
    .gv-row--img-right,
    .gv-row--reviews,
    .gv-row--reviews-nocards {
        grid-template-columns: 1fr;
    }

    /* Em coluna única, toda faixa segue a ordem do hero: TEXTO e, embaixo, a FOTO.
       Assim duas fotos nunca ficam coladas (hero + faixa seguinte). A foto sobe esmaecendo para o texto. */
    .gv-row__media {
        order: 2;
        min-height: 240px;
    }

    .gv-row--img-left .gv-row__media img,
    .gv-row--img-right .gv-row__media img {
        -webkit-clip-path: none;
        clip-path: none;
        -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 35%);
        mask-image: linear-gradient(180deg, transparent 0, #000 35%);
    }

    .gv-row--img-left .gv-row__media::after {
        display: none;
    }

    .gv-row--img-left .gv-row__body,
    .gv-row--img-right .gv-row__body,
    .gv-row--reviews .gv-row__body {
        padding: 2rem 1.5rem 1rem;
    }

    /* sem foto: só o texto, com respiro embaixo */
    .gv-row--noimg .gv-row__body {
        padding: 2rem 1.5rem 2.2rem;
    }

    /* avaliações: texto, cartões e, no fim, o celular (ele "nasce" da borda de baixo da faixa) */
    .gv-reviews {
        order: 2;
    }

    .gv-phone-wrap {
        order: 3;
        min-height: 230px;
    }

    .gv-row--reviews .gv-phone-wrap::after {
        display: none;
    }

    .gv-row--reviews .gv-phone-wrap--photo img {
        -webkit-clip-path: none;
        clip-path: none;
    }

    .gv-phone {
        height: 230px;
    }

    .gv-reviews {
        padding: 0 1.5rem 2rem;
    }

    .gv-reviews::before {
        display: none;
    }

    .gv-info__sep {
        display: none;
    }

    .gv-info__inner {
        justify-content: center;
        text-align: left;
    }
}

@media (max-width: 767px) {

    .gv-home .gv-br {
        display: none;
    }

    .gv-hero__media {
        height: 260px;
    }

    .gv-actions {
        gap: .7rem;
    }

    .gv-home a.gv-btn {
        padding: .9rem 1.4rem;
    }

    .gv-info__inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.2rem;
    }
}

/* ==========================================================================
   BLOCO "ENTRE EM CONTATO"
   HTML para colar no editor (modo Código-fonte) da página Contato: veja
   contato-entre-em-contato.html. Usa a mesma aparência da Home.
   ========================================================================== */

.gv-home.gv-contato {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.75rem 3rem;
    margin: 2rem 0;
    padding: clamp(1.6rem, 3.5vw, 2.8rem);
    border: 1px solid var(--gv-line);
    border-radius: 20px;
    background: linear-gradient(100deg, #0f0805 0%, #1b0f08 55%, #2a170b 100%);
    box-shadow: 0 18px 40px rgba(0, 0, 0, .22);
}

.gv-contato .gv-contato__text {
    flex: 1 1 22rem;
}

.gv-home .gv-contato__title {
    font-size: clamp(1.7rem, 2.6vw, 2.4rem);
    line-height: 1.1;
}

/* traço amarelo embaixo do título (desenhado por CSS: o editor remove <span> vazio) */
.gv-home .gv-contato__title::after {
    content: "";
    display: block;
    width: 150px;
    height: 4px;
    margin: .7rem 0 1rem;
    border-radius: 4px;
    background: linear-gradient(90deg, var(--gv-yellow), rgba(255, 198, 26, .15));
    transform: rotate(-1.2deg);
}

.gv-home.gv-contato .gv-contato__text p {
    max-width: 32rem;
    margin: 0;
}

.gv-contato .gv-contato__actions {
    display: flex;
    flex: 0 1 19rem;
    flex-direction: column;
    gap: .9rem;
}

.gv-home .gv-contato__actions a.gv-btn {
    justify-content: center;
    width: 100%;
}

/* ícones dos botões (SVG por CSS: o editor costuma remover <svg> do HTML) */
.gv-home.gv-contato a.gv-btn::before {
    content: "";
    flex: none;
    width: 1.15em;
    height: 1.15em;
    background: currentColor;
    -webkit-mask: var(--gv-ico) center / contain no-repeat;
    mask: var(--gv-ico) center / contain no-repeat;
}

.gv-contato .gv-btn--tel {
    --gv-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.8 19.8 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.12 4.18 2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.13.96.36 1.9.7 2.81a2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45c.91.34 1.85.57 2.81.7A2 2 0 0 1 22 16.92Z'/%3E%3C/svg%3E");
}

.gv-contato .gv-btn--whats {
    --gv-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 11.5a8.4 8.4 0 0 1-12.4 7.4L3 21l1.9-5.4A8.4 8.4 0 1 1 21 11.5Z'/%3E%3Cpath d='M9 9.2c.2 2.4 2.4 4.6 4.8 4.8l1.3-1.2-1.9-1-.9.7a3.6 3.6 0 0 1-1.6-1.6l.7-.9-1-1.9L9 9.2Z'/%3E%3C/svg%3E");
}

/* horário de funcionamento (mesmo ícone de calendário da barra de informações da Home) */
.gv-home.gv-contato p.gv-contato__hours {
    display: flex;
    align-items: center;
    gap: .9rem;
    max-width: none;
    margin-top: 1.4rem;
    color: #fff;
    font-size: 1rem;
    line-height: 1.25;
}

.gv-home.gv-contato p.gv-contato__hours::before {
    content: "";
    flex: none;
    width: 1.6rem;
    height: 1.6rem;
    background: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2'/%3E%3Cpath d='M16 2v4M8 2v4M3 10h18'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2'/%3E%3Cpath d='M16 2v4M8 2v4M3 10h18'/%3E%3C/svg%3E") center / contain no-repeat;
}

@media (max-width: 575px) {
    .gv-contato .gv-contato__actions {
        flex-basis: 100%;
    }
}