{% extends 'revervation/base.twig' %}

{% block title %}{{ 'rgpd.seo.title'|trans }}{% endblock %}
{% block description %}{{ 'rgpd.seo.description'|trans }}{% endblock %}

{% block breadcrumb_json %}
    ,{
    "@type": "ListItem",
    "position": 1,
    "name": "{{ 'rgpd.breadcrumb'|trans }}",
    "item": "{{ url('reservation_rgpd') }}"
    }
{% endblock %}

{% block body %}
    <div class="min-h-screen bg-gray-50 font-sans antialiased pb-20">

        {# --- HEADER DYNAMIQUE --- #}
        <div class="max-w-6xl mx-auto pt-16 pb-12 px-4">
            <div class="flex flex-col md:flex-row items-end justify-between gap-6 border-b border-slate-200 pb-8">
                <div>
                    <h1 class="text-4xl md:text-6xl font-black text-slate-900 uppercase tracking-tighter italic leading-none">
                        {{ 'rgpd.header.title'|trans }}
                    </h1>
                    <p class="mt-4 text-slate-500 font-medium italic">{{ 'rgpd.header.subtitle'|trans }}</p>
                </div>
                <div class="text-right">
                    <p class="text-[10px] font-black text-slate-400 uppercase tracking-[0.3em] mb-1">{{ 'rgpd.header.update_label'|trans }}</p>
                    <p class="text-sm font-bold text-slate-900 italic">{{ 'rgpd.header.update_date'|trans }}</p>
                </div>
            </div>
        </div>

        {# --- GRILLE BENTO PRINCIPALE --- #}
        <div class="max-w-6xl mx-auto px-4">
            <div class="grid grid-cols-1 md:grid-cols-12 gap-4">

                {# 1. Introduction #}
                <div class="md:col-span-8 bg-white p-8 rounded-[2.5rem] border border-slate-100 shadow-sm flex flex-col justify-center">
                    <span class="text-[10px] font-black text-indigo-500 uppercase tracking-widest mb-4">{{ 'rgpd.bento.intro.badge'|trans }}</span>
                    <p class="text-base md:text-lg text-slate-700 leading-relaxed italic">
                        {{ 'rgpd.bento.intro.content'|trans|raw }}
                    </p>
                </div>

                {# 2. Encryption #}
                <div class="md:col-span-4 bg-slate-900 p-8 rounded-[2.5rem] shadow-xl flex flex-col items-center justify-center text-center group relative overflow-hidden">
                    <div class="absolute top-0 left-0 w-full h-1 bg-gradient-to-r from-amber-400 to-indigo-500"></div>
                    <div class="w-16 h-16 bg-white/10 rounded-2xl flex items-center justify-center mb-4 group-hover:scale-110 transition-transform">
                        <span class="text-3xl">🔑</span>
                    </div>
                    <h3 class="text-white font-black uppercase text-xs tracking-widest mb-2">{{ 'rgpd.bento.security.title'|trans }}</h3>
                    <p class="text-[10px] text-slate-400 italic leading-relaxed">{{ 'rgpd.bento.security.desc'|trans }}</p>
                </div>

                {# 3. Catégories #}
                <div class="md:col-span-12 grid grid-cols-1 md:grid-cols-3 gap-4">
                    <div class="bg-white p-6 rounded-[2rem] border border-slate-100 shadow-sm">
                        <p class="text-amber-600 text-xl mb-2">✍️</p>
                        <h4 class="text-xs font-black uppercase mb-2">{{ 'rgpd.bento.cat1.title'|trans }}</h4>
                        <p class="text-[11px] text-slate-500 italic">{{ 'rgpd.bento.cat1.desc'|trans }}</p>
                    </div>
                    <div class="bg-white p-6 rounded-[2rem] border border-slate-100 shadow-sm">
                        <p class="text-indigo-600 text-xl mb-2">🤖</p>
                        <h4 class="text-xs font-black uppercase mb-2">{{ 'rgpd.bento.cat2.title'|trans }}</h4>
                        <p class="text-[11px] text-slate-500 italic">{{ 'rgpd.bento.cat2.desc'|trans }}</p>
                    </div>
                    <div class="bg-white p-6 rounded-[2rem] border border-slate-100 shadow-sm">
                        <p class="text-emerald-600 text-xl mb-2">🌐</p>
                        <h4 class="text-xs font-black uppercase mb-2">{{ 'rgpd.bento.cat3.title'|trans }}</h4>
                        <p class="text-[11px] text-slate-500 italic">{{ 'rgpd.bento.cat3.desc'|trans }}</p>
                    </div>
                </div>

                {# 4. Pourquoi #}
                <div class="md:col-span-7 bg-indigo-50 p-8 rounded-[2.5rem] border border-indigo-100">
                    <h3 class="text-xs font-black text-indigo-900 uppercase tracking-widest mb-6 italic">{{ 'rgpd.bento.purpose.title'|trans }}</h3>
                    <div class="grid grid-cols-1 sm:grid-cols-2 gap-y-4 gap-x-8">
                        {% for i in 1..4 %}
                            <div class="flex items-center gap-3">
                                <span class="w-1.5 h-1.5 bg-indigo-400 rounded-full"></span>
                                <p class="text-[11px] font-bold text-indigo-900 uppercase italic">{{ ('rgpd.bento.purpose.item' ~ i)|trans }}</p>
                            </div>
                        {% endfor %}
                    </div>
                </div>

                {# 5. Droits #}
                <div class="md:col-span-5 bg-amber-50 p-8 rounded-[2.5rem] border border-amber-100 flex flex-col justify-between">
                    <div>
                        <h3 class="text-xs font-black text-amber-900 uppercase tracking-widest mb-4 italic">{{ 'rgpd.bento.rights.title'|trans }}</h3>
                        <p class="text-[11px] text-amber-800 italic leading-relaxed">{{ 'rgpd.bento.rights.desc'|trans }}</p>
                    </div>
                    <div class="mt-4">
                        <p class="text-[9px] font-black text-amber-900/50 uppercase mb-2">{{ 'rgpd.bento.rights.contact_label'|trans }}</p>
                        <p class="text-sm font-black text-amber-900 italic">{{ 'contact.email'|trans }}</p>
                    </div>
                </div>

                {# 6. Partage #}
                <div class="md:col-span-6 bg-white p-8 rounded-[2.5rem] border border-slate-100 shadow-sm">
                    <h3 class="text-xs font-black text-slate-900 uppercase tracking-widest mb-4 italic">{{ 'rgpd.bento.sharing.title'|trans }}</h3>
                    <p class="text-[11px] text-slate-500 italic leading-relaxed mb-4">{{ 'rgpd.bento.sharing.desc'|trans }}</p>
                    <div class="flex gap-2">
                        <span class="px-3 py-1 bg-slate-100 rounded-full text-[9px] font-black uppercase text-slate-500">{{ 'rgpd.tags.logistics'|trans }}</span>
                        <span class="px-3 py-1 bg-slate-100 rounded-full text-[9px] font-black uppercase text-slate-500">{{ 'rgpd.tags.payment'|trans }}</span>
                        <span class="px-3 py-1 bg-slate-100 rounded-full text-[9px] font-black uppercase text-slate-500">{{ 'rgpd.tags.cloud'|trans }}</span>
                    </div>
                </div>

                {# 7. Expertise Technique #}
                <div class="md:col-span-6 bg-slate-50 p-8 rounded-[2.5rem] border border-slate-200 flex flex-col justify-between">
                    <div>
                        <h3 class="text-[10px] font-black text-slate-400 uppercase tracking-[0.2em] mb-4 italic">{{ 'rgpd.bento.tech.badge'|trans }}</h3>
                        <div class="space-y-3">
                            <div class="flex justify-between items-center text-[11px]">
                                <span class="font-bold text-slate-700 italic">{{ 'rgpd.bento.tech.infra_label'|trans }}</span>
                                <span class="text-slate-500 italic">{{ 'rgpd.bento.tech.infra_val'|trans }}</span>
                            </div>
                            <div class="flex justify-between items-center text-[11px]">
                                <span class="font-bold text-slate-700 italic">{{ 'rgpd.bento.tech.ssl_label'|trans }}</span>
                                <span class="text-slate-500 italic">{{ 'rgpd.bento.tech.ssl_val'|trans }}</span>
                            </div>
                            <div class="flex justify-between items-center text-[11px]">
                                <span class="font-bold text-slate-700 italic">{{ 'rgpd.bento.tech.dpo_label'|trans }}</span>
                                <span class="text-slate-500 italic">{{ 'rgpd.bento.tech.dpo_val'|trans }}</span>
                            </div>
                        </div>
                    </div>
                    <div class="mt-6 pt-4 border-t border-slate-200">
                        <p class="text-[9px] font-black text-indigo-500 uppercase italic">{{ 'rgpd.bento.tech.contact'|trans }}</p>
                    </div>
                </div>

                {# 8, 9, 10 - Footer Bento #}
                <div class="md:col-span-4 bg-white p-8 rounded-[2.5rem] border border-slate-100 shadow-sm">
                    <h3 class="text-xs font-black text-slate-900 uppercase tracking-widest italic mb-2">{{ 'rgpd.bento.cookies.title'|trans }}</h3>
                    <p class="text-[10px] text-slate-500 italic leading-relaxed">{{ 'rgpd.bento.cookies.desc'|trans }}</p>
                </div>

                <div class="md:col-span-4 bg-white p-8 rounded-[2.5rem] border border-slate-100 shadow-sm">
                    <h3 class="text-xs font-black text-slate-900 uppercase tracking-widest italic mb-2">{{ 'rgpd.bento.retention.title'|trans }}</h3>
                    <p class="text-[10px] text-slate-500 italic leading-relaxed">{{ 'rgpd.bento.retention.desc'|trans|raw }}</p>
                </div>

                <div class="md:col-span-4 bg-indigo-600 p-8 rounded-[2.5rem] text-white flex flex-col justify-between">
                    <h3 class="text-xs font-black uppercase tracking-widest italic">{{ 'rgpd.bento.office.title'|trans }}</h3>
                    <address class="not-italic">
                        <p class="text-[11px] font-bold">{{ 'company.name'|trans }}</p>
                        <p class="text-[11px] italic text-indigo-100">{{ 'company.address'|trans }}</p>
                        <p class="text-[11px] italic text-indigo-100">{{ 'company.zip_city'|trans }}</p>
                    </address>
                    <p class="text-[11px] font-black uppercase mt-2 tracking-widest">{{ 'contact.email_alt'|trans }}</p>
                </div>

            </div>
        </div>

        {# --- FOOTER LEGAL --- #}
        <div class="max-w-6xl mx-auto px-4 mt-16 flex flex-col md:flex-row justify-between items-center gap-4">
            <p class="text-[9px] font-black text-slate-400 uppercase tracking-[0.5em]">{{ 'rgpd.footer.copy'|trans }}</p>
            <div class="flex gap-6">
                <a href="{{ path('reservation') }}" class="text-[10px] font-black text-slate-900 hover:text-indigo-600 uppercase tracking-widest transition-colors flex items-center gap-2">
                    🏠 {{ 'nav.home'|trans }}
                </a>
            </div>
        </div>
    </div>
{% endblock %}
