/*
Theme Name: Variations Child
Template: variations
Author: Tyler Moore
Description: Variations is a block theme and hopefully the last theme you will even have to install. It comes with many different templates and block patterns to make creating a website easy.
Tags: one-column,wide-blocks,block-patterns,block-styles,custom-colors,custom-logo,custom-menu,editor-style,featured-images,full-site-editing,sticky-post
Version: 4.4.0.1764187877
Updated: 2025-11-26 20:11:17

*/

/* ======== Styles perso Daylee Lunch – Traiteur ======== */

/* Conteneur des deux cartes */
#tf-roadmap {
    margin: 60px auto;
    max-width: 900px;
    display: flex;
	height: 400px;
	justify-content: space-between;
    flex-direction: column;    
    align-items: center;
}

/* Carte Assemblage / Formule complète */
.tf-choice-card {
    width: 100%;
    max-width: 620px;
    padding: 32px 40px;
    border-radius: 16px;
    border: 1px solid #e3e3e3;
    background: #ffffff;
	margin: 40px auto;
    text-align: center;
    box-shadow: 0 8px 22px rgba(0,0,0,0.06);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.tf-choice-card + .tf-choice-card {
    margin-top: 60px; /* espace entre Assemblage et Formule complète */
}


.tf-choice-card h3 {
    margin: 0 0 10px;
    font-size: 32px;
    font-weight: 600;
    color: #000000;
}

.tf-choice-card p {
    margin: 0;
    font-size: 16px;
    color: #444444;
}

.tf-choice-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
    border-color: #d4a156;
}

.tf-choice-card.active {
    border-color: #d4a156;
    box-shadow: 0 12px 30px rgba(0,0,0,0.18);
}

/* Roadmap affichée quand on survole la carte "Assemblage" */
.tf-choice-card[data-choice="assemblage"] {
    position: relative;
}

.tf-choice-card[data-choice="assemblage"]:hover::after {
    content: "Entrée → Apéritifs → Plat (protéine, féculent, légumes, sauce) → Dessert. Composez votre menu sur mesure.";
    display: block;
    margin-top: 18px;
    font-size: 14px;
    line-height: 1.5;
    color: #666;
}






/* ===========================
   CONTENEUR GLOBAL
=========================== */
#traiteur-form {
    max-width: 900px;
    margin: 40px auto;
    padding: 30px;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ===========================
   CARTES ROADMAP
=========================== */


.tf-choice,
.tf-choice-card {
    padding: 25px;
    border-radius: 18px;
    background: linear-gradient(135deg, #f8f8f8, #fff);
    border: 1px solid #eee;
    cursor: pointer;
    transition: all 0.25s ease;
    text-align: center;
}

.tf-choice:hover,
.tf-choice-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.tf-choice h2,
.tf-choice h3 {
    margin-bottom: 5px;
    font-weight: 600;
}

.tf-choice p {
    color: #666;
    font-size: 0.95rem;
}

.tf-choice-card.active {
    background: #000;
    color: white;
    border-color: #000;
}

/* ===========================
   TITRES DES SECTIONS
=========================== */
#tf-dynamic-area h2 {
    font-size: 1.7rem;
    margin-bottom: 20px;
    border-left: 6px solid #000;
    padding-left: 12px;
}

/* ===========================
   LISTE DES CHOIX (radios/checkbox)
=========================== */
.tf-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 15px;
    margin-bottom: 10px;
    border-radius: 12px;
    border: 1px solid #eee;
    background: #fafafa;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.95rem;
}
    
.tf-item:hover {
    background: #f0f0f0;
    border-color: #ddd;
}

/* Cache les inputs natifs */
.tf-item input {
    display: none;
}

/* Style custom radio/checkbox */
.tf-item::before {
    content: "";
    width: 22px;
    height: 22px;
    border-radius: 6px;
    border: 2px solid #ccc;
    display: inline-block;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

/* Cercle pour radio */
.tf-item input[type="radio"] + span {
    display: none;
}

.tf-item input[type="radio"] ~ ::before {
    border-radius: 50%;
}

/* Checkbox = carré */
.tf-item input[type="checkbox"] ~ ::before {
    border-radius: 6px;
}

/* Quand coché */
.tf-item:has(input:checked) {
    background: #f4f4f4;
    border-color: #000;
}

.tf-item:has(input:checked)::before {
    background: #000;
    border-color: #000;
}

/* ===========================
   NAVIGATION
=========================== */
.tf-nav {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    margin-top: 35px;
}

.tf-nav button {
    flex: 1;
    padding: 15px 20px;
    border-radius: 16px;
    border: none;
    background: #000;
    color: white;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.tf-nav button:hover {
    background: #222;
    transform: translateY(-1px);
}

/* Bouton secondaire */
.tf-nav button:first-child {
    background: #eaeaea;
    color: #000;
}

.tf-nav button:first-child:hover {
    background: #ddd;
}

/* ===========================
   RÉSUMÉ - BOX STYLÉE
=========================== */
.tf-recap-box {
    background: linear-gradient(135deg, #111, #000);
    color: #ffffff;
    padding: 30px;
    border-radius: 20px;
    font-family: monospace;
    font-size: 0.95rem;
    line-height: 1.6;
    white-space: pre-wrap;
    box-shadow: 0 20px 45px rgba(0,0,0,0.25);
    margin-bottom: 30px;
}

/* Titre du récap */
#tf-dynamic-area h2 {
    text-align: center;
    margin-bottom: 25px;
}

/* ===========================
   ANIMATIONS
=========================== */
#tf-dynamic-area {
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

