/* ==========================================================================
   section-prato-do-dia.css - Seção 3: Prato do Dia (Casanostra)
   Identidade visual fiel ao Figma v3 com Mobile-First e clamp()
   ========================================================================== */

.section-prato-do-dia {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: clamp(64px, 7.5vw, 96px) clamp(20px, 5vw, 64px);
    isolation: isolate;
    background-color: var(--color-base-papel, #F6F1E8);
    box-sizing: border-box;
    overflow: hidden;
}

/* Background Pattern & Fade Radial */
.section-prato-do-dia__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.section-prato-do-dia__pattern {
    position: absolute;
    inset: 0;
    background-image: url('../images/pattern-casanova.svg');
    background-repeat: repeat;
    background-size: 80px 80px;
    opacity: 0.15;
}

.section-prato-do-dia__fade {
    position: absolute;
    inset: 0;
    background: radial-gradient(50% 50% at 50% 50%, rgba(246, 241, 232, 0) 0%, rgba(246, 241, 232, 0.3) 60%, #F6F1E8 100%);
}

/* Card Principal (Prato do dia card) */
.section-prato-do-dia__card {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 1152px;
    gap: clamp(32px, 4.5vw, 56px);
    margin: 0 auto;
    box-sizing: border-box;
}

@media (min-width: 992px) {
    .section-prato-do-dia__card {
        flex-direction: row;
        align-items: stretch;
        justify-content: space-between;
        height: 400px;
    }
}

/* --------------------------------------------------------------------------
   Fotografia do Prato (520px x 400px com Elevation 2)
   -------------------------------------------------------------------------- */
.section-prato-do-dia__media {
    position: relative;
    width: 100%;
    max-width: 520px;
    aspect-ratio: 520 / 400;
    background-color: var(--color-neutral-300, #E8E2D6);
    box-shadow: var(--shadow-elevation-2, 0px 2px 6px rgba(28, 26, 24, 0.05), 0px 10px 28px rgba(28, 26, 24, 0.1));
    overflow: hidden;
    box-sizing: border-box;
    flex-shrink: 0;
}

@media (min-width: 992px) {
    .section-prato-do-dia__media {
        flex: 0 0 clamp(380px, 45vw, 520px);
        width: clamp(380px, 45vw, 520px);
        height: 400px;
        aspect-ratio: auto;
    }
}

.section-prato-do-dia__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.section-prato-do-dia__card:hover .section-prato-do-dia__img {
    transform: scale(1.02);
}

/* Skeleton Estrutural Limpo com Shimmer (Regra GEMINI sem imagens falsas) */
.section-prato-do-dia__skeleton {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: linear-gradient(90deg, #E8E2D6 0%, #F6F1E8 50%, #E8E2D6 100%);
    background-size: 200% 100%;
    animation: prato-skeleton-shimmer 2s infinite ease-in-out;
    color: var(--color-neutral-600, #8E887E);
    font-family: var(--font-sans, 'Source Sans 3', sans-serif);
    font-size: 13px;
    text-align: center;
    padding: 20px;
    box-sizing: border-box;
}

.section-prato-do-dia__skeleton svg {
    width: 40px;
    height: 40px;
    stroke: var(--color-neutral-500, #B5AFA4);
}

@keyframes prato-skeleton-shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* --------------------------------------------------------------------------
   Coluna de Conteúdo Editorial (texto)
   -------------------------------------------------------------------------- */
.section-prato-do-dia__content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
    max-width: 576px;
    gap: 24px;
    box-sizing: border-box;
}

@media (min-width: 992px) {
    .section-prato-do-dia__content {
        flex: 1 1 576px;
        max-width: 576px;
        height: 400px;
        gap: 0;
        align-items: stretch;
    }
}

/* Overline: PRATO DO DIA · DIAS DA SEMANA (Source Sans 3, SemiBold 600, 16px, line 24px, #111111) */
.section-prato-do-dia__overline {
    font-family: var(--font-sans, 'Source Sans 3', sans-serif);
    font-style: normal;
    font-weight: 600;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    color: var(--color-neutral-900, #111111);
    margin: 0;
    padding: 0;
    width: 100%;
    height: 24px;
    display: flex;
    align-items: center;
}

/* Bloco Central: Nome do Prato + Descrição e Preço (Frame Figma: height 137px / hug) */
.section-prato-do-dia__middle {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    gap: 8px;
    margin: 0;
}

/* Nome do Prato (Title/Medium: Source Serif Pro, 600, 44px, line 106%, #111111) */
.section-prato-do-dia__title {
    font-family: var(--font-serif, 'Source Serif Pro', 'Source Serif 4', Georgia, serif);
    font-style: normal;
    font-weight: 600;
    font-size: clamp(28px, 3.8vw, 44px);
    line-height: 1.06;
    letter-spacing: -0.015em;
    color: var(--color-neutral-900, #111111);
    margin: 0;
    padding: 0;
    width: 100%;
}

/* Linha com Descrição à esquerda e Preço à direita (Figma: 576 Fill × 54 Hug) */
.section-prato-do-dia__desc-row {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
    gap: 24px;
    width: 100%;
    margin-top: 8px;
}

@media (max-width: 480px) {
    .section-prato-do-dia__desc-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
}

/* Descrição (Body/Medium: Source Sans 3, 400, 18px, line 150%, #3A3733) */
.section-prato-do-dia__desc {
    flex: 1 1 auto;
    max-width: 440px;
    font-family: var(--font-sans, 'Source Sans 3', sans-serif);
    font-style: normal;
    font-weight: 400;
    font-size: clamp(16px, 1.5vw, 18px);
    line-height: 1.5;
    color: var(--color-neutral-800, #3A3733);
    margin: 0;
}

.section-prato-do-dia__desc p {
    margin: 0;
    padding: 0;
    font-size: inherit;
    line-height: inherit;
    color: inherit;
    font-family: inherit;
}

.section-prato-do-dia__desc p + p {
    margin-top: 8px;
}

/* Bloco do Preço & Nota (Alinhado à direita no desktop, gap 8px) */
.section-prato-do-dia__price-block {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    text-align: right;
    gap: 8px;
    flex-shrink: 0;
}

@media (max-width: 480px) {
    .section-prato-do-dia__price-block {
        align-items: flex-start;
        text-align: left;
    }
}

/* Preço (Source Sans 3, Bold 700, 20px, line 130%, #3A3733) */
.section-prato-do-dia__price {
    font-family: var(--font-sans, 'Source Sans 3', sans-serif);
    font-style: normal;
    font-weight: 700;
    font-size: 20px;
    line-height: 1.3;
    color: var(--color-neutral-800, #3A3733);
    white-space: nowrap;
}

/* Nota do Preço (Source Sans 3, SemiBold 600, 14px, line 143%, #3A3733) */
.section-prato-do-dia__note {
    font-family: var(--font-sans, 'Source Sans 3', sans-serif);
    font-style: normal;
    font-weight: 600;
    font-size: 14px;
    line-height: 1.43;
    letter-spacing: 0.02em;
    color: var(--color-neutral-800, #3A3733);
    white-space: nowrap;
}

/* --------------------------------------------------------------------------
   Bloco do Botão CTA (Alinhado à direita no desktop, altura 50px no Figma)
   -------------------------------------------------------------------------- */
.section-prato-do-dia__action {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    width: 100%;
    height: 50px;
    margin: 0;
    padding: 0;
}

@media (max-width: 480px) {
    .section-prato-do-dia__action {
        justify-content: stretch;
        height: auto;
    }
    
    .section-prato-do-dia__action .btn {
        width: 100%;
    }
}

/* Botão Casanostra específico: Verde #3F693B, cantos 3px, sombra #274424 */
.section-prato-do-dia__btn {
    min-width: 194px;
    height: 46px;
    padding: 16px 32px;
    box-sizing: border-box;
    font-family: var(--font-archivo, 'Archivo', sans-serif);
    font-weight: 500;
    font-size: 14px;
    line-height: 1;
    letter-spacing: -0.01em;
    text-transform: uppercase;
    color: #FEFAFA;
    background-color: #3F693B;
    border-color: #3F693B;
    border-radius: 3px;
    box-shadow: 2px 2px 0px #274424;
}

.section-prato-do-dia__btn:hover:not(:disabled):not(.is-disabled) {
    background-color: #3F693B;
    border-color: #3F693B;
    box-shadow: 4px 4px 0px #274424;
    transform: translate(-2px, -2px);
}

.section-prato-do-dia__btn:active:not(:disabled):not(.is-disabled) {
    box-shadow: 1px 1px 0px #274424;
    transform: translate(1px, 1px);
}
