"""Niche templates for Offislux - business categories with content scripts and ad headlines."""

NICHE_TEMPLATES = [
    {
        "id": "mechanic",
        "name": "Car Mechanic",
        "icon": "Wrench",
        "category": "Automotive",
        "scripts": [
            {"slot": 1, "type": "video", "title": "Shop Facade", "description": "Film a 5-second pan of your shop front to build local recognition."},
            {"slot": 2, "type": "video", "title": "Engine Diagnostics", "description": "Show a quick diagnostic in action — confidence in expertise."},
            {"slot": 3, "type": "photo", "title": "Clean Workshop", "description": "A wide photo of your tidy workshop. Cleanliness signals trust."},
            {"slot": 4, "type": "video", "title": "Happy Customer", "description": "A satisfied customer leaving with a thumbs-up or short testimonial."},
        ],
        "headlines": ["Trust and quality for your car", "Your local mechanic — booked in 60 seconds", "Honest diagnostics. Real prices."],
    },
    {
        "id": "hairdresser",
        "name": "Hairdresser",
        "icon": "Scissors",
        "category": "Beauty",
        "scripts": [
            {"slot": 1, "type": "video", "title": "Salon Ambience", "description": "Pan across your salon — chairs, mirrors, light. Set the mood."},
            {"slot": 2, "type": "photo", "title": "Before & After", "description": "Side-by-side transformation photo of a real client (with consent)."},
            {"slot": 3, "type": "video", "title": "Cut in Action", "description": "10-second clip of a stylish cut or color in progress."},
            {"slot": 4, "type": "photo", "title": "Team Portrait", "description": "Your team smiling — humans sell better than logos."},
        ],
        "headlines": ["Your new look starts here", "Book your style today", "Style that turns heads"],
    },
    {
        "id": "restaurant",
        "name": "Restaurant",
        "icon": "ForkKnife",
        "category": "Food & Drink",
        "scripts": [
            {"slot": 1, "type": "photo", "title": "Signature Dish", "description": "Top-down photo of your best plate — natural light only."},
            {"slot": 2, "type": "video", "title": "Kitchen Action", "description": "Quick cut of chef plating or flame in the pan."},
            {"slot": 3, "type": "photo", "title": "Dining Room", "description": "Wide shot of your dining space, set tables, warm lighting."},
            {"slot": 4, "type": "video", "title": "Happy Diners", "description": "Guests laughing or toasting — social proof."},
        ],
        "headlines": ["Taste the neighborhood favorite", "Book your table tonight", "Real food. Real flavor."],
    },
    {"id": "pharmacy", "name": "Pharmacy", "icon": "FirstAid", "category": "Health", "scripts": [
        {"slot": 1, "type": "photo", "title": "Storefront", "description": "Photo of the pharmacy entrance, clear signage visible."},
        {"slot": 2, "type": "video", "title": "Pharmacist Greeting", "description": "Brief greeting from your pharmacist — humanize the service."},
        {"slot": 3, "type": "photo", "title": "Stocked Shelves", "description": "Wide photo of your well-organized shelves."},
        {"slot": 4, "type": "photo", "title": "Counter Service", "description": "Pharmacist helping a customer at the counter."},
    ], "headlines": ["Your trusted neighborhood pharmacy", "Care, advice, prescriptions — all in one stop", "Open today. Here for you."]},
    {"id": "bakery", "name": "Bakery", "icon": "Bread", "category": "Food & Drink", "scripts": [
        {"slot": 1, "type": "photo", "title": "Fresh Display", "description": "Top-down of your morning bread and pastry display."},
        {"slot": 2, "type": "video", "title": "Oven Reveal", "description": "Pulling fresh loaves out of the oven."},
        {"slot": 3, "type": "photo", "title": "Specialty Item", "description": "Hero shot of your signature pastry or cake."},
        {"slot": 4, "type": "video", "title": "Counter Smile", "description": "Customer leaving with a paper bag, smiling."},
    ], "headlines": ["Baked fresh every morning", "Real bread. Real ingredients.", "Your daily ritual, made warm."]},
    {"id": "gym", "name": "Gym & Fitness", "icon": "Barbell", "category": "Health", "scripts": [
        {"slot": 1, "type": "video", "title": "Floor Walkthrough", "description": "Pan across the gym floor — equipment, energy."},
        {"slot": 2, "type": "video", "title": "Class in Action", "description": "10s clip of a class or PT session."},
        {"slot": 3, "type": "photo", "title": "Trainer Portrait", "description": "Your top trainer ready to help."},
        {"slot": 4, "type": "photo", "title": "Locker / Amenities", "description": "Clean locker rooms or wellness corner."},
    ], "headlines": ["Start training this week", "First session free — try us today", "Stronger you. Closer than you think."]},
    {"id": "dentist", "name": "Dental Clinic", "icon": "Tooth", "category": "Health", "scripts": [
        {"slot": 1, "type": "photo", "title": "Reception", "description": "Calm, modern reception area."},
        {"slot": 2, "type": "video", "title": "Doctor Greeting", "description": "Short reassuring greeting from the lead dentist."},
        {"slot": 3, "type": "photo", "title": "Treatment Room", "description": "Bright clean treatment room, modern equipment."},
        {"slot": 4, "type": "photo", "title": "Patient Smile", "description": "Patient smiling post-treatment (with consent)."},
    ], "headlines": ["A smile you'll love", "Painless. Modern. Local.", "Book your check-up today"]},
    {"id": "lawyer", "name": "Law Firm", "icon": "Scales", "category": "Professional", "scripts": [
        {"slot": 1, "type": "photo", "title": "Office Entrance", "description": "Professional office front."},
        {"slot": 2, "type": "video", "title": "Attorney Intro", "description": "10s introduction from lead attorney."},
        {"slot": 3, "type": "photo", "title": "Meeting Room", "description": "Modern conference space."},
        {"slot": 4, "type": "photo", "title": "Team Shot", "description": "Your legal team."},
    ], "headlines": ["Legal advice you can trust", "Your local advocate", "First consultation, no obligation"]},
    {"id": "realestate", "name": "Real Estate", "icon": "House", "category": "Professional", "scripts": [
        {"slot": 1, "type": "video", "title": "Featured Listing", "description": "Walkthrough of your hottest current listing."},
        {"slot": 2, "type": "photo", "title": "Agent Portrait", "description": "Confident agent headshot."},
        {"slot": 3, "type": "photo", "title": "Office", "description": "Your agency office front."},
        {"slot": 4, "type": "video", "title": "Happy Buyers", "description": "Couple holding keys to their new home."},
    ], "headlines": ["Find your home this month", "Sell faster with a local expert", "Your neighborhood specialist"]},
    {"id": "cafe", "name": "Café & Coffee Shop", "icon": "Coffee", "category": "Food & Drink", "scripts": [
        {"slot": 1, "type": "video", "title": "Espresso Pull", "description": "Close-up of a beautiful espresso pour."},
        {"slot": 2, "type": "photo", "title": "Latte Art", "description": "Top-down of a perfect cappuccino."},
        {"slot": 3, "type": "photo", "title": "Cozy Interior", "description": "Wide of your seating, warm and inviting."},
        {"slot": 4, "type": "video", "title": "Morning Rush", "description": "Quick clip of the buzz of a morning service."},
    ], "headlines": ["Your morning starts here", "Real coffee, real people", "Pull up a chair"]},
    {"id": "florist", "name": "Florist", "icon": "Flower", "category": "Retail", "scripts": [
        {"slot": 1, "type": "photo", "title": "Window Display", "description": "Your shop window in full bloom."},
        {"slot": 2, "type": "video", "title": "Bouquet Building", "description": "Hands wrapping a fresh bouquet."},
        {"slot": 3, "type": "photo", "title": "Signature Bouquet", "description": "Your most-loved arrangement."},
        {"slot": 4, "type": "photo", "title": "Happy Customer", "description": "Customer leaving with flowers."},
    ], "headlines": ["Fresh flowers, delivered today", "Say it with a bouquet", "Your local florist since day one"]},
    {"id": "petshop", "name": "Pet Shop", "icon": "PawPrint", "category": "Retail", "scripts": [
        {"slot": 1, "type": "photo", "title": "Storefront", "description": "Friendly shop front."},
        {"slot": 2, "type": "video", "title": "Pet Interaction", "description": "Staff playing with a pet."},
        {"slot": 3, "type": "photo", "title": "Product Wall", "description": "Wide shot of food/toys aisle."},
        {"slot": 4, "type": "photo", "title": "Cute Pet Hero", "description": "Adorable pet photo to stop the scroll."},
    ], "headlines": ["Everything your pet needs", "Local. Friendly. Pet-loving.", "Stop in this weekend"]},
    {"id": "tutor", "name": "Tutor / Education", "icon": "GraduationCap", "category": "Professional", "scripts": [
        {"slot": 1, "type": "photo", "title": "Study Space", "description": "Bright study area where lessons happen."},
        {"slot": 2, "type": "video", "title": "Tutor Intro", "description": "10s intro about your method."},
        {"slot": 3, "type": "photo", "title": "Materials", "description": "Books, whiteboard, neat desk."},
        {"slot": 4, "type": "photo", "title": "Student Success", "description": "Happy student with results."},
    ], "headlines": ["Better grades, real progress", "First lesson free", "Tutoring that actually works"]},
    {"id": "barber", "name": "Barber Shop", "icon": "Scissors", "category": "Beauty", "scripts": [
        {"slot": 1, "type": "video", "title": "Shop Vibe", "description": "Pan of your old-school shop."},
        {"slot": 2, "type": "video", "title": "Fade in Progress", "description": "Quick clip of a sharp fade."},
        {"slot": 3, "type": "photo", "title": "Finished Cut", "description": "Client showing off the result."},
        {"slot": 4, "type": "photo", "title": "Barber Portrait", "description": "Your master barber, ready."},
    ], "headlines": ["Sharp cuts. Walk-ins welcome.", "Your weekly fade — booked online", "Old-school. Done right."]},
    {"id": "tailor", "name": "Tailor & Alterations", "icon": "Needle", "category": "Retail", "scripts": [
        {"slot": 1, "type": "photo", "title": "Studio", "description": "Your workspace with sewing machines and fabrics."},
        {"slot": 2, "type": "video", "title": "Hands at Work", "description": "Close-up of stitching or pinning."},
        {"slot": 3, "type": "photo", "title": "Finished Piece", "description": "Beautiful tailored garment hanging."},
        {"slot": 4, "type": "photo", "title": "Fitting", "description": "A client during a fitting."},
    ], "headlines": ["Made to fit. Made by hand.", "Alterations done in 48 hours", "Tailored locally for you"]},
    {"id": "spa", "name": "Spa & Wellness", "icon": "Sparkle", "category": "Beauty", "scripts": [
        {"slot": 1, "type": "video", "title": "Calm Ambience", "description": "Slow pan of your treatment rooms."},
        {"slot": 2, "type": "photo", "title": "Treatment Table", "description": "Spa bed with candles and oils."},
        {"slot": 3, "type": "photo", "title": "Reception", "description": "Welcoming reception area."},
        {"slot": 4, "type": "video", "title": "Therapist Hands", "description": "Hands at work during a massage."},
    ], "headlines": ["Switch off. Reset.", "Your local escape", "Self-care booked in 2 minutes"]},
    {"id": "photographer", "name": "Photographer", "icon": "Camera", "category": "Professional", "scripts": [
        {"slot": 1, "type": "photo", "title": "Hero Portrait", "description": "Your strongest portfolio image."},
        {"slot": 2, "type": "video", "title": "Behind The Scenes", "description": "Quick BTS shot from a session."},
        {"slot": 3, "type": "photo", "title": "Studio Setup", "description": "Your studio with lights and backdrops."},
        {"slot": 4, "type": "photo", "title": "Happy Client", "description": "Client during a session, smiling."},
    ], "headlines": ["Sessions that look real", "Book your shoot today", "Local photographer, big results"]},
    {"id": "cleaning", "name": "Cleaning Services", "icon": "Broom", "category": "Services", "scripts": [
        {"slot": 1, "type": "photo", "title": "Before / After", "description": "Side-by-side of a transformed room."},
        {"slot": 2, "type": "video", "title": "Team in Action", "description": "Quick clip of staff cleaning fast and thorough."},
        {"slot": 3, "type": "photo", "title": "Spotless Room", "description": "Final result — sparkling clean."},
        {"slot": 4, "type": "photo", "title": "Smiling Team", "description": "Uniformed team, friendly smiles."},
    ], "headlines": ["A spotless home, every time", "Trusted cleaners in your area", "Book in under a minute"]},
    {"id": "electrician", "name": "Electrician", "icon": "Lightning", "category": "Services", "scripts": [
        {"slot": 1, "type": "photo", "title": "Van & Logo", "description": "Branded van or tools — visible identity."},
        {"slot": 2, "type": "video", "title": "On The Job", "description": "Short clip of safe, clean install work."},
        {"slot": 3, "type": "photo", "title": "Tidy Install", "description": "Finished panel, clean work."},
        {"slot": 4, "type": "photo", "title": "Happy Client", "description": "Customer in front of the new install."},
    ], "headlines": ["Reliable electrician, same-day service", "Safe wiring. Clean work.", "Call your local pro"]},
    {"id": "plumber", "name": "Plumber", "icon": "Wrench", "category": "Services", "scripts": [
        {"slot": 1, "type": "photo", "title": "Service Van", "description": "Branded van — local presence."},
        {"slot": 2, "type": "video", "title": "Quick Fix", "description": "Pipe repair or leak fix in action."},
        {"slot": 3, "type": "photo", "title": "Tools", "description": "Clean tools laid out professionally."},
        {"slot": 4, "type": "photo", "title": "Happy Customer", "description": "Family relieved after the fix."},
    ], "headlines": ["Emergency plumber, fast response", "No leaks. No surprises.", "Your local plumber on call"]},
    {"id": "vet", "name": "Veterinary Clinic", "icon": "PawPrint", "category": "Health", "scripts": [
        {"slot": 1, "type": "video", "title": "Clinic Tour", "description": "Quick walkthrough of your bright clean clinic."},
        {"slot": 2, "type": "photo", "title": "Doctor With Pet", "description": "Vet caring for an animal patient."},
        {"slot": 3, "type": "photo", "title": "Reception", "description": "Welcoming reception with toys/treats."},
        {"slot": 4, "type": "photo", "title": "Happy Pet", "description": "Pet leaving with a smile."},
    ], "headlines": ["Caring vets. Trusted advice.", "Book your pet's check-up", "Compassionate care, close to home"]},
    {"id": "boutique", "name": "Fashion Boutique", "icon": "TShirt", "category": "Retail", "scripts": [
        {"slot": 1, "type": "video", "title": "New Drop", "description": "Walkthrough of new arrivals."},
        {"slot": 2, "type": "photo", "title": "Outfit of the Day", "description": "Mannequin or model in this week's look."},
        {"slot": 3, "type": "photo", "title": "Storefront", "description": "Beautiful window display."},
        {"slot": 4, "type": "video", "title": "Try-On", "description": "Customer trying an outfit."},
    ], "headlines": ["This week's drop is here", "Style for your neighborhood", "Visit and try it on"]},
    {"id": "bookstore", "name": "Bookstore", "icon": "BookOpen", "category": "Retail", "scripts": [
        {"slot": 1, "type": "photo", "title": "Reading Nook", "description": "Cozy corner with chairs and books."},
        {"slot": 2, "type": "video", "title": "Staff Pick", "description": "Bookseller showing today's pick."},
        {"slot": 3, "type": "photo", "title": "Wall of Books", "description": "Wide shot of your collection."},
        {"slot": 4, "type": "photo", "title": "Event", "description": "Photo from an author event."},
    ], "headlines": ["Real books. Real recommendations.", "Visit your local bookstore", "Find your next read"]},
    {"id": "music", "name": "Music School / Studio", "icon": "MusicNote", "category": "Education", "scripts": [
        {"slot": 1, "type": "video", "title": "Lesson in Progress", "description": "Quick clip of a lesson — guitar/piano/voice."},
        {"slot": 2, "type": "photo", "title": "Teacher Portrait", "description": "Your lead teacher with their instrument."},
        {"slot": 3, "type": "photo", "title": "Studio Setup", "description": "Professional studio space."},
        {"slot": 4, "type": "video", "title": "Student Performance", "description": "Student playing — proof of progress."},
    ], "headlines": ["Learn the instrument you love", "First lesson on us", "Local music teachers, real results"]},
    {"id": "yoga", "name": "Yoga Studio", "icon": "PersonSimpleTaiChi", "category": "Health", "scripts": [
        {"slot": 1, "type": "video", "title": "Class in Flow", "description": "Slow shot of a class in session."},
        {"slot": 2, "type": "photo", "title": "Studio Space", "description": "Mats, plants, light."},
        {"slot": 3, "type": "photo", "title": "Instructor", "description": "Calm portrait of the instructor."},
        {"slot": 4, "type": "video", "title": "After Class Smile", "description": "Students chatting, glowing post-class."},
    ], "headlines": ["First class free", "Yoga that fits your week", "Your local studio, a few blocks away"]},
    {"id": "consultant", "name": "Business Consultant", "icon": "ChartLineUp", "category": "Professional", "scripts": [
        {"slot": 1, "type": "photo", "title": "Office Setup", "description": "Modern office, charts, laptop."},
        {"slot": 2, "type": "video", "title": "Quick Pitch", "description": "10s explaining what you solve."},
        {"slot": 3, "type": "photo", "title": "Meeting", "description": "Working with a client."},
        {"slot": 4, "type": "photo", "title": "Results Chart", "description": "Visualization of a client win."},
    ], "headlines": ["Grow your business with a local expert", "First consultation, no obligation", "Real strategy. Real growth."]},
    {"id": "other", "name": "Other Local Business", "icon": "Storefront", "category": "Other", "scripts": [
        {"slot": 1, "type": "photo", "title": "Storefront", "description": "Wide exterior shot — the front your customers actually see."},
        {"slot": 2, "type": "video", "title": "Best Service Moment", "description": "10–15s of you doing what you do best."},
        {"slot": 3, "type": "photo", "title": "Inside Vibe", "description": "Interior, bright and welcoming."},
        {"slot": 4, "type": "photo", "title": "You / Your Team", "description": "A friendly portrait — people trust faces."},
    ], "headlines": ["Local. Trusted. Open today.", "Discover us this week", "The neighborhood favorite"]},
]


CONTENT_PACKS = [
    {"id": "starter", "name": "Starter", "price": 199.00, "currency": "eur", "description": "1 ad set, 4 creatives, basic targeting", "features": ["1 campaign", "4 creatives", "Local geofence", "Niche-tested copy"]},
    {"id": "gold", "name": "Gold", "price": 399.00, "currency": "eur", "description": "2 ad sets, 8 creatives, A/B testing", "features": ["2 campaigns", "8 creatives", "A/B testing", "Custom audiences"]},
    {"id": "premium", "name": "Premium", "price": 699.00, "currency": "eur", "description": "Full creative suite + retargeting + insights", "features": ["Unlimited campaigns", "12+ creatives", "Retargeting", "Priority support"]},
]

MANAGEMENT_PLANS = [
    {"id": "basic", "name": "Basic Presence", "price": 19.00, "currency": "eur", "reach": "200–1.5k/mo", "adjustments": 1, "features": ["Local reach", "1 monthly adjustment", "Extra change: €5", "Basic insights"]},
    {"id": "growth", "name": "Local Growth", "price": 49.00, "currency": "eur", "reach": "1.5k–3k/mo", "adjustments": 1, "features": ["Expanded radius", "1 monthly adjustment", "Extra change: €5", "Weekly insights"]},
    {"id": "boost", "name": "Boosted Reach", "price": 79.00, "currency": "eur", "reach": "3k–10k/mo", "adjustments": 1, "features": ["Multi-zone targeting", "1 monthly adjustment", "Extra change: €5", "A/B creatives"]},
    {"id": "ultimate", "name": "Ultimate Scale", "price": 119.00, "currency": "eur", "reach": "10k+/mo", "adjustments": 1, "features": ["Max reach", "1 monthly adjustment", "Extra change: €5", "Dedicated support"]},
]


# ---- Niche translations (id-stable; only display strings) ----
CATEGORY_TRANSLATIONS = {
    "Automotive": {"pt": "Automóvel", "it": "Automotive", "es": "Automotriz", "fr": "Automobile"},
    "Beauty":     {"pt": "Beleza", "it": "Bellezza", "es": "Belleza", "fr": "Beauté"},
    "Food & Drink": {"pt": "Comida & Bebida", "it": "Cibo e Bevande", "es": "Comida y Bebida", "fr": "Restauration"},
    "Health":     {"pt": "Saúde", "it": "Salute", "es": "Salud", "fr": "Santé"},
    "Professional": {"pt": "Profissional", "it": "Professionale", "es": "Profesional", "fr": "Professionnel"},
    "Retail":     {"pt": "Retalho", "it": "Retail", "es": "Comercio", "fr": "Commerce"},
    "Services":   {"pt": "Serviços", "it": "Servizi", "es": "Servicios", "fr": "Services"},
    "Education":  {"pt": "Educação", "it": "Educazione", "es": "Educación", "fr": "Éducation"},
    "Other":      {"pt": "Outro", "it": "Altro", "es": "Otro", "fr": "Autre"},
}

NICHE_NAME_TRANSLATIONS = {
    "mechanic":     {"pt": "Mecânico Auto", "it": "Meccanico Auto", "es": "Mecánico", "fr": "Mécanicien Auto"},
    "hairdresser":  {"pt": "Cabeleireiro", "it": "Parrucchiere", "es": "Peluquero", "fr": "Coiffeur"},
    "restaurant":   {"pt": "Restaurante", "it": "Ristorante", "es": "Restaurante", "fr": "Restaurant"},
    "pharmacy":     {"pt": "Farmácia", "it": "Farmacia", "es": "Farmacia", "fr": "Pharmacie"},
    "bakery":       {"pt": "Padaria", "it": "Panetteria", "es": "Panadería", "fr": "Boulangerie"},
    "gym":          {"pt": "Ginásio", "it": "Palestra", "es": "Gimnasio", "fr": "Salle de sport"},
    "dentist":      {"pt": "Clínica Dentária", "it": "Studio Dentistico", "es": "Clínica Dental", "fr": "Cabinet Dentaire"},
    "lawyer":       {"pt": "Escritório de Advocacia", "it": "Studio Legale", "es": "Bufete de Abogados", "fr": "Cabinet d'Avocats"},
    "realestate":   {"pt": "Imobiliária", "it": "Agenzia Immobiliare", "es": "Inmobiliaria", "fr": "Agence Immobilière"},
    "cafe":         {"pt": "Café", "it": "Caffetteria", "es": "Cafetería", "fr": "Café"},
    "florist":      {"pt": "Florista", "it": "Fioraio", "es": "Floristería", "fr": "Fleuriste"},
    "petshop":      {"pt": "Loja de Animais", "it": "Negozio di Animali", "es": "Tienda de Mascotas", "fr": "Animalerie"},
    "tutor":        {"pt": "Explicador / Educação", "it": "Tutor / Istruzione", "es": "Tutor / Educación", "fr": "Tuteur / Éducation"},
    "barber":       {"pt": "Barbearia", "it": "Barbiere", "es": "Barbería", "fr": "Barbier"},
    "tailor":       {"pt": "Alfaiate", "it": "Sartoria", "es": "Sastrería", "fr": "Couturier"},
    "spa":          {"pt": "Spa & Bem-estar", "it": "Spa & Benessere", "es": "Spa y Bienestar", "fr": "Spa & Bien-être"},
    "photographer": {"pt": "Fotógrafo", "it": "Fotografo", "es": "Fotógrafo", "fr": "Photographe"},
    "cleaning":     {"pt": "Serviços de Limpeza", "it": "Servizi di Pulizia", "es": "Servicios de Limpieza", "fr": "Services de Nettoyage"},
    "electrician":  {"pt": "Eletricista", "it": "Elettricista", "es": "Electricista", "fr": "Électricien"},
    "plumber":      {"pt": "Canalizador", "it": "Idraulico", "es": "Fontanero", "fr": "Plombier"},
    "vet":          {"pt": "Clínica Veterinária", "it": "Clinica Veterinaria", "es": "Clínica Veterinaria", "fr": "Clinique Vétérinaire"},
    "boutique":     {"pt": "Boutique de Moda", "it": "Boutique di Moda", "es": "Boutique de Moda", "fr": "Boutique de Mode"},
    "bookstore":    {"pt": "Livraria", "it": "Libreria", "es": "Librería", "fr": "Librairie"},
    "music":        {"pt": "Escola / Estúdio de Música", "it": "Scuola / Studio Musicale", "es": "Escuela / Estudio Musical", "fr": "École / Studio de Musique"},
    "yoga":         {"pt": "Estúdio de Yoga", "it": "Studio Yoga", "es": "Estudio de Yoga", "fr": "Studio de Yoga"},
    "consultant":   {"pt": "Consultor de Negócios", "it": "Consulente Aziendale", "es": "Consultor Empresarial", "fr": "Consultant en Affaires"},
    "other":        {"pt": "Outro / Personalizado", "it": "Altro / Personalizzato", "es": "Otro / Personalizado", "fr": "Autre / Personnalisé"},
}

NICHE_HEADLINE_TRANSLATIONS = {
    "mechanic": {
        "pt": ["Confiança e qualidade para o seu carro", "O seu mecânico — marcado em 60 segundos", "Diagnóstico honesto. Preços reais."],
        "it": ["Fiducia e qualità per la tua auto", "Il tuo meccanico — prenotato in 60 secondi", "Diagnosi onesta. Prezzi reali."],
        "es": ["Confianza y calidad para tu coche", "Tu mecánico — reservado en 60 segundos", "Diagnóstico honesto. Precios reales."],
        "fr": ["Confiance et qualité pour votre voiture", "Votre mécano — pris en 60 secondes", "Diagnostic honnête. Vrais prix."],
    },
    "hairdresser": {
        "pt": ["O seu novo visual começa aqui", "Marque o seu corte hoje", "Estilo que vira cabeças"],
        "it": ["Il tuo nuovo look inizia qui", "Prenota il tuo taglio oggi", "Uno stile che fa girare la testa"],
        "es": ["Tu nuevo look empieza aquí", "Reserva tu corte hoy", "Estilo que llama la atención"],
        "fr": ["Votre nouveau look commence ici", "Réservez votre coupe aujourd'hui", "Un style qui se remarque"],
    },
    "restaurant": {
        "pt": ["O sabor do bairro que adora", "Reserve a sua mesa esta noite", "Comida real. Sabor real."],
        "it": ["Il sapore preferito del quartiere", "Prenota il tuo tavolo stasera", "Cibo vero. Sapore vero."],
        "es": ["El sabor favorito del barrio", "Reserva tu mesa esta noche", "Comida real. Sabor real."],
        "fr": ["La table préférée du quartier", "Réservez votre table ce soir", "Vraie cuisine. Vrais saveurs."],
    },
    "cafe": {
        "pt": ["A sua manhã começa aqui", "Café de verdade, gente de verdade", "Puxe uma cadeira"],
        "it": ["La tua mattina inizia qui", "Caffè vero, gente vera", "Accomodati"],
        "es": ["Tu mañana empieza aquí", "Café de verdad, gente de verdad", "Toma asiento"],
        "fr": ["Votre matin commence ici", "Vrai café, vraies gens", "Prenez place"],
    },
    "bakery": {
        "pt": ["Fresco todas as manhãs", "Pão verdadeiro. Ingredientes reais.", "O seu ritual diário, quentinho"],
        "it": ["Fresco ogni mattina", "Pane vero. Ingredienti veri.", "Il tuo rituale quotidiano, caldo"],
        "es": ["Recién hecho cada mañana", "Pan de verdad. Ingredientes reales.", "Tu ritual diario, calentito"],
        "fr": ["Frais chaque matin", "Vrai pain. Vrais ingrédients.", "Votre rituel quotidien, chaud"],
    },
    "pharmacy": {
        "pt": ["A sua farmácia de bairro de confiança", "Cuidados, conselhos, receitas — tudo num só sítio", "Aberta hoje. Aqui para si."],
        "it": ["La tua farmacia di fiducia", "Cura, consigli, ricette — tutto in uno", "Aperta oggi. Qui per te."],
        "es": ["Tu farmacia de confianza del barrio", "Cuidado, consejos, recetas — todo en uno", "Abierta hoy. Aquí para ti."],
        "fr": ["Votre pharmacie de quartier de confiance", "Soins, conseils, ordonnances — tout en un", "Ouverte aujourd'hui. Pour vous."],
    },
    "gym": {
        "pt": ["Comece a treinar esta semana", "Primeira sessão grátis — experimente hoje", "Mais forte. Mais perto do que pensa."],
        "it": ["Inizia ad allenarti questa settimana", "Prima sessione gratuita — provaci oggi", "Più forte. Più vicino di quanto pensi."],
        "es": ["Empieza a entrenar esta semana", "Primera sesión gratis — pruébanos hoy", "Más fuerte. Más cerca de lo que crees."],
        "fr": ["Commencez à vous entraîner cette semaine", "Première séance offerte — essayez aujourd'hui", "Plus fort. Plus proche que vous ne pensez."],
    },
    "dentist": {
        "pt": ["Um sorriso que vai adorar", "Sem dor. Moderno. Local.", "Marque a sua consulta hoje"],
        "it": ["Un sorriso che amerai", "Indolore. Moderno. Locale.", "Prenota il controllo oggi"],
        "es": ["Una sonrisa que amarás", "Sin dolor. Moderno. Local.", "Reserva tu revisión hoy"],
        "fr": ["Un sourire que vous adorerez", "Sans douleur. Moderne. Local.", "Réservez votre check-up"],
    },
    "lawyer": {
        "pt": ["Conselhos jurídicos em quem confiar", "O seu advogado local", "Primeira consulta sem compromisso"],
        "it": ["Consulenza legale di cui ti puoi fidare", "Il tuo avvocato di fiducia", "Prima consulenza senza impegno"],
        "es": ["Consejo legal en el que confiar", "Tu abogado local", "Primera consulta sin compromiso"],
        "fr": ["Des conseils juridiques fiables", "Votre avocat local", "Première consultation sans engagement"],
    },
    "realestate": {
        "pt": ["Encontre a sua casa este mês", "Venda mais rápido com um especialista local", "O especialista do seu bairro"],
        "it": ["Trova casa questo mese", "Vendi più velocemente con un esperto locale", "Lo specialista del tuo quartiere"],
        "es": ["Encuentra tu casa este mes", "Vende más rápido con un experto local", "Tu especialista del barrio"],
        "fr": ["Trouvez votre maison ce mois-ci", "Vendez plus vite avec un expert local", "Le spécialiste de votre quartier"],
    },
    "florist": {
        "pt": ["Flores frescas, entregues hoje", "Diga-o com um ramo", "A sua florista local desde sempre"],
        "it": ["Fiori freschi, consegnati oggi", "Dillo con un mazzo", "Il tuo fioraio locale di sempre"],
        "es": ["Flores frescas, entregadas hoy", "Dilo con un ramo", "Tu floristería local de siempre"],
        "fr": ["Fleurs fraîches, livrées aujourd'hui", "Dites-le avec un bouquet", "Votre fleuriste local"],
    },
    "petshop": {
        "pt": ["Tudo o que o seu animal precisa", "Local. Amigável. Apaixonado por animais.", "Visite-nos este fim de semana"],
        "it": ["Tutto ciò che serve al tuo animale", "Locale. Amichevole. Per chi ama gli animali.", "Vieni a trovarci questo weekend"],
        "es": ["Todo lo que tu mascota necesita", "Local. Cercano. Amantes de las mascotas.", "Visítanos este fin de semana"],
        "fr": ["Tout ce qu'il faut pour votre animal", "Local. Sympa. Amis des animaux.", "Venez nous voir ce week-end"],
    },
    "tutor": {
        "pt": ["Melhores notas, progresso real", "Primeira aula grátis", "Explicações que funcionam mesmo"],
        "it": ["Voti migliori, progressi reali", "Prima lezione gratis", "Lezioni che funzionano davvero"],
        "es": ["Mejores notas, progreso real", "Primera clase gratis", "Tutorías que de verdad funcionan"],
        "fr": ["De meilleures notes, des progrès concrets", "Premier cours offert", "Du soutien scolaire qui fonctionne"],
    },
    "barber": {
        "pt": ["Cortes afiados. Sem marcação obrigatória.", "O seu fade semanal — marque online", "Velha escola. Bem feito."],
        "it": ["Tagli netti. Walk-in benvenuti.", "Il tuo fade settimanale — prenota online", "Vecchia scuola. Fatto bene."],
        "es": ["Cortes afilados. Sin cita previa.", "Tu fade semanal — reserva online", "Vieja escuela. Bien hecho."],
        "fr": ["Coupes nettes. Sans rendez-vous.", "Votre fade hebdomadaire — en ligne", "Old-school. Bien fait."],
    },
    "tailor": {
        "pt": ["Feito à sua medida. Feito à mão.", "Alterações em 48 horas", "Costurado localmente para si"],
        "it": ["Su misura. Fatto a mano.", "Modifiche in 48 ore", "Cucito localmente per te"],
        "es": ["Hecho a tu medida. Hecho a mano.", "Arreglos en 48 horas", "Confeccionado localmente para ti"],
        "fr": ["Sur mesure. Fait main.", "Retouches en 48 heures", "Fait localement pour vous"],
    },
    "spa": {
        "pt": ["Desligue. Recomece.", "O seu refúgio local", "Cuide de si em 2 minutos"],
        "it": ["Spegni tutto. Resetta.", "La tua oasi locale", "Prenditi cura di te in 2 minuti"],
        "es": ["Desconecta. Resetea.", "Tu refugio local", "Cuídate en 2 minutos"],
        "fr": ["Coupez tout. Repartez.", "Votre évasion locale", "Réservez en 2 minutes"],
    },
    "photographer": {
        "pt": ["Sessões com aspeto real", "Marque a sua sessão hoje", "Fotógrafo local, grandes resultados"],
        "it": ["Sessioni che sembrano vere", "Prenota il tuo shooting oggi", "Fotografo locale, grandi risultati"],
        "es": ["Sesiones que parecen reales", "Reserva tu sesión hoy", "Fotógrafo local, gran resultado"],
        "fr": ["Des séances qui ont l'air vraies", "Réservez votre shooting aujourd'hui", "Photographe local, grand résultat"],
    },
    "cleaning": {
        "pt": ["Uma casa impecável, sempre", "Limpadores de confiança na sua zona", "Marque em menos de um minuto"],
        "it": ["Una casa impeccabile, sempre", "Pulizie di fiducia nella tua zona", "Prenota in meno di un minuto"],
        "es": ["Un hogar impecable, siempre", "Limpiadores de confianza en tu zona", "Reserva en menos de un minuto"],
        "fr": ["Une maison impeccable, toujours", "Femmes de ménage de confiance", "Réservez en moins d'une minute"],
    },
    "electrician": {
        "pt": ["Eletricista de confiança, no mesmo dia", "Instalação segura. Trabalho limpo.", "Chame o seu profissional local"],
        "it": ["Elettricista affidabile, in giornata", "Cablaggio sicuro. Lavoro pulito.", "Chiama il tuo pro locale"],
        "es": ["Electricista fiable, mismo día", "Instalación segura. Trabajo limpio.", "Llama a tu profesional local"],
        "fr": ["Électricien fiable, jour-même", "Câblage sûr. Travail propre.", "Appelez votre pro local"],
    },
    "plumber": {
        "pt": ["Canalizador de emergência, resposta rápida", "Sem fugas. Sem surpresas.", "O seu canalizador local de plantão"],
        "it": ["Idraulico di emergenza, risposta rapida", "Niente perdite. Niente sorprese.", "Il tuo idraulico locale reperibile"],
        "es": ["Fontanero de emergencia, respuesta rápida", "Sin fugas. Sin sorpresas.", "Tu fontanero local de guardia"],
        "fr": ["Plombier d'urgence, réponse rapide", "Pas de fuites. Pas de surprises.", "Votre plombier local de garde"],
    },
    "vet": {
        "pt": ["Veterinários atenciosos. Conselhos de confiança.", "Marque a consulta do seu animal", "Cuidado dedicado, perto de casa"],
        "it": ["Veterinari premurosi. Consigli affidabili.", "Prenota la visita per il tuo animale", "Cure dedicate, vicino casa"],
        "es": ["Veterinarios atentos. Consejos fiables.", "Reserva la revisión de tu mascota", "Cuidado cercano, de confianza"],
        "fr": ["Vétos attentionnés. Conseils fiables.", "Réservez le check-up de votre animal", "Soins de proximité, de confiance"],
    },
    "boutique": {
        "pt": ["A coleção desta semana já chegou", "Estilo para o seu bairro", "Visite e prove"],
        "it": ["La collezione della settimana è arrivata", "Stile per il tuo quartiere", "Vieni a provare"],
        "es": ["La colección de esta semana ya está", "Estilo para tu barrio", "Pásate y pruébalo"],
        "fr": ["La collection de la semaine est là", "Du style pour votre quartier", "Venez l'essayer"],
    },
    "bookstore": {
        "pt": ["Livros reais. Recomendações reais.", "Visite a sua livraria local", "Encontre a sua próxima leitura"],
        "it": ["Libri veri. Consigli veri.", "Visita la tua libreria locale", "Trova la tua prossima lettura"],
        "es": ["Libros reales. Recomendaciones reales.", "Visita tu librería local", "Encuentra tu próxima lectura"],
        "fr": ["Vrais livres. Vraies recommandations.", "Visitez votre librairie locale", "Trouvez votre prochaine lecture"],
    },
    "music": {
        "pt": ["Aprenda o instrumento que adora", "A primeira aula é por nossa conta", "Professores locais, resultados reais"],
        "it": ["Impara lo strumento che ami", "La prima lezione la offriamo noi", "Insegnanti locali, risultati veri"],
        "es": ["Aprende el instrumento que amas", "La primera clase la invitamos nosotros", "Profesores locales, resultados reales"],
        "fr": ["Apprenez l'instrument que vous aimez", "Le premier cours est offert", "Des profs locaux, de vrais résultats"],
    },
    "yoga": {
        "pt": ["Primeira aula grátis", "Yoga que cabe na sua semana", "O seu estúdio local, mesmo aqui ao lado"],
        "it": ["Prima lezione gratis", "Yoga che si adatta alla tua settimana", "Il tuo studio locale, a pochi passi"],
        "es": ["Primera clase gratis", "Yoga que cabe en tu semana", "Tu estudio local, a unas calles"],
        "fr": ["Premier cours offert", "Du yoga qui s'adapte à votre semaine", "Votre studio local, à deux pas"],
    },
    "consultant": {
        "pt": ["Faça crescer o seu negócio com um especialista local", "Primeira consulta sem compromisso", "Estratégia real. Crescimento real."],
        "it": ["Fai crescere il tuo business con un esperto locale", "Prima consulenza senza impegno", "Strategia reale. Crescita reale."],
        "es": ["Haz crecer tu negocio con un experto local", "Primera consulta sin compromiso", "Estrategia real. Crecimiento real."],
        "fr": ["Développez votre entreprise avec un expert local", "Première consultation sans engagement", "Vraie stratégie. Vraie croissance."],
    },
    "other": {
        "pt": ["Local. De confiança. Aberto hoje.", "Descubra-nos esta semana", "O favorito do bairro"],
        "it": ["Locale. Affidabile. Aperto oggi.", "Scoprici questa settimana", "Il preferito del quartiere"],
        "es": ["Local. De confianza. Abierto hoy.", "Descúbrenos esta semana", "El favorito del barrio"],
        "fr": ["Local. De confiance. Ouvert aujourd'hui.", "Découvrez-nous cette semaine", "Le préféré du quartier"],
    },
}


def localized_niches(lang: str = "en"):
    """Return NICHE_TEMPLATES with name/category/headlines localized to `lang`. Falls back to EN."""
    if not lang or lang == "en":
        return NICHE_TEMPLATES
    out = []
    for n in NICHE_TEMPLATES:
        copy = dict(n)
        copy["name"] = NICHE_NAME_TRANSLATIONS.get(n["id"], {}).get(lang, n["name"])
        copy["category"] = CATEGORY_TRANSLATIONS.get(n["category"], {}).get(lang, n["category"])
        copy["headlines"] = NICHE_HEADLINE_TRANSLATIONS.get(n["id"], {}).get(lang, n["headlines"])
        out.append(copy)
    return out
