1import{r as c,b as p,j as e,L as f}from"./vendor-react-core-_0sZDOLQ.js";import{C as r,a as n}from"./card-DHmBnTdH.js";import{c as u,g as b,b as j}from"./index-j07E1qHv.js";import{C as w}from"./CleanHero-B9_2ARuE.js";import{A as y,m as s}from"./vendor-framer-motion-C1oRD-X5.js";import{i as N,d as x,G as v,b as A,h as m,U as F,t as C,u as h,v as I,g as k}from"./vendor-lucide-Ddz0eB7N.js";import"./vendor-radix-CFmJ1img.js";import"./vendor-utils-BRu4i-LD.js";import"./vendor-supabase-Ca6cp8v2.js";const S=[{year:"1979",title:"Fundação da FAF",description:"Criação da Federação Angolana de Futebol",icon:x},{year:"1980",title:"Afiliação FIFA",description:"Angola torna-se membro da FIFA",icon:v},{year:"1980",title:"Afiliação CAF",description:"Adesão à Confederação Africana de Futebol",icon:A},{year:"2006",title:"Mundial FIFA",description:"Primeira participação em Copa do Mundo (Alemanha)",icon:m}],V=[{title:"Seleções Nacionais",description:"Gestão das Palancas Negras (masculina, feminina e categorias de base)",icon:F},{title:"Liga Unitel Girabola",description:"Organização e acompanhamento da principal competição nacional",icon:m},{title:"Taça de Angola",description:"Competição nacional eliminatória anual",icon:C},{title:"Desenvolvimento",description:"Torneios de base, femininos e programas de formação",icon:h}],P=[{name:"Fernando Alves Simões",position:"Presidente da FAF",description:"Lidera a federação com foco na modernização e desenvolvimento do futebol angolano"},{name:"Aliou Cissé",position:"Selecionador Nacional",description:"Selecionador masculino de Angola, confirmado pela CAF e pela FIFA em abril de 2026"}],E=[{name:"FIFA"},{name:"CAF"}],L=[{name:"ClÃnica Sagrada Esperança"},{name:"Ãgua Chela"},{name:"Chana Automóveis"}],d=i=>{switch(i){case"FIFA":return e.jsx("span",{className:"font-serif font-black italic tracking-tight text-3xl text-white",children:"FIFA"});case"CAF":return e.jsx("span",{className:"font-sans font-black tracking-tighter text-3xl text-emerald-500",children:"CAF"});case"ClÃnica Sagrada Esperança":return e.jsxs("div",{className:"flex flex-col items-center justify-center leading-tight",children:[e.jsx("span",{className:"text-[10px] font-bold tracking-wider text-emerald-400",children:"CLÃNICA"}),e.jsx("span",{className:"text-sm font-black tracking-wider text-white",children:"SAGRADA"}),e.jsx("span",{className:"text-[10px] font-bold tracking-widest text-red-500",children:"ESPERANÃA"})]});case"Ãgua Chela":return e.jsxs("div",{className:"flex flex-col items-center justify-center leading-none",children:[e.jsx("span",{className:"text-lg font-black tracking-widest text-white",children:"ÃGUA"}),e.jsx("span",{className:"text-xs font-bold tracking-widest text-blue-400",children:"CHELA"})]});case"Chana Automóveis":return e.jsxs("div",{className:"flex flex-col items-center justify-center leading-tight",children:[e.jsx("span",{className:"text-lg font-black tracking-widest text-white",children:"CHANA"}),e.jsx("span",{className:"text-[9px] font-bold tracking-widest text-yellow-500",children:"AUTOMÃVEIS"})]});default:return e.jsx("span",{className:"text-xl font-bold",children:i})}};function q(){const[i,o]=c.useState(0),{data:g=[]}=p({queryKey:["featured-news"],queryFn:()=>j.entities.News.filter({featured:!0},"-created_date",5),initialData:[]}),l=g.slice(0,5);return c.useEffect(()=>{if(l.length===0)return;const a=setInterval(()=>{o(t=>(t+1)%l.length)},5e3);return()=>clearInterval(a)},[l.length]),e.jsxs("main",{className:"min-h-screen bg-gray-50",children:[l.length>0&&e.jsxs("section",{className:"relative h-[550px] bg-white overflow-hidden",children:[e.jsx(y,{mode:"wait",children:e.jsx(s.div,{initial:{opacity:0}
1,animate:{opacity:1},exit:{opacity:0},transition:{duration:.7},className:"h-full",children:e.jsxs("div",{className:"h-full grid grid-cols-1 lg:grid-cols-2",children:[e.jsxs("div",{className:"flex flex-col justify-center px-8 lg:px-20 py-12 bg-white relative z-10",children:[e.jsxs("div",{className:"flex items-center gap-3 mb-8",children:[e.jsx("div",{className:"flex h-16 w-16 items-center justify-center rounded-2xl bg-red-600 text-xl font-black text-white shadow-lg",children:"FAF"}),e.jsx("span",{className:"text-sm font-black text-gray-800 uppercase tracking-wider",children:"FAF"})]}),e.jsx("h1",{className:"text-3xl lg:text-5xl font-black text-gray-900 mb-6 leading-tight uppercase tracking-tight",children:l[i].title}),e.jsx("p",{className:"text-gray-700 text-base lg:text-lg leading-relaxed mb-8 max-w-xl",children:l[i].summary}),e.jsx(f,{to:u("NewsDetail")+`?id=${l[i].id}`,children:e.jsxs("button",{className:"bg-red-600 text-white px-7 py-3 font-bold uppercase text-sm tracking-wider hover:bg-red-700 transition-all flex items-center gap-3 group shadow-lg hover:shadow-xl",children:["Ler Mais",e.jsx(N,{className:"w-5 h-5 group-hover:translate-x-1 transition-transform"})]})})]}),e.jsxs("div",{className:"relative h-full overflow-hidden",children:[e.jsx("img",{src:b(l[i]),alt:l[i].title,className:"w-full h-full object-cover brightness-95"}),e.jsx("div",{className:"absolute -top-20 -left-20 w-[500px] h-[500px] bg-red-600/85",style:{clipPath:"polygon(0 0, 85% 0, 0 85%)",transform:"rotate(-5deg)"}}),e.jsx("div",{className:"absolute -top-10 -right-10 w-[350px] h-[350px] bg-yellow-500/85",style:{clipPath:"polygon(100% 0, 100% 85%, 15% 0)",transform:"rotate(5deg)"}}),e.jsx("div",{className:"absolute -bottom-10 -left-10 w-[280px] h-[280px] bg-black/75",style:{clipPath:"polygon(0 100%, 85% 100%, 0 15%)",transform:"rotate(-3deg)"}})]})]})},i)}),e.jsx("div",{className:"absolute bottom-10 left-8 lg:left-20 flex gap-3 z-20",children:l.map((a,t)=>e.jsx("button",{onClick:()=>o(t),className:`transition-all ${t===i?"w-10 h-2.5 bg-red-600 rounded-full":"w-2.5 h-2.5 bg-gray-400 rounded-full hover:bg-gray-600"}`},t))})]}),e.jsx(w,{eyebrow:"Sobre a Federação",title:"Federação Angolana de Futebol",description:"O órgão governamental responsável pelo futebol em Angola desde 1979, afiliado à FIFA e à CAF, gerindo as seleções nacionais e competições domésticas.",icon:x}),e.jsx("section",{className:"py-16 bg-white",children:e.jsxs("div",{className:"container mx-auto px-4",children:[e.jsxs(s.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"text-center mb-12",children:[e.jsx("h2",{className:"text-3xl md:text-4xl font-bold text-gray-900 mb-4",children:"Nossa História"}),e.jsx("p",{className:"text-gray-600 max-w-3xl mx-auto",children:"A FAF foi fundada em 1979, logo após a independência de Angola, tornando-se membro da FIFA e da CAF em 1980. Desde então, tem sido responsável pelo desenvolvimento e crescimento do futebol angolano."})]}),e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6",children:S.map((a,t)=>e.jsx(s.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:t*.1},children:e.jsx(r,{className:"h-full hover:shadow-lg transition-shadow",children:e.jsxs(n,{className:"p-6 text-center",children:[e.jsx("div",{className:"w-16 h-16 bg-red-100 rounded-full flex items-center justify-center mx-auto mb-4",children:e.jsx(a.icon,{className:"w-8 h-8 text-red-600"})}),e.jsx("p",{className:"text-3xl font-bold text-red-600 mb-2",children:a.year}),e.jsx("h3",{className:"font-bold text-gray-900 mb-2",children:a.title}),e.jsx("p",{className:"text-sm text-gray-600",children:a.description})]})})},a.year))})]})}),e.jsx("section",{className:"py-16",children:e.jsxs("div",{className:"container mx-auto px-4",children:[e.jsxs(s.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"text-center mb-12",children:[e.jsx("h2",{className:"text-3xl md:text-4xl font-bold text-gray-900 mb-4",children:"O Que Fazemos"}),e.jsx("p",{className:"text-gray-600 max-w-3xl mx-auto",children:"A FAF é responsável por gerir todas as seleções nacionais e organizar as principais competições de futebol em Angola."})]}),e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6",children:V.map((a,t)=>e.jsx(s.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:t*.1},children:e.jsx(r,{className:"h-full hover:shadow-lg transition-shadow border-0",children:e.jsxs(n,{className:"p-6",children:[e.jsx("div",{className:"w-14 h-14 bg-gradient-to-br from-red-600 to-red-700 rounded-xl flex items-center justify-center mb-4",children:e.jsx(a.icon,{className:"w-7 h-7 text-white"})}),e.jsx("h3",{className:"font-bold text-gray-900 mb-2 text-lg",children:a.title}),e.jsx("p",{className:"text-sm text-gray-600",children:a.description})]})})},a.title))})]})}),e.jsx("section",{className:"py-16 bg-white",children:e.jsxs("div",{className:"container mx-auto px-4",children:[e.jsx(s.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"text-center mb-12",children:e.jsx("h2",{className:"text-3xl md:text-4xl font-bold text-gray-900 mb-4",children:"Liderança"})}),e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-8 max-w-4xl mx-auto",children:P.map((a,t)=>e.jsx(s.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:t*.1},children:e.jsx(r,{className:"hover:shadow-lg transition-shadow",children:e.jsxs(n,{className:"p-8 text-center",children:[e.jsx("div",{className:"w-24 h-24 bg-gradient-to-br from-red-600 to-red-700 rounded-full flex items-center justify-center mx-auto mb-4",children:e.jsx(I,{className:"w-12 h-12 text-white"})}),e.jsx("h3",{className:"font-bold text-xl text-gray-900 mb-1",children:a.name}),e.jsx("p",{className:"text-red-600 font-medium mb-3",children:a.position}),e.jsx("p",{className:"text-sm text-gray-600",children:a.description})]})})},a.name))})]})}),e.jsx("section",{className:"py-16 bg-gray-50 border-t border-gray-100",children:e.jsx("div",{className:"container mx-auto px-4",children:e.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-12 max-w-6xl mx-auto",children:[e.jsxs("div",{className:"flex flex-col items-center lg:items-start",children:[e.jsxs(s.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"text-center lg:text-left mb-8",children:[e.jsx("h2",{className:"text-3xl font-bold text-gray-900 mb-4",children:"Afiliações Internacionais"}),e.jsx("p",{className:"text-gray-600 max-w-md",children:"A FAF é membro da FIFA (Federação Internacional de Futebol) e da CAF (Confederação Africana de Futebol) desde 1980."})]}),e.jsx("div",{className:"flex flex-wrap justify-center lg:justify-start items-center gap-6",children:E.map((a,t)=>e.jsx(s.div,{initial:{opacity:0,scale:.9},whileInView:{opacity:1,scale:1},viewport:{once:!0},transition:{delay:t*.1},className:"bg-white p-6 rounded-2xl shadow-sm hover:shadow-lg transition-shadow border border-gray-100",children:e.jsx("div",{className:"flex h-20 w-44 items-center justify-center rounded-xl bg-gray-950 px-6",children:d(a.name)})},a.name))})]}),e.jsxs("div",{className:"flex flex-col items-center lg:items-start",children:[e.jsxs(s.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"text-center lg:text-left mb-8",children:[e.jsx("h2",{className:"text-3xl font-bold text-gray-900 mb-4",children:"Patrocinadores Oficiais"}),e.jsx("p",{className:"text-gray-600 max-w-md",children:"Parceiros e marcas que apoiam ativamente o desenvolvimento do futebol nacional e das seleções de Angola."})]}),e.jsx("div",{className:"flex flex-wrap justify-center lg:justify-start items-center gap-6",children:L.map((a,t)=>e.jsx(s.div,{initial:{opacity:0,scale:.9},whileInView:{opacity:1,scale:1},viewport:{once:!0},transition:{delay:t*.1},className:"bg-white p-6 rounded-2xl shadow-sm hover:shadow-lg transition-shadow border border-gray-100",children:e.jsx("div",{className:"flex h-20 w-44 items-center justify-center rounded-xl bg-gray-950 px-4",children:d(a.name)})},a.name))})]})]})})}),e.jsx("section",{className:"py-16 bg-gradient-to-br from-red-600 to-red-800",children:e.jsx("div",{className:"container mx-auto px-4",children:e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-8 max-w-5xl mx-auto",children:[e.jsxs(s.div,{initial:{opacity:0,x:-20},whileInView:{opacity:1,x:0},viewport:{once:!0},className:"bg-white/10 backdrop-blur-lg rounded-2xl p-8 text-white",children:[e.jsx(h,{className:"w-12 h-12 mb-4"}),e.jsx("h3",{className:"text-2xl font-bold mb-4",children:"Nossa Missão"}),e.jsx("p",{className:"leading-relaxed",children:"Promover, desenvolver e regulamentar o futebol em Angola, desde a base até ao alto rendimento, proporcionando as melhores condições aos nossos atletas e elevando o nome de Angola no cenário internacional."})]}),e.jsxs(s.div,{initial:{opacity:0,x:20},whileInView:{opacity:1,x:0},viewport:{once:!0},className:"bg-white/10 backdrop-blur-lg rounded-2xl p-8 text-white",children:[e.jsx(k,{className:"w-12 h-12 mb-4"}),e.jsx("h3",{className:"text-2xl font-bold mb-4",children:"Nossa Visão"}),e.jsx("p",{className:"leading-relaxed",children:"Ser uma federação de referência em Ãfrica, reconhecida pela excelência na gestão, desenvolvimento de talentos e resultados desportivos, c
1ontribuindo para o orgulho nacional através do futebol."})]})]})})})]})}export{q as default};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.