/* Vitrine de projetos F3: estilos isolados da página institucional. */
.f3-projects{background:linear-gradient(160deg,#f5f7f3,#fff);scroll-margin-top:90px}
.f3-projects .section-title{max-width:780px;margin-bottom:30px}
.f3-project-tabs{display:flex;gap:10px;margin-bottom:26px;flex-wrap:wrap}
.f3-project-tabs button{display:flex;align-items:center;gap:30px;background:#fff;border:1px solid var(--f3-line);border-radius:12px;padding:13px 20px;font:700 .94rem Inter,sans-serif;color:var(--f3-text);cursor:pointer;transition:background .2s,color .2s}
.f3-project-tabs button[aria-selected=true]{background:var(--f3-dark);color:#fff;border-color:var(--f3-dark)}
.f3-project-tabs button[aria-selected=true] span{color:var(--f3-green-soft)}
.f3-project-tabs button:hover{border-color:var(--f3-green)}
.f3-project{display:grid;grid-template-columns:.9fr 1.1fr;align-items:center;gap:38px;background:#fff;border:1px solid var(--f3-line);border-radius:26px;padding:32px;box-shadow:0 20px 60px rgba(31,33,43,.06)}
.f3-project[hidden]{display:none}
.f3-project-copy{padding:8px 10px}
.f3-project-logo-wrap{position:relative;width:100%;height:64px;margin-bottom:30px;overflow:hidden}
.f3-project-logo{position:absolute;display:block;height:auto;max-width:none;object-fit:initial;margin:0}
.f3-project-segment{font-size:.74rem;text-transform:uppercase;letter-spacing:.1em;font-weight:800;color:var(--f3-green-dark);margin:0 0 12px}
.f3-project h3{font-family:Poppins,Inter,sans-serif;font-size:clamp(1.65rem,2.4vw,2.25rem);letter-spacing:-.035em;line-height:1.2;font-weight:800;color:var(--f3-dark);margin:0 0 18px}
.f3-project-description{color:var(--f3-muted);line-height:1.75;margin:0 0 22px}
.f3-project-features{padding:0;list-style:none;display:grid;gap:10px;margin:0 0 28px;font-weight:600;font-size:.92rem}
.f3-project-features i{color:var(--f3-green);margin-right:10px}
.f3-project-art{display:block;position:relative;border-radius:18px;overflow:hidden;background:#1f212b}
.f3-project-art>img{display:block;width:100%;height:auto;aspect-ratio:16/10;object-fit:contain;object-position:center;background:#f3f5f7}
.f3-project-enlarge{display:flex;align-items:center;gap:8px;justify-content:center;padding:10px;background:var(--f3-dark);color:#fff;font-size:.79rem;font-weight:600}
.f3-project-art:hover .f3-project-enlarge{background:var(--f3-green-dark)}
.f3-project-tabs button:focus-visible,.f3-project a:focus-visible,.f3-project-dialog button:focus-visible{outline:3px solid var(--f3-green);outline-offset:4px}
.f3-project-dialog{border:0;padding:0;background:#15191a;border-radius:16px;max-width:min(94vw,1000px);max-height:94dvh;overflow:auto;box-shadow:0 30px 90px #0008}
.f3-project-dialog::backdrop{background:rgba(10,15,12,.86)}
.f3-project-dialog img{display:block;width:auto;max-width:100%;max-height:90dvh;margin:auto}
.f3-project-dialog form{position:sticky;top:12px;height:0;z-index:1;text-align:right;padding-right:12px}
.f3-project-dialog button{width:42px;height:42px;border:1px solid #ffffff55;border-radius:50%;background:#1f212b;color:#fff;cursor:pointer}
body.f3-project-preview-open{overflow:hidden}
@media(max-width:991px){.f3-project{gap:22px;padding:24px}.f3-project-copy{padding:0}.f3-project h3{font-size:1.65rem}.f3-projects .section-title h2{font-size:2.25rem}}
@media(max-width:767px){.f3-projects{padding:64px 0}.f3-project{grid-template-columns:1fr;padding:20px;gap:28px;border-radius:20px}.f3-project-tabs{gap:8px}.f3-project-tabs button{padding:11px 13px;font-size:.8rem;gap:12px;flex:1;justify-content:space-between}.f3-project-logo-wrap{margin-bottom:24px}.f3-project-copy .btn-f3{width:100%}.f3-projects .section-title h2{font-size:2rem}}
@media(prefers-reduced-motion:reduce){.f3-projects *{transition:none!important}}


.f3-project-video>video{display:block;width:100%;height:auto;aspect-ratio:16/10;object-fit:contain;background:#111318}

/* Marcas completas, na mesma altura de referência, sem corte em telas menores. */
#projetos .f3-project-logo-wrap{position:relative;display:flex;align-items:center;width:100%;max-width:100%;height:59px;margin-bottom:30px;overflow:visible}
#projetos img.f3-project-logo{position:static;display:block;width:auto;height:100%;max-width:100%;object-fit:contain;object-position:left center;margin:0;transform:none}
.f3-project-tabs{display:grid;grid-template-columns:repeat(5,minmax(0,1fr))}
.f3-project-tabs button{justify-content:space-between;gap:12px}
.f3-barber-art{background:#f5f7f3;border:1px solid var(--f3-line)}
.f3-barber-art>img{aspect-ratio:1;max-height:440px;object-fit:contain;background:transparent}
@media(max-width:767px){.f3-project-tabs{grid-template-columns:repeat(2,minmax(0,1fr))}#projetos .f3-project-logo-wrap{margin-bottom:24px}.f3-barber-art>img{max-height:320px}}

@media(max-width:767px){.f3-project-tabs button:last-child{grid-column:1/-1}}
