/* ==========================================================================
   SEÇÃO 6: A CASA · HOJE (Fotografia, Selo Orbitante e Narrativa)
   Mobile-First · Total Paridade com Tokens e Geometria do Figma v3
   ========================================================================== */

.section-hoje {
    position: relative;
    width: 100%;
    background-color: var(--color-bg-paper, #F6F1E8);
    padding: clamp(64px, 8vw, 112px) clamp(20px, 5vw, 64px);
    box-sizing: border-box;
    overflow: hidden;
    isolation: isolate;
}

/* --------------------------------------------------------------------------
   Camadas de Fundo: Marca d'Água e Fade Radial (Figma v3)
   -------------------------------------------------------------------------- */
.section-hoje__bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

/* Marca d'água com padrão circular de opacidade 0.15 */
.section-hoje__pattern {
    position: absolute;
    inset: 0;
    background-image: url('../images/pattern-casanova.svg');
    background-repeat: repeat;
    background-position: center center;
    background-size: 180px 180px;
    opacity: 0.15;
}

/* Gradiente radial de suavização do fundo */
.section-hoje__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%);
}

/* Glows Suave e Forte (display: none no Figma) */
.section-hoje__glow-soft,
.section-hoje__glow-strong {
    display: none;
}

/* --------------------------------------------------------------------------
   Container Principal (Largura máxima 1152px no Figma)
   -------------------------------------------------------------------------- */
.section-hoje__container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(40px, 5vw, 64px);
    width: 100%;
    max-width: 1152px;
    margin: 0 auto;
    position: relative;
    z-index: 3;
    box-sizing: border-box;
}

@media (min-width: 1024px) {
    .section-hoje__container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 64px;
    }
}

/* --------------------------------------------------------------------------
   Coluna Visual: Fotografia com Selo Orbitante
   Largura de referência: 520px × 560px
   -------------------------------------------------------------------------- */
.section-hoje__visual {
    width: 100%;
    max-width: 520px;
    flex: 0 0 auto;
    position: relative;
    box-sizing: border-box;
}

.section-hoje__photo-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 520 / 560;
    max-height: 560px;
    border-radius: 4px;
    overflow: visible;
    box-sizing: border-box;
    box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.06);
}

/* Overlay com gradiente radial no canto superior direito para fusão suave com o selo */
.section-hoje__photo-frame::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 4px;
    background: radial-gradient(100% 100% at 100% 0.08%, #F6F1E8 0%, rgba(246, 241, 232, 0) 40.2%);
    pointer-events: none;
    z-index: 2;
}

.section-hoje__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
    border-radius: 4px;
}

/* Skeleton Placeholder Limpo caso a imagem ainda não tenha sido cadastrada */
.section-hoje__skeleton {
    width: 100%;
    height: 100%;
    aspect-ratio: 520 / 560;
    background: linear-gradient(135deg, rgba(216, 210, 200, 0.4) 0%, rgba(216, 210, 200, 0.15) 50%, rgba(216, 210, 200, 0.4) 100%);
    background-size: 200% 200%;
    animation: section-hoje-shimmer 3s ease infinite;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border-radius: 4px;
    color: var(--color-neutral-600, #8E887E);
    font-family: var(--font-sans, 'Source Sans 3', sans-serif);
    font-size: 14px;
    text-align: center;
    padding: 24px;
    box-sizing: border-box;
}

.section-hoje__skeleton svg {
    width: 44px;
    height: 44px;
    opacity: 0.6;
}

@keyframes section-hoje-shimmer {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* --------------------------------------------------------------------------
   Selo Circular Característico (140px × 140px no Figma)
   Posicionado no canto superior direito da fotografia
   -------------------------------------------------------------------------- */
.section-hoje__seal {
    position: absolute;
    width: 140px;
    height: 140px;
    top: -60px;
    right: -68px;
    z-index: 5;
    pointer-events: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    user-select: none;
}

@media (max-width: 768px) {
    .section-hoje__seal {
        top: -40px;
        right: -20px;
        transform: scale(0.9);
        transform-origin: top right;
    }
}

@media (max-width: 540px) {
    .section-hoje__seal {
        top: -24px;
        right: 4px;
        transform: scale(0.8);
        transform-origin: top right;
    }
}

@media (max-width: 380px) {
    .section-hoje__seal {
        top: -20px;
        right: 8px;
        transform: scale(0.72);
        transform-origin: top right;
    }
}

/* Anel Externo Giratório (Puro HTML - gira continuamente os textos em órbita) */
.section-hoje__seal-ring {
    position: absolute;
    width: 140px;
    height: 140px;
    left: 0;
    top: 0;
    transform-origin: center center;
    animation: section-hoje-orbit 22s linear infinite;
    will-change: transform;
    pointer-events: none;
}

@keyframes section-hoje-orbit {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Respeito à preferência de acessibilidade de movimento reduzido */
@media (prefers-reduced-motion: reduce) {
    .section-hoje__seal-ring {
        animation: none;
    }
}

/* Tipografia dos Caracteres Orbitantes (Figma: Archivo 700 15px) */
.section-hoje__seal-char {
    position: absolute;
    font-family: var(--font-archivo, 'Archivo', sans-serif);
    font-style: normal;
    font-weight: 700;
    font-size: 15px;
    line-height: 100%;
    letter-spacing: -0.01em;
    text-transform: uppercase;
    color: var(--casa-acento-900, #301604);
    text-align: center;
    width: 12px;
    height: 15px;
    display: inline-block;
    user-select: none;
}

/* Pontos Laterais (Figma: ponto-esq e ponto-dir) */
.section-hoje__seal-dot {
    position: absolute;
    font-family: var(--font-archivo, 'Archivo', sans-serif);
    font-style: normal;
    font-weight: 700;
    font-size: 15px;
    line-height: 100%;
    letter-spacing: -0.01em;
    text-transform: uppercase;
    color: var(--casa-acento-900, #301604);
    opacity: 0.8;
    width: 5px;
    height: 15px;
    text-align: center;
    user-select: none;
}

.section-hoje__seal-dot--left {
    left: 7.43px;
    top: 69.34px;
    transform: rotate(-90deg);
}

.section-hoje__seal-dot--right {
    left: 117.57px;
    top: 65.66px;
    transform: rotate(90deg);
}

/* Cores contextuais específicas de cada Casa para os textos e pontos do selo */
.section-hoje--casanova .section-hoje__seal-char,
.section-hoje--casanova .section-hoje__seal-dot,
body.context-casanova .section-hoje__seal-char,
body.context-casanova .section-hoje__seal-dot {
    color: var(--casa-acento-900, #301604);
}

.section-hoje--casanostra .section-hoje__seal-char,
.section-hoje--casanostra .section-hoje__seal-dot,
body.context-casanostra .section-hoje__seal-char,
body.context-casanostra .section-hoje__seal-dot {
    color: var(--casa-acento-900, #132312);
}

.section-hoje--pizza-a-pezzi .section-hoje__seal-char,
.section-hoje--pizza-a-pezzi .section-hoje__seal-dot,
body.context-pizza .section-hoje__seal-char,
body.context-pizza .section-hoje__seal-dot,
body.context-pizza-a-pezzi .section-hoje__seal-char,
body.context-pizza-a-pezzi .section-hoje__seal-dot {
    color: var(--casa-acento-900, #370C08);
}

/* Motivo / Ícone Central da Casa (Centralizado e Estático, sem rotação nem escala) */
.section-hoje__seal-center {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 84px;
    height: 78px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    pointer-events: none;
}

.section-hoje__custom-icon {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
}

/* --------------------------------------------------------------------------
   Coluna de Texto Editorial (Largura máxima 568px no Figma)
   -------------------------------------------------------------------------- */
.section-hoje__text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    width: 100%;
    max-width: 568px;
    flex: 1 1 auto;
    box-sizing: border-box;
}

/* Eyebrow / Sobretítulo: Source Sans 3 · SemiBold (600) · 14px · line-height 20px */
.section-hoje__eyebrow {
    font-family: var(--font-sans, 'Source Sans 3', sans-serif);
    font-style: normal;
    font-weight: 600;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--color-neutral-900, #111111);
    margin: 0;
}

/* Título: Source Serif Pro / 4 · SemiBold (600) · 44px · line-height 106% */
.section-hoje__title {
    font-family: var(--font-serif, 'Source Serif Pro', 'Source Serif 4', Georgia, serif);
    font-style: normal;
    font-weight: 600;
    font-size: clamp(30px, 3.8vw, 44px);
    line-height: 1.06;
    letter-spacing: -0.015em;
    color: var(--color-neutral-800, #3A3733);
    margin: 0;
}

.section-hoje__title p {
    margin: 0;
    font: inherit;
    color: inherit;
    line-height: inherit;
    display: inline;
}

.section-hoje__title em,
.section-hoje__title i {
    font-style: italic;
    font-family: inherit;
}

.section-hoje__title strong,
.section-hoje__title b {
    font-weight: 700;
}

.section-hoje__title a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: opacity 0.2s ease;
}

.section-hoje__title a:hover {
    opacity: 0.85;
}

/* Descrição Editorial: Source Sans 3 · Regular (400) · 18px · line-height 150% */
.section-hoje__description {
    font-family: var(--font-sans, 'Source Sans 3', sans-serif);
    font-style: normal;
    font-weight: 400;
    font-size: clamp(16px, 1.4vw, 18px);
    line-height: 1.5;
    color: var(--color-neutral-800, #3A3733);
    margin: 0;
}

.section-hoje__description p {
    margin: 0 0 16px 0;
}

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

.section-hoje__description strong {
    font-weight: 600;
    color: var(--color-neutral-900, #111111);
}

.section-hoje__description a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: opacity 0.2s ease;
}

.section-hoje__description a:hover {
    opacity: 0.8;
}
