/* ============================================
   MAXIMUS v2 (26/10/2026) — fotos da operação, hero com foto, FAQ
   Camada sobre styles.css: só acrescenta, não altera as regras antigas.
   ============================================ */

/* --- Hero com foto --- */
.hero--foto {
    padding: 140px 24px 80px;
}
.hero-grid {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: 56px;
    align-items: center;
}
.hero--foto .hero-content {
    text-align: left;
    max-width: none;
}
.hero--foto .hero-title {
    font-size: clamp(2.3rem, 4.6vw, 4rem);
}
.hero--foto .hero-subtitle {
    margin: 0 0 32px;
}
.hero--foto .hero-actions {
    justify-content: flex-start;
}
.hero-provas {
    list-style: none;
    margin: 28px 0 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 22px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}
.hero-provas li {
    position: relative;
    padding-left: 22px;
}
.hero-provas li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.35em;
    width: 12px;
    height: 7px;
    border-left: 2.5px solid var(--accent-primary);
    border-bottom: 2.5px solid var(--accent-primary);
    transform: rotate(-45deg);
}
.hero-foto {
    position: relative;
    margin: 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4 / 3.4;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.28);
    border: 1px solid var(--border-color);
    background: var(--bg-card);
}
.hero-foto::after {
    content: '';
    position: absolute;
    inset: auto 0 0 0;
    height: 45%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.55), transparent);
    pointer-events: none;
}
.hero-foto img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 35% center;
    display: block;
}
.hero-foto-tag {
    position: absolute;
    left: 18px;
    bottom: 18px;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    border-radius: 50px;
    background: rgba(10, 10, 12, 0.78);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    backdrop-filter: blur(6px);
}
.hero-foto-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.25);
}
.hero--foto .hero-scroll-indicator { display: none; }

/* --- Operação na prática --- */
.operacao {
    padding: 80px 0;
    background: var(--bg-secondary);
}
.operacao-grid {
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: 260px;
    gap: 18px;
}
.operacao-card {
    position: relative;
    margin: 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
}
.operacao-card--alto {
    grid-row: span 2;
}
.operacao-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}
.operacao-card:hover img {
    transform: scale(1.04);
}
.operacao-card figcaption {
    position: absolute;
    inset: auto 0 0 0;
    padding: 56px 20px 18px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0));
    color: #fff;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.operacao-card figcaption strong {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
}
.operacao-card figcaption strong::before {
    content: '';
    display: inline-block;
    width: 18px;
    height: 3px;
    margin: 0 10px 4px 0;
    background: #fdc002;
    vertical-align: middle;
}
.operacao-card figcaption span {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.45;
}
.operacao-cta {
    margin-top: 32px;
    text-align: center;
}

/* --- FAQ --- */
.faq {
    padding: 80px 0;
}
.faq-list {
    margin-top: 32px;
    max-width: 860px;
    display: grid;
    gap: 12px;
}
.faq-item {
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    background: var(--bg-card);
    padding: 0 22px;
}
.faq-item summary {
    cursor: pointer;
    list-style: none;
    padding: 18px 32px 18px 0;
    position: relative;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--text-primary);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: var(--accent-primary);
}
.faq-item[open] summary::after { content: '–'; }
.faq-item p {
    margin: 0 0 18px;
    color: var(--text-secondary);
    line-height: 1.7;
}
.faq-item summary:focus-visible {
    outline: 2px solid var(--accent-primary);
    outline-offset: 4px;
}

/* --- Responsivo --- */
@media (max-width: 1024px) {
    .hero-grid { gap: 36px; }
    .operacao-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
    .hero--foto { padding: 112px 16px 56px; }
    .hero-grid { grid-template-columns: 1fr; }
    .hero--foto .hero-content { text-align: center; }
    .hero--foto .hero-subtitle { margin: 0 auto 28px; }
    .hero--foto .hero-actions,
    .hero-provas { justify-content: center; }
    .hero-foto { aspect-ratio: 16 / 10; }
}
@media (max-width: 600px) {
    .operacao { padding: 56px 0; }
    .operacao-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 240px;
    }
    .operacao-card--alto { grid-row: span 1; }
    .faq { padding: 56px 0; }
    .faq-item { padding: 0 16px; }
    .hero-foto-tag { font-size: 0.78rem; left: 12px; bottom: 12px; }
}
@media (prefers-reduced-motion: reduce) {
    .operacao-card img { transition: none; }
    .operacao-card:hover img { transform: none; }
}
