/* ==========================================================================
   The Smoke Box - Feuille de styles principale
   ========================================================================== */

/* Variables & Base */
:root {
    --color-cream: #ECD4D3;
    --color-rose: #DFBDBD;
    --color-card: #F4E0DF;
    --color-blush: #FBEEEE;
    --color-beige: #8D5A59;
    --color-pink: #DFBDBD;
    --color-light: #542527;
    --color-brown: #240E0F;
}

body {
    background-color: var(--color-cream);
    color: var(--color-brown);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-size: 1rem;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

main {
    flex: 1 0 auto;
}

/* Optimisation de la lisibilité des petits textes */
.text-xs {
    font-size: 0.825rem !important; /* ~13.2px au lieu de 12px pour une lecture sans effort */
    line-height: 1.5 !important;
}

/* Rehaussement des textes fins pour éviter le manque de contraste */
.font-light {
    font-weight: 400 !important; /* Remplacé par une graisse normale (400) pour une netteté parfaite */
}

/* Liens de navigation & États actifs */
.nav-link {
    position: relative;
    padding-bottom: 4px;
    font-weight: 600;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2.5px;
    background-color: var(--color-brown);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link.active {
    font-weight: 800;
    color: var(--color-brown);
}

.mobile-nav-link.active {
    background-color: rgba(128, 78, 77, 0.3);
    font-weight: 700;
}

/* Accordéon FAQ */
.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-in-out, padding 0.4s ease-in-out;
}

.accordion-item.active .accordion-content {
    max-height: 600px;
}

.accordion-item.active .accordion-icon {
    transform: rotate(180deg);
}

.accordion-icon {
    transition: transform 0.3s ease-in-out;
}

/* Effets de zoom sur les images */
.img-hover-zoom {
    overflow: hidden;
}

.img-hover-zoom img {
    transition: transform 0.7s ease;
}

.img-hover-zoom:hover img {
    transform: scale(1.05);
}

/* Boutons & Éléments interactifs */
.btn-primary {
    background-color: #351617;
    color: #FFFFFF;
    font-weight: 700;
    letter-spacing: 0.08em;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(36, 14, 15, 0.25);
}

.btn-primary:hover {
    background-color: #522627;
    color: #FFFFFF;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(36, 14, 15, 0.3);
}

.btn-outline {
    border: 2px solid #351617;
    color: #351617;
    font-weight: 700;
    letter-spacing: 0.08em;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background-color: #351617;
    color: #FFFFFF;
}

/* Cartes & Éléments */
.card-hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px -5px rgba(36, 14, 15, 0.18), 0 8px 10px -6px rgba(36, 14, 15, 0.12);
}

/* Formulaires */
.form-input {
    width: 100%;
    padding: 0.85rem 1rem;
    font-size: 0.95rem;
    background-color: #F6E2E1;
    border: 1.5px solid var(--color-beige);
    color: var(--color-brown);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.form-input::placeholder {
    color: #6C3335;
    opacity: 0.75;
}

.form-input:focus {
    outline: none;
    background-color: #FAF0EF;
    border-color: var(--color-brown);
    box-shadow: 0 0 0 2px rgba(80, 32, 33, 0.25);
}

/* ==========================================================================
   Arrondi soigné et élégant des photos Pack & Mariage
   ========================================================================== */
.pack-img-rounded,
img[src*="Pack-Smoke-Puff"],
img[src*="pack-rainbow"],
img[src*="Pack-"],
img[src*="pack-"],
img[src*="mariage-arche-fumee"],
img[src*="mariage-"] {
    border-radius: 1.125rem; /* ~18px pour des angles doux et modernes */
}

.pack-card-frame {
    border-radius: 1.25rem;
    overflow: hidden;
    -webkit-mask-image: -webkit-radial-gradient(white, black);
}

