﻿/* ============================================================
   imagini.css — zone de fotografie, galerii, previzualizări
   Folosit pe paginile Cursuri, Servicii și Promo.
   Imagini locale: TrainAi_HTML/img/ (sursele sunt în img/SURSELOR-IMAGINI.txt)
   ============================================================ */

/* --- zonă panoramică cu legendă --- */
.zona-poza {
    margin: 0 0 18px;
    border-radius: var(--r);
    overflow: hidden;
    border: 1px solid #e4ddd1;
    box-shadow: 0 14px 34px rgba(35, 45, 55, .10);
}
.zona-poza img { display: block; width: 100%; height: clamp(170px, 26vw, 270px); object-fit: cover; }
.zona-poza figcaption {
    padding: 10px 16px;
    font-size: 13px;
    color: #5f6c74;
    background: #fff;
    line-height: 1.5;
}

/* --- mini-galerie cu oameni --- */
.galerie { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; margin: 14px 0 6px; }
.galerie figure { margin: 0; position: relative; border-radius: 14px; overflow: hidden; border: 1px solid #e4ddd1; background: #fff; }
.galerie img { display: block; width: 100%; height: 148px; object-fit: cover; }
.galerie figcaption {
    position: absolute; left: 0; right: 0; bottom: 0;
    padding: 16px 12px 8px;
    font-size: 12.5px; font-weight: 700; color: #fff;
    background: linear-gradient(180deg, rgba(11, 26, 43, 0), rgba(11, 26, 43, .93));
}

/* --- previzualizări blurate (demo) --- */
.previz { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; margin-top: 14px; }
.previz figure { margin: 0; position: relative; border-radius: 14px; overflow: hidden; border: 1px dashed #cfc6b7; background: #faf8f3; }
.previz img { display: block; width: 100%; height: 152px; object-fit: cover; filter: blur(2.5px) saturate(.85); transform: scale(1.05); }
.previz figcaption {
    position: absolute; inset: 0;
    display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px;
    padding: 12px; text-align: center; color: #fff; background: rgba(11, 26, 43, .58);
}
.previz figcaption b { font-size: 13.5px; }
.previz figcaption small { font-size: 11.5px; opacity: .9; }
.previz .demo {
    position: absolute; top: 8px; left: 8px;
    font-size: 10.5px; font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase;
    background: var(--teal); color: #fff; padding: 4px 9px; border-radius: 999px;
}

/* --- notă de vârstă (18+) --- */
.nota-18 {
    margin-top: 16px; padding: 14px 18px; border-radius: 14px;
    background: #f8ebe1; border-left: 4px solid var(--accent);
    color: #7a4526; font-size: 14px; line-height: 1.6;
}
.nota-18 b { color: var(--accent); }

/* --- mențiune demo --- */
.demo-note { font-size: 12.5px; color: #64748b; margin-top: 10px; line-height: 1.55; }

/* --- listă de proiecte / parteneri în cardurile Promo --- */
.lista-proiecte { margin: 10px 0 0; padding-left: 18px; }
.lista-proiecte li { margin: 5px 0; line-height: 1.55; }
.lista-proiecte a { color: var(--teal-d); font-weight: 700; }
.item .tag.demo { background: var(--navy); color: #fff; }

/* --- dropdown-uri cu întrebări: „Sunt curios" (Cursuri) și „FAQ" (Servicii) --- */
html { scroll-behavior: smooth; }
.qa-sectiune { margin-top: 22px; }
.qa-sectiune > h2 { font-size: clamp(20px, 2.6vw, 27px); margin-bottom: 6px; color: var(--navy); }
.qa-sectiune > p.sub-qa {
    color: #5f6c74; font-size: 15px; line-height: 1.6;
    margin-bottom: 14px; max-width: 820px;
}
.qa-acc {
    background: #fff;
    border: 1px solid #e4ddd1;
    border-radius: 14px; margin-bottom: 10px;
    box-shadow: 0 14px 34px rgba(35, 45, 55, .10);
}
.qa-acc summary {
    cursor: pointer; list-style: none; display: flex; gap: 12px; align-items: flex-start;
    padding: 16px 18px; font-weight: 800; font-size: 16.5px; color: var(--navy); line-height: 1.35;
}
.qa-acc summary::-webkit-details-marker { display: none; }
.qa-acc summary::before {
    content: '+'; flex: 0 0 auto; width: 26px; height: 26px; border-radius: 8px;
    background: var(--teal); color: #fff; font-weight: 900;
    display: inline-flex; align-items: center; justify-content: center;
}
.qa-acc[open] summary::before { content: '\2013'; }
.qa-acc summary:hover { color: var(--teal-d); }
.qa-acc .corp { padding: 0 18px 16px 56px; color: #5f6c74; font-size: 14.5px; line-height: 1.65; }
.qa-acc .corp p { margin-bottom: 8px; }
.qa-acc .corp ul { margin: 8px 0 0 18px; }
.qa-acc .corp li { margin: 5px 0; }
.qa-acc .corp b { color: var(--navy); }

@media (max-width: 640px) {
    .galerie { grid-template-columns: 1fr 1fr; }
    .previz { grid-template-columns: 1fr; }
}