diff --git a/public/index.html b/public/index.html index 96a221f..ead4ab7 100644 --- a/public/index.html +++ b/public/index.html @@ -190,11 +190,67 @@ .loading { text-align: center; padding: 60px; color: var(--text-hint); font-style: italic; } + /* ── Vision page ── */ + .view { display: none; } + .view.active { display: flex; flex-direction: column; flex: 1; overflow: hidden; } + + .vision-content { flex: 1; overflow-y: auto; padding: 28px 36px; } + .vision-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; max-width: 960px; } + .v-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; padding: 24px; box-shadow: 0 1px 4px var(--shadow); } + .v-card.full { grid-column: 1 / -1; } + .v-card h3 { font-family: 'Playfair Display', serif; font-size: 14px; font-weight: 600; color: var(--text-hint); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 16px; } + + .hero-banner { grid-column: 1 / -1; border-radius: 12px; height: 180px; background: linear-gradient(135deg, #d4a574 0%, #c4956a 30%, #a07850 60%, #7a5c40 100%); position: relative; overflow: hidden; display: flex; align-items: flex-end; } + .dark .hero-banner { background: linear-gradient(135deg, #5a4030 0%, #4a3528 30%, #3a2a20 60%, #2a1e18 100%); } + .hero-banner::after { content: ''; position: absolute; inset: 0; background: linear-gradient(transparent 40%, rgba(44,24,16,0.4)); } + .hero-overlay { position: relative; z-index: 1; padding: 20px 28px; width: 100%; } + .hero-overlay .three-words { font-family: 'Playfair Display', serif; font-size: 32px; font-weight: 700; color: #fff; letter-spacing: 2px; } + .hero-overlay .hero-sub { font-size: 14px; color: rgba(255,255,255,0.75); margin-top: 6px; font-style: italic; } + + .vision-phrase { font-family: 'Playfair Display', serif; font-size: 22px; font-weight: 400; font-style: italic; line-height: 1.7; color: var(--text); } + .vision-detail { font-size: 15px; color: var(--text-muted); line-height: 1.8; margin-top: 12px; } + + .tag-group { display: flex; flex-wrap: wrap; gap: 8px; } + .tag { padding: 8px 16px; border-radius: 20px; font-size: 14px; font-weight: 500; } + .tag.ambiance { background: #f5ede4; color: #8b5e3c; border: 1px solid #ddc9b4; } + .tag.epoque { background: #eef3e8; color: #5a7a3a; border: 1px solid #c8d8b4; } + .tag.rythme { background: #f5e8e4; color: #a0523d; border: 1px solid #ddc0b4; } + .tag.genre { background: #e8ecf3; color: #4a5a7a; border: 1px solid #b4c0d8; } + .tag.theme { background: #f0eaf5; color: #6a4a7a; border: 1px solid #d0c0e0; } + .dark .tag.ambiance { background: #3a2e20; color: #c49060; border-color: #5a4530; } + .dark .tag.epoque { background: #2a3520; color: #8aaa6a; border-color: #3a4a30; } + .dark .tag.rythme { background: #3a2520; color: #c07050; border-color: #5a3530; } + .dark .tag.genre { background: #20283a; color: #7a8aaa; border-color: #303a50; } + .dark .tag.theme { background: #2a2035; color: #a080b0; border-color: #403050; } + + .two-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; } + .list-block h4 { font-family: 'Playfair Display', serif; font-size: 15px; font-weight: 600; margin-bottom: 12px; } + .list-block h4.yes { color: #5a7a3a; } + .list-block h4.no { color: #a0523d; } + .dark .list-block h4.yes { color: #8aaa6a; } + .dark .list-block h4.no { color: #c07050; } + .list-item { padding: 8px 0; font-size: 15px; color: var(--text); display: flex; align-items: flex-start; gap: 8px; } + .list-item .bullet { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; margin-top: 8px; } + .list-item.yes .bullet { background: #5a7a3a; } + .list-item.no .bullet { background: #a0523d; } + .dark .list-item.yes .bullet { background: #8aaa6a; } + .dark .list-item.no .bullet { background: #c07050; } + + .inspi-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; } + .inspi-card { background: var(--bg); border-radius: 10px; padding: 16px; text-align: center; border: 1px solid var(--border); } + .inspi-icon { font-size: 28px; margin-bottom: 8px; } + .inspi-title { font-size: 14px; font-weight: 500; color: var(--brown); } + .inspi-type { font-size: 13px; color: var(--text-hint); margin-top: 4px; } + + .vision-quote { font-family: 'Playfair Display', serif; font-size: 17px; font-style: italic; color: var(--text-muted); line-height: 1.7; border-left: 3px solid var(--accent); padding-left: 16px; margin: 12px 0; } + /* Responsive */ @media (max-width: 768px) { .sidebar { display: none; } .modal { width: 100%; max-width: 100%; border-radius: 12px 12px 0 0; } .card { width: 150px; min-width: 150px; } + .vision-grid { grid-template-columns: 1fr; } + .two-cols { grid-template-columns: 1fr; } } @@ -203,7 +259,8 @@