/* ============================================
   CLASSES UTILITAIRES - FAIRE-PARTS DE MARIAGE
   ============================================ */

/* ============================================
   TYPOGRAPHIE
   ============================================ */

/* Polices */
.font-title {
    font-family: var(--title-font);
}

.font-text {
    font-family: var(--text-font);
}

/* Tailles de texte */
.text-xs {
    font-size: 0.75rem;
    /* 12px */
    line-height: 1rem;
}

.text-sm {
    font-size: 0.875rem;
    /* 14px */
    line-height: 1.25rem;
}

.text-base {
    font-size: 1rem;
    /* 16px */
    line-height: 1.5rem;
}

.text-lg {
    font-size: 1.125rem;
    /* 18px */
    line-height: 1.75rem;
}

.text-xl {
    font-size: 1.25rem;
    /* 20px */
    line-height: 1.75rem;
}

.text-2xl {
    font-size: 1.5rem;
    /* 24px */
    line-height: 2rem;
}

.text-3xl {
    font-size: 1.875rem;
    /* 30px */
    line-height: 2.25rem;
}

.text-4xl {
    font-size: 2.25rem;
    /* 36px */
    line-height: 2.5rem;
}

.text-5xl {
    font-size: 3rem;
    /* 48px */
    line-height: 1;
}

.text-6xl {
    font-size: 3.75rem;
    /* 60px */
    line-height: 1;
}

/* Poids de police */
.font-light {
    font-weight: 300;
}

.font-normal {
    font-weight: 400;
}

.font-medium {
    font-weight: 500;
}

.font-semibold {
    font-weight: 600;
}

.font-bold {
    font-weight: 700;
}

/* Styles de texte */
.italic {
    font-style: italic;
}

.uppercase {
    text-transform: uppercase;
}

.lowercase {
    text-transform: lowercase;
}

.capitalize {
    text-transform: capitalize;
}

/* Alignement */
.text-left {
    text-align: left;
}

.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.text-justify {
    text-align: justify;
}

/* Décoration */
.underline {
    text-decoration: underline;
}

.no-underline {
    text-decoration: none;
}

/* ============================================
   COULEURS - TEXTE
   ============================================ */

.text-primary {
    color: var(--primary-color);
}

.text-secondary {
    color: var(--secondary-color);
}

.text-tertiary {
    color: var(--tertiary-color);
}

.text-white {
    color: #ffffff;
}

.text-black {
    color: #000000;
}

.text-gray-100 {
    color: #f3f4f6;
}

.text-gray-200 {
    color: #e5e7eb;
}

.text-gray-300 {
    color: #d1d5db;
}

.text-gray-400 {
    color: #9ca3af;
}

.text-gray-500 {
    color: #6b7280;
}

.text-gray-600 {
    color: #4b5563;
}

.text-gray-700 {
    color: #374151;
}

.text-gray-800 {
    color: #1f2937;
}

.text-gray-900 {
    color: #111827;
}

/* ============================================
   COULEURS - ARRIÈRE-PLAN
   ============================================ */

.bg-primary {
    background-color: var(--primary-color);
}

.bg-secondary {
    background-color: var(--secondary-color);
}

.bg-tertiary {
    background-color: var(--tertiary-color);
}

.bg-white {
    background-color: #ffffff;
}

.bg-black {
    background-color: #000000;
}

.bg-transparent {
    background-color: transparent;
}

.bg-gray-50 {
    background-color: #f9fafb;
}

.bg-gray-100 {
    background-color: #f3f4f6;
}

.bg-gray-200 {
    background-color: #e5e7eb;
}

.bg-gray-300 {
    background-color: #d1d5db;
}

.bg-gray-400 {
    background-color: #9ca3af;
}

.bg-gray-500 {
    background-color: #6b7280;
}

.bg-gray-600 {
    background-color: #4b5563;
}

.bg-gray-700 {
    background-color: #374151;
}

.bg-gray-800 {
    background-color: #1f2937;
}

.bg-gray-900 {
    background-color: #111827;
}

/* ============================================
   ESPACEMENTS - MARGES
   ============================================ */

.m-0 {
    margin: 0;
}

.m-1 {
    margin: 0.25rem;
}

/* 4px */
.m-2 {
    margin: 0.5rem;
}

/* 8px */
.m-3 {
    margin: 0.75rem;
}

/* 12px */
.m-4 {
    margin: 1rem;
}

/* 16px */
.m-5 {
    margin: 1.25rem;
}

/* 20px */
.m-6 {
    margin: 1.5rem;
}

/* 24px */
.m-8 {
    margin: 2rem;
}

/* 32px */
.m-10 {
    margin: 2.5rem;
}

/* 40px */
.m-12 {
    margin: 3rem;
}

/* 48px */
.m-16 {
    margin: 4rem;
}

/* 64px */
.m-20 {
    margin: 5rem;
}

/* 80px */
.m-auto {
    margin: auto;
}

/* Marges verticales */
.my-0 {
    margin-top: 0;
    margin-bottom: 0;
}

.my-1 {
    margin-top: 0.25rem;
    margin-bottom: 0.25rem;
}

.my-2 {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

.my-3 {
    margin-top: 0.75rem;
    margin-bottom: 0.75rem;
}

.my-4 {
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.my-5 {
    margin-top: 1.25rem;
    margin-bottom: 1.25rem;
}

.my-6 {
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}

.my-8 {
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.my-10 {
    margin-top: 2.5rem;
    margin-bottom: 2.5rem;
}

.my-12 {
    margin-top: 3rem;
    margin-bottom: 3rem;
}

.my-16 {
    margin-top: 4rem;
    margin-bottom: 4rem;
}

.my-20 {
    margin-top: 5rem;
    margin-bottom: 5rem;
}

.my-auto {
    margin-top: auto;
    margin-bottom: auto;
}

/* Marges horizontales */
.mx-0 {
    margin-left: 0;
    margin-right: 0;
}

.mx-1 {
    margin-left: 0.25rem;
    margin-right: 0.25rem;
}

.mx-2 {
    margin-left: 0.5rem;
    margin-right: 0.5rem;
}

.mx-3 {
    margin-left: 0.75rem;
    margin-right: 0.75rem;
}

.mx-4 {
    margin-left: 1rem;
    margin-right: 1rem;
}

.mx-5 {
    margin-left: 1.25rem;
    margin-right: 1.25rem;
}

.mx-6 {
    margin-left: 1.5rem;
    margin-right: 1.5rem;
}

.mx-8 {
    margin-left: 2rem;
    margin-right: 2rem;
}

.mx-10 {
    margin-left: 2.5rem;
    margin-right: 2.5rem;
}

.mx-12 {
    margin-left: 3rem;
    margin-right: 3rem;
}

.mx-16 {
    margin-left: 4rem;
    margin-right: 4rem;
}

.mx-20 {
    margin-left: 5rem;
    margin-right: 5rem;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

/* Marges individuelles */
.mt-0 {
    margin-top: 0;
}

.mt-1 {
    margin-top: 0.25rem;
}

.mt-2 {
    margin-top: 0.5rem;
}

.mt-3 {
    margin-top: 0.75rem;
}

.mt-4 {
    margin-top: 1rem;
}

.mt-5 {
    margin-top: 1.25rem;
}

.mt-6 {
    margin-top: 1.5rem;
}

.mt-8 {
    margin-top: 2rem;
}

.mt-10 {
    margin-top: 2.5rem;
}

.mt-12 {
    margin-top: 3rem;
}

.mt-16 {
    margin-top: 4rem;
}

.mt-20 {
    margin-top: 5rem;
}

.mt-auto {
    margin-top: auto;
}

.mb-0 {
    margin-bottom: 0;
}

.mb-1 {
    margin-bottom: 0.25rem;
}

.mb-2 {
    margin-bottom: 0.5rem;
}

.mb-3 {
    margin-bottom: 0.75rem;
}

.mb-4 {
    margin-bottom: 1rem;
}

.mb-5 {
    margin-bottom: 1.25rem;
}

.mb-6 {
    margin-bottom: 1.5rem;
}

.mb-8 {
    margin-bottom: 2rem;
}

.mb-10 {
    margin-bottom: 2.5rem;
}

.mb-12 {
    margin-bottom: 3rem;
}

.mb-16 {
    margin-bottom: 4rem;
}

.mb-20 {
    margin-bottom: 5rem;
}

.mb-auto {
    margin-bottom: auto;
}

.ml-0 {
    margin-left: 0;
}

.ml-1 {
    margin-left: 0.25rem;
}

.ml-2 {
    margin-left: 0.5rem;
}

.ml-3 {
    margin-left: 0.75rem;
}

.ml-4 {
    margin-left: 1rem;
}

.ml-5 {
    margin-left: 1.25rem;
}

.ml-6 {
    margin-left: 1.5rem;
}

.ml-8 {
    margin-left: 2rem;
}

.ml-10 {
    margin-left: 2.5rem;
}

.ml-12 {
    margin-left: 3rem;
}

.ml-16 {
    margin-left: 4rem;
}

.ml-20 {
    margin-left: 5rem;
}

.ml-auto {
    margin-left: auto;
}

.mr-0 {
    margin-right: 0;
}

.mr-1 {
    margin-right: 0.25rem;
}

.mr-2 {
    margin-right: 0.5rem;
}

.mr-3 {
    margin-right: 0.75rem;
}

.mr-4 {
    margin-right: 1rem;
}

.mr-5 {
    margin-right: 1.25rem;
}

.mr-6 {
    margin-right: 1.5rem;
}

.mr-8 {
    margin-right: 2rem;
}

.mr-10 {
    margin-right: 2.5rem;
}

.mr-12 {
    margin-right: 3rem;
}

.mr-16 {
    margin-right: 4rem;
}

.mr-20 {
    margin-right: 5rem;
}

.mr-auto {
    margin-right: auto;
}

/* ============================================
   ESPACEMENTS - PADDINGS
   ============================================ */

.p-0 {
    padding: 0;
}

.p-1 {
    padding: 0.25rem;
}

.p-2 {
    padding: 0.5rem;
}

.p-3 {
    padding: 0.75rem;
}

.p-4 {
    padding: 1rem;
}

.p-5 {
    padding: 1.25rem;
}

.p-6 {
    padding: 1.5rem;
}

.p-8 {
    padding: 2rem;
}

.p-10 {
    padding: 2.5rem;
}

.p-12 {
    padding: 3rem;
}

.p-16 {
    padding: 4rem;
}

.p-20 {
    padding: 5rem;
}

/* Paddings verticaux */
.py-0 {
    padding-top: 0;
    padding-bottom: 0;
}

.py-1 {
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
}

.py-2 {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.py-3 {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

.py-4 {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.py-5 {
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
}

.py-6 {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

.py-8 {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.py-10 {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
}

.py-12 {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.py-16 {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.py-20 {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

/* Paddings horizontaux */
.px-0 {
    padding-left: 0;
    padding-right: 0;
}

.px-1 {
    padding-left: 0.25rem;
    padding-right: 0.25rem;
}

.px-2 {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

.px-3 {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
}

.px-4 {
    padding-left: 1rem;
    padding-right: 1rem;
}

.px-5 {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
}

.px-6 {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.px-8 {
    padding-left: 2rem;
    padding-right: 2rem;
}

.px-10 {
    padding-left: 2.5rem;
    padding-right: 2.5rem;
}

.px-12 {
    padding-left: 3rem;
    padding-right: 3rem;
}

.px-16 {
    padding-left: 4rem;
    padding-right: 4rem;
}

.px-20 {
    padding-left: 5rem;
    padding-right: 5rem;
}

/* Paddings individuels */
.pt-0 {
    padding-top: 0;
}

.pt-1 {
    padding-top: 0.25rem;
}

.pt-2 {
    padding-top: 0.5rem;
}

.pt-3 {
    padding-top: 0.75rem;
}

.pt-4 {
    padding-top: 1rem;
}

.pt-5 {
    padding-top: 1.25rem;
}

.pt-6 {
    padding-top: 1.5rem;
}

.pt-8 {
    padding-top: 2rem;
}

.pt-10 {
    padding-top: 2.5rem;
}

.pt-12 {
    padding-top: 3rem;
}

.pt-16 {
    padding-top: 4rem;
}

.pt-20 {
    padding-top: 5rem;
}

.pb-0 {
    padding-bottom: 0;
}

.pb-1 {
    padding-bottom: 0.25rem;
}

.pb-2 {
    padding-bottom: 0.5rem;
}

.pb-3 {
    padding-bottom: 0.75rem;
}

.pb-4 {
    padding-bottom: 1rem;
}

.pb-5 {
    padding-bottom: 1.25rem;
}

.pb-6 {
    padding-bottom: 1.5rem;
}

.pb-8 {
    padding-bottom: 2rem;
}

.pb-10 {
    padding-bottom: 2.5rem;
}

.pb-12 {
    padding-bottom: 3rem;
}

.pb-16 {
    padding-bottom: 4rem;
}

.pb-20 {
    padding-bottom: 5rem;
}

.pl-0 {
    padding-left: 0;
}

.pl-1 {
    padding-left: 0.25rem;
}

.pl-2 {
    padding-left: 0.5rem;
}

.pl-3 {
    padding-left: 0.75rem;
}

.pl-4 {
    padding-left: 1rem;
}

.pl-5 {
    padding-left: 1.25rem;
}

.pl-6 {
    padding-left: 1.5rem;
}

.pl-8 {
    padding-left: 2rem;
}

.pl-10 {
    padding-left: 2.5rem;
}

.pl-12 {
    padding-left: 3rem;
}

.pl-16 {
    padding-left: 4rem;
}

.pl-20 {
    padding-left: 5rem;
}

.pr-0 {
    padding-right: 0;
}

.pr-1 {
    padding-right: 0.25rem;
}

.pr-2 {
    padding-right: 0.5rem;
}

.pr-3 {
    padding-right: 0.75rem;
}

.pr-4 {
    padding-right: 1rem;
}

.pr-5 {
    padding-right: 1.25rem;
}

.pr-6 {
    padding-right: 1.5rem;
}

.pr-8 {
    padding-right: 2rem;
}

.pr-10 {
    padding-right: 2.5rem;
}

.pr-12 {
    padding-right: 3rem;
}

.pr-16 {
    padding-right: 4rem;
}

.pr-20 {
    padding-right: 5rem;
}

/* ============================================
   DISPOSITION - FLEXBOX
   ============================================ */

.flex {
    display: flex;
}

.inline-flex {
    display: inline-flex;
}

.flex-row {
    flex-direction: row;
}

.flex-col {
    flex-direction: column;
}

.flex-wrap {
    flex-wrap: wrap;
}

.flex-nowrap {
    flex-wrap: nowrap;
}

.items-start {
    align-items: flex-start;
}

.items-end {
    align-items: flex-end;
}

.items-center {
    align-items: center;
}

.items-baseline {
    align-items: baseline;
}

.items-stretch {
    align-items: stretch;
}

.justify-start {
    justify-content: flex-start;
}

.justify-end {
    justify-content: flex-end;
}

.justify-center {
    justify-content: center;
}

.justify-between {
    justify-content: space-between;
}

.justify-around {
    justify-content: space-around;
}

.justify-evenly {
    justify-content: space-evenly;
}

.flex-1 {
    flex: 1 1 0%;
}

.flex-auto {
    flex: 1 1 auto;
}

.flex-none {
    flex: none;
}

.gap-1 {
    gap: 0.25rem;
}

.gap-2 {
    gap: 0.5rem;
}

.gap-3 {
    gap: 0.75rem;
}

.gap-4 {
    gap: 1rem;
}

.gap-5 {
    gap: 1.25rem;
}

.gap-6 {
    gap: 1.5rem;
}

.gap-8 {
    gap: 2rem;
}

.gap-10 {
    gap: 2.5rem;
}

.gap-12 {
    gap: 3rem;
}

/* ============================================
   DISPOSITION - GRID
   ============================================ */

.grid {
    display: grid;
}

.grid-cols-1 {
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

.grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.grid-cols-5 {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.grid-cols-6 {
    grid-template-columns: repeat(6, minmax(0, 1fr));
}

.grid-cols-12 {
    grid-template-columns: repeat(12, minmax(0, 1fr));
}

/* ============================================
   DISPOSITION - POSITIONNEMENT
   ============================================ */

.relative {
    position: relative;
}

.absolute {
    position: absolute;
}

.fixed {
    position: fixed;
}

.sticky {
    position: sticky;
}

.top-0 {
    top: 0;
}

.right-0 {
    right: 0;
}

.bottom-0 {
    bottom: 0;
}

.left-0 {
    left: 0;
}

.static {
    position: static;
}

/* ============================================
   DISPOSITION - AFFICHAGE
   ============================================ */

.block {
    display: block;
}

.inline-block {
    display: inline-block;
}

.inline {
    display: inline;
}

.hidden {
    display: none;
}

/* ============================================
   DISPOSITION - LARGEUR ET HAUTEUR
   ============================================ */

.w-full {
    width: 100%;
}

.w-auto {
    width: auto;
}

.w-1\/2 {
    width: 50%;
}

.w-1\/3 {
    width: 33.333333%;
}

.w-2\/3 {
    width: 66.666667%;
}

.w-1\/4 {
    width: 25%;
}

.w-3\/4 {
    width: 75%;
}

.w-12 {
    width: 3rem;
    /* 48px */
}

.w-4 {
    width: 1rem;
    /* 16px */
}

.w-screen {
    width: 100vw;
}

.min-w-48 {
    min-width: 12rem;
    /* 192px */
}

.min-w-64 {
    min-width: 16rem;
    /* 256px */
}

.min-w-80 {
    min-width: 20rem;
    /* 320px */
}

.h-full {
    height: 100%;
}

.h-auto {
    height: auto;
}

.h-4 {
    height: 1rem;
    /* 16px */
}

.h-12 {
    height: 3rem;
    /* 48px */
}

.h-screen {
    height: 100vh;
}

.min-h-screen {
    min-height: 100vh;
}

.min-h-20 {
    min-height: 5rem;
    /* 80px */
}

.max-w-xs {
    max-width: 20rem;
}

.max-w-sm {
    max-width: 24rem;
}

.max-w-md {
    max-width: 28rem;
}

.max-w-lg {
    max-width: 32rem;
}

.max-w-xl {
    max-width: 36rem;
}

.max-w-2xl {
    max-width: 42rem;
}

.max-w-3xl {
    max-width: 48rem;
}

.max-w-4xl {
    max-width: 56rem;
}

.max-w-5xl {
    max-width: 64rem;
}

.max-w-6xl {
    max-width: 72rem;
}

.max-w-7xl {
    max-width: 80rem;
}

.max-w-full {
    max-width: 100%;
}

/* ============================================
   BORDURES
   ============================================ */

.border {
    border-width: 1px;
}

.border-0 {
    border-width: 0;
}

.border-2 {
    border-width: 2px;
}

.border-4 {
    border-width: 4px;
}

.border-t {
    border-top-width: 1px;
}

.border-r {
    border-right-width: 1px;
}

.border-b {
    border-bottom-width: 1px;
}

.border-b-2 {
    border-bottom-width: 2px;
}

.border-l {
    border-left-width: 1px;
}

.border-primary {
    border-color: var(--primary-color);
}

.border-secondary {
    border-color: var(--secondary-color);
}

.border-tertiary {
    border-color: var(--tertiary-color);
}

.border-white {
    border-color: #ffffff;
}

.border-gray-200 {
    border-color: #e5e7eb;
}

.border-gray-300 {
    border-color: #d1d5db;
}

.border-gray-400 {
    border-color: #9ca3af;
}

.rounded-none {
    border-radius: 0;
}

.rounded-sm {
    border-radius: 0.125rem;
}

.rounded {
    border-radius: 0.25rem;
}

.rounded-md {
    border-radius: 0.375rem;
}

.rounded-lg {
    border-radius: 0.5rem;
}

.rounded-xl {
    border-radius: 0.75rem;
}

.rounded-2xl {
    border-radius: 1rem;
}

.rounded-3xl {
    border-radius: 1.5rem;
}

.rounded-full {
    border-radius: 9999px;
}

/* ============================================
   OMBRES
   ============================================ */

.shadow-sm {
    box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
}

.shadow {
    box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
}

.shadow-md {
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
}

.shadow-lg {
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

.shadow-xl {
    box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

.shadow-2xl {
    box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);
}

.shadow-none {
    box-shadow: none;
}

/* Ombre personnalisée pour le thème mariage */
.shadow-romantic {
    box-shadow: 0 4px 20px rgba(167, 51, 63, 0.15);
}

.shadow-elegant {
    box-shadow: 0 8px 30px rgba(88, 12, 31, 0.2);
}

/* ============================================
   BOUTONS ET ÉLÉMENTS INTERACTIFS
   ============================================ */

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    font-family: var(--text-font);
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
    text-decoration: none;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--secondary-color);
    color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--tertiary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(167, 51, 63, 0.3);
}

.btn-secondary {
    background-color: var(--tertiary-color);
    color: var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(88, 12, 31, 0.3);
}

.btn-outline {
    background-color: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
}

.btn-outline:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
}

.btn-ghost {
    background-color: transparent;
    color: var(--secondary-color);
}

.btn-ghost:hover {
    background-color: rgba(167, 51, 63, 0.1);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.btn-full {
    width: 100%;
}

.btn-disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

/* ============================================
   TRANSITIONS ET ANIMATIONS
   ============================================ */

.transition {
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

.transition-all {
    transition-property: all;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

.transition-colors {
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

.transition-transform {
    transition-property: transform;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

.duration-75 {
    transition-duration: 75ms;
}

.duration-100 {
    transition-duration: 100ms;
}

.duration-150 {
    transition-duration: 150ms;
}

.duration-200 {
    transition-duration: 200ms;
}

.duration-300 {
    transition-duration: 300ms;
}

.duration-500 {
    transition-duration: 500ms;
}

.duration-700 {
    transition-duration: 700ms;
}

.duration-1000 {
    transition-duration: 1000ms;
}

.ease-linear {
    transition-timing-function: linear;
}

.ease-in {
    transition-timing-function: cubic-bezier(0.4, 0, 1, 1);
}

.ease-out {
    transition-timing-function: cubic-bezier(0, 0, 0.2, 1);
}

.ease-in-out {
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.hover\:scale-105:hover {
    transform: scale(1.05);
}

.hover\:scale-110:hover {
    transform: scale(1.1);
}

.hover\:opacity-80:hover {
    opacity: 0.8;
}

.hover\:opacity-90:hover {
    opacity: 0.9;
}

/* Animation cœur battant (déjà définie dans app.css) */
.animate-heartbeat {
    animation: heartBeat 1.5s ease-in-out infinite;
}

/* ============================================
   UTILITAIRES SPÉCIFIQUES MARIAGE
   ============================================ */

/* Titre élégant pour faire-parts */
.title-elegant {
    font-family: var(--title-font);
    font-size: 3rem;
    color: var(--secondary-color);
    text-align: center;
    letter-spacing: 0.05em;
}

.title-romantic {
    font-family: var(--title-font);
    font-size: 2.5rem;
    color: var(--secondary-color);
    text-align: center;
    letter-spacing: 0.03em;
}

/* Carte de faire-part */
.card-invitation {
    background-color: var(--quaternary-color);
    border: 2px solid var(--secondary-color);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 8px 30px rgba(88, 12, 31, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-invitation:hover {
    transform: translateY(-4px);
    box-shadow: inset 0 0 0 2px var(--secondary-color);
}

/* Séparateur décoratif */
.divider-romantic {
    height: 2px;
    background: linear-gradient(to right, transparent, var(--secondary-color), transparent);
    margin: 2rem 0;
}

.divider-romantic.header-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 0;
    height: 2px;
}

.divider-elegant {
    height: 1px;
    background: linear-gradient(to right, transparent, var(--tertiary-color), transparent);
    margin: 1.5rem auto;
    display: block;
    width: 100%;
}

/* Badge/étiquette */
.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 9999px;
}

.badge-primary {
    background-color: var(--secondary-color);
    color: var(--primary-color);
}

.badge-secondary {
    background-color: var(--tertiary-color);
    color: var(--primary-color);
}

.badge-outline {
    background-color: transparent;
    color: var(--secondary-color);
    border: 1px solid var(--secondary-color);
}

/* ============================================
   FORMULAIRES
   ============================================ */

.form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    font-family: var(--text-font);
    font-size: 1rem;
    color: var(--tertiary-color);
    background-color: var(--quaternary-color);
    border: 2px solid var(--secondary-color);
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    outline: none;
}

.form-input:focus {
    border-color: var(--tertiary-color);
    box-shadow: 0 0 0 3px rgba(167, 51, 63, 0.1);
}

.form-input::placeholder {
    color: var(--gray-400);
    opacity: 0.7;
}

.form-input:disabled {
    background-color: var(--gray-100);
    cursor: not-allowed;
    opacity: 0.6;
}

/* Checkbox personnalisée */
input[type="checkbox"] {
    width: 1.25rem;
    height: 1.25rem;
    cursor: pointer;
    accent-color: var(--secondary-color);
}

input[type="checkbox"]:checked {
    accent-color: var(--tertiary-color);
}

/* Date input */
input[type="date"] {
    font-family: var(--text-font);
}

/* Alertes */
.alert {
    padding: 1rem;
    border-radius: 0.5rem;
    font-family: var(--text-font);
    font-size: 0.875rem;
}

.alert-danger {
    background-color: #fee2e2;
    border: 2px solid #fca5a5;
    color: #991b1b;
}

.alert-success {
    background-color: #d1fae5;
    border: 2px solid #86efac;
    color: #065f46;
}

.alert-info {
    background-color: #dbeafe;
    border: 2px solid #93c5fd;
    color: #1e40af;
}

.bg-red-50 {
    background-color: #fef2f2;
}

.bg-green-50 {
    background-color: #f0fdf4;
}

.border-red-200 {
    border-color: #fecaca;
}

.border-green-200 {
    border-color: #bbf7d0;
}

.text-red-700 {
    color: #b91c1c;
}

.text-green-700 {
    color: #15803d;
}

.text-yellow-700 {
    color: #92400e;
}

.text-blue-700 {
    color: #1e40af;
}

.flex-shrink-0 {
    flex-shrink: 0;
}

/* Container centré pour contenu */
.container-elegant {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.container-romantic {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Section avec espacement harmonieux */
.section-elegant {
    padding: 4rem 0;
}

.section-romantic {
    padding: 3rem 0;
}

/* Overlay pour images */
.overlay-romantic {
    position: relative;
}

.overlay-romantic::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(88, 12, 31, 0.3), rgba(167, 51, 63, 0.2));
    border-radius: inherit;
}

/* ============================================
   UTILITAIRES GÉNÉRAUX
   ============================================ */

.overflow-hidden {
    overflow: hidden;
}

.overflow-auto {
    overflow: auto;
}

.overflow-scroll {
    overflow: scroll;
}

.overflow-x-auto {
    overflow-x: auto;
}

.overflow-y-auto {
    overflow-y: auto;
}

.opacity-0 {
    opacity: 0;
}

.opacity-25 {
    opacity: 0.25;
}

.opacity-50 {
    opacity: 0.5;
}

.opacity-75 {
    opacity: 0.75;
}

.opacity-100 {
    opacity: 1;
}

.cursor-pointer {
    cursor: pointer;
}

.cursor-not-allowed {
    cursor: not-allowed;
}

.select-none {
    user-select: none;
}

.object-cover {
    object-fit: cover;
}

.object-contain {
    object-fit: contain;
}

.z-0 {
    z-index: 0;
}

.z-10 {
    z-index: 10;
}

.z-20 {
    z-index: 20;
}

.z-30 {
    z-index: 30;
}

.z-40 {
    z-index: 40;
}

.z-50 {
    z-index: 50;
}

/* ============================================
   RESPONSIVE (exemples de base)
   ============================================ */

/* Classes responsive pour affichage */
@media (min-width: 640px) {
    .sm\:block {
        display: block;
    }
}

@media (min-width: 768px) {
    .md\:grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .text-5xl {
        font-size: 2.25rem;
    }

    .text-6xl {
        font-size: 3rem;
    }

    .title-elegant {
        font-size: 2rem;
    }

    .title-romantic {
        font-size: 1.75rem;
    }

    .section-elegant {
        padding: 2rem 0;
    }

    .section-romantic {
        padding: 1.5rem 0;
    }
}


/* ============================================
   PAGE DE REMERCIEMENT
   ============================================ */

.bg-celebration {
    background: linear-gradient(135deg, #fff5f7 0%, #ffffff 45%, #ffe4eb 100%);
}

.thankyou-card {
    background-color: #ffffff;
    border-radius: 1.5rem;
    padding: 3rem;
    border: 1px solid rgba(167, 51, 63, 0.12);
    position: relative;
}

.thankyou-card__header {
    text-align: center;
}

.thankyou-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.35rem 1.25rem;
    border-radius: 9999px;
    background-color: rgba(167, 51, 63, 0.12);
    color: var(--tertiary-color);
    font-size: 0.875rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.thankyou-intro {
    max-width: 38rem;
    margin: 0 auto;
}

.thankyou-highlights {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.highlight-card {
    display: flex;
    gap: 1.5rem;
    padding: 1.75rem;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(167, 51, 63, 0.08);
    border-radius: 1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.highlight-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(88, 12, 31, 0.12);
}

.highlight-icon {
    flex-shrink: 0;
    width: 3rem;
    height: 3rem;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--secondary-color);
    color: var(--primary-color);
    font-weight: 600;
    letter-spacing: 0.02em;
}

.highlight-title {
    margin: 0;
}

.thankyou-card__footer {
    text-align: center;
}

.thankyou-action {
    min-width: 14rem;
}

.thankyou-note {
    text-align: center;
}

@media (max-width: 768px) {
    .thankyou-card {
        padding: 2rem;
    }

    .highlight-card {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .highlight-icon {
        margin-bottom: 0.5rem;
    }
}

/* ============================================
   MESSAGES FLASH
   ============================================ */

.flash-success {
    background-color: #f0fdf4;
    border-color: #86efac;
    color: #065f46;
}

.flash-error {
    background-color: #fef2f2;
    border-color: #fca5a5;
    color: #991b1b;
}

.flash-warning {
    background-color: #fffbeb;
    border-color: #fcd34d;
    color: #92400e;
}

.flash-info {
    background-color: #dbeafe;
    border-color: #93c5fd;
    color: #1e40af;
}

@keyframes fade-in {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fade-in 0.3s ease-out;
}

.flash-message {
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
}

.flash-message:hover {
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

/* ============================================
   RESPONSIVE UTILITIES (ADDED)
   ============================================ */

@media (min-width: 640px) {
    .sm\:grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .sm\:px-6 {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

@media (min-width: 768px) {
    .md\:flex-row {
        flex-direction: row;
    }

    .md\:items-center {
        align-items: center;
    }

    .md\:justify-between {
        justify-content: space-between;
    }

    .md\:justify-end {
        justify-content: flex-end;
    }

    .md\:text-left {
        text-align: left;
    }
}

@media (min-width: 1024px) {
    .lg\:grid-cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .lg\:col-span-2 {
        grid-column: span 2 / span 2;
    }

    .lg\:px-8 {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

/* ============================================
   ESPACEMENTS - SPACE BETWEEN
   ============================================ */

.space-y-2> :not([hidden])~ :not([hidden]) {
    margin-top: 0.5rem;
}

.space-y-4> :not([hidden])~ :not([hidden]) {
    margin-top: 1rem;
}

.space-y-6> :not([hidden])~ :not([hidden]) {
    margin-top: 1.5rem;
}

.space-y-8> :not([hidden])~ :not([hidden]) {
    margin-top: 2rem;
}

/* ============================================
   AJOUTS POUR L'UPLOAD D'IMAGES
   ============================================ */

/* Grid */
.grid {
    display: grid;
}

.grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (min-width: 768px) {
    .md\:grid-cols-4 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.gap-4 {
    gap: 1rem;
}

/* Aspect Ratio */
.aspect-square {
    aspect-ratio: 1 / 1;
}

/* Positionnement */
.relative {
    position: relative;
}

.absolute {
    position: absolute;
}

.inset-0 {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.top-2 {
    top: 0.5rem;
}

.right-2 {
    right: 0.5rem;
}

.z-10 {
    z-index: 10;
}

.z-20 {
    z-index: 20;
}

/* Dimensions */
.w-full {
    width: 100%;
}

.h-full {
    height: 100%;
}

.w-10 {
    width: 2.5rem;
}

.h-10 {
    height: 2.5rem;
}

.w-4 {
    width: 1rem;
}

.h-4 {
    height: 1rem;
}

.w-6 {
    width: 1.5rem;
}

.h-6 {
    height: 1.5rem;
}

.w-8 {
    width: 2rem;
}

.h-8 {
    height: 2rem;
}

/* Flexbox supplementaire */
.flex-col {
    flex-direction: column;
}

.items-center {
    align-items: center;
}

.justify-center {
    justify-content: center;
}

/* Bordures & Styles */
.rounded-xl {
    border-radius: 0.75rem;
}

.rounded-full {
    border-radius: 9999px;
}

.border-2 {
    border-width: 2px;
}

.border-dashed {
    border-style: dashed;
}

.shadow-sm {
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

/* Opacite & Transitions */
.opacity-0 {
    opacity: 0;
}

.transition-all {
    transition-property: all;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

.transition-colors {
    transition-property: background-color, border-color, color, fill, stroke;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

.transition-opacity {
    transition-property: opacity;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

.duration-200 {
    transition-duration: 200ms;
}

.duration-300 {
    transition-duration: 300ms;
}

.cursor-pointer {
    cursor: pointer;
}

.pointer-events-none {
    pointer-events: none;
}

.object-cover {
    object-fit: cover;
}

.overflow-hidden {
    overflow: hidden;
}

.hidden {
    display: none;
}

.hover\:scale-110:hover {
    transform: scale(1.1);
}

/* Group Hover workaround for pure CSS (simplified) */
.group:hover .group-hover\:opacity-100 {
    opacity: 1;
}

.group:hover .group-hover\:bg-white {
    background-color: #ffffff;
}

.hover\:border-secondary:hover {
    border-color: var(--secondary-color);
}

.hover\:text-secondary:hover {
    color: var(--secondary-color);
}

.hover\:text-red-600:hover {
    color: #dc2626;
}

.hover\:bg-red-50:hover {
    background-color: #fef2f2;
}

.bg-white\/90 {
    background-color: rgba(255, 255, 255, 0.9);
}

/* Utilitaires perso */

/* Preview images */

.collectionContainer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    align-items: flex-end;
    gap: 1rem;
}

.collection-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    width: 200px;
    height: auto;
    aspect-ratio: 1/1;
}

.preview-container {
    width: 100%;
    height: 100%;
    aspect-ratio: 1/1;

}

.preview-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.image-input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 10;
}

.picture-overlay {
    position: absolute;
    background-color: #065f46;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    z-index: 10;
}

.picture-overlay:hover {
    opacity: 0.5;
    transition: opacity 0.3s ease-in-out;
}

.picture-message {
    opacity: 0;
    font-size: 0.875rem;
    padding: 0.5rem;
    transition: all 0.5s ease-in-out;
    border-radius: 10px;
    text-align: center;
}

.picture-message.error {
    opacity: 1;
    color: #dd1212;
    background-color: #ffbfbf;
    border: 1px solid #dd1212;
}

.picture-message.success {
    opacity: 1;
    color: #065f46;
    font-size: 0.875rem;
    padding: 0.5rem;
    background-color: #b8f7d4;
    border-radius: 10px;
    border: 1px solid #065f46;
    text-align: center;
    transition: all 0.5s ease-in-out;
}

.picture-errors {
    font-size: 0.875rem;
    padding: 1rem;
    border-radius: 10px;
    text-align: center;
    width: 100%;
    border: 1px solid #fca5a5;
    background-color: #fef2f2;
    color: #991b1b;
}

/* Form errors */
.form-error {
    color: #dc2626;
    font-size: 0.875rem;
    margin-top: 0.5rem;

    li {
        list-style-type: none;
    }
}