/* ==========================================================================
   section-menu.css - Menu (button) Section (A Carta)
   Identidade fiel ao Figma v3 para Casanova (Seção 4) e Casanostra (Seção 5)
   ========================================================================== */

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

/* Container do título da seção (SectionTitle) */
.section-menu__container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0;
    gap: 24px;
    width: 100%;
    max-width: 680px;
    margin: 0 auto;
}

/* Régua centralizada de 48px x 3px com cantos suaves */
.section-menu__ruler {
    width: 48px;
    height: 3px;
    border-radius: 2px;
    background-color: var(--menu-ruler-color, #8A5B3B);
    flex: none;
    order: 0;
}

/* Cores contextuais da régua */
.context-casanostra .section-menu__ruler,
.section-menu--casanostra .section-menu__ruler {
    background-color: #3F693B;
}

.context-casanova .section-menu__ruler,
.section-menu--casanova .section-menu__ruler {
    background-color: #8A5B3B;
}

/* Grupo de texto (Título + Subtítulo) */
.section-menu__text-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0;
    gap: 12px;
    width: 100%;
    max-width: 680px;
}

/* Título: A CARTA (Source Serif Pro / 4, SemiBold 600, 44px, line-height 106%, #111111) */
.section-menu__title {
    font-family: var(--font-serif, 'Source Serif Pro', 'Source Serif 4', Georgia, serif);
    font-style: normal;
    font-weight: 600;
    font-size: clamp(32px, 4.5vw, 44px);
    line-height: 1.06;
    letter-spacing: -0.015em;
    text-align: center;
    text-transform: uppercase;
    color: var(--color-neutral-900, #111111);
    margin: 0;
    padding: 0;
    width: 100%;
}

/* Subtítulo: Body/Medium (Source Sans 3, Regular 400, 18px, line-height 150%, #3A3733) */
.section-menu__subtitle {
    font-family: var(--font-sans, 'Source Sans 3', sans-serif);
    font-style: normal;
    font-weight: 400;
    font-size: clamp(16px, 1.8vw, 18px);
    line-height: 1.5;
    text-align: center;
    color: var(--color-neutral-800, #3A3733);
    margin: 0;
    max-width: 680px;
    width: 100%;
}

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

.section-menu__subtitle p + p {
    margin-top: 8px;
}

/* Bloco do Botão CTA (Button) */
.section-menu__action {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 0;
    width: 100%;
    max-width: 1400px;
    margin-top: 0;
}

/* Calibração do botão da seção Menu conforme especificações do Figma */
.section-menu__btn {
    min-width: 217px;
    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;
}

/* Variação Casanostra: Verde #3F693B com cantos de 3px e sombra #274424 */
.section-menu--casanostra .section-menu__btn,
.context-casanostra .section-menu__btn {
    border-radius: 3px;
    background-color: #3F693B;
    border-color: #3F693B;
    box-shadow: 2px 2px 0px #274424;
}

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

.section-menu--casanostra .section-menu__btn:active:not(:disabled):not(.is-disabled),
.context-casanostra .section-menu__btn:active:not(:disabled):not(.is-disabled) {
    box-shadow: 1px 1px 0px #274424;
    transform: translate(1px, 1px);
}

/* Variação Casanova: Caramelo #8A5B3B com cantos pílula de 999px e sombra #4E2C12 */
.section-menu--casanova .section-menu__btn,
.context-casanova .section-menu__btn {
    border-radius: 999px;
    background-color: #8A5B3B;
    border-color: #8A5B3B;
    box-shadow: 2px 2px 0px #4E2C12;
}

.section-menu--casanova .section-menu__btn:hover:not(:disabled):not(.is-disabled),
.context-casanova .section-menu__btn:hover:not(:disabled):not(.is-disabled) {
    background-color: #8A5B3B;
    border-color: #8A5B3B;
    box-shadow: 4px 4px 0px #4E2C12;
    transform: translate(-2px, -2px);
}

.section-menu--casanova .section-menu__btn:active:not(:disabled):not(.is-disabled),
.context-casanova .section-menu__btn:active:not(:disabled):not(.is-disabled) {
    box-shadow: 1px 1px 0px #4E2C12;
    transform: translate(1px, 1px);
}

/* Glows (ocultos conforme as especificações do Figma display: none) */
.section-menu__glow {
    display: none;
}
