:root {
    --primary: #5ea2d6;
    --primary-dark: #3a7bbf;
    --text: #000000;
    --text-muted: #000000;
    --text-light: #9ca3af;
    --bg: #f8f9fa;
    --surface: #ffffff;
    --surface-alt: #f1f5f9;
    --border: #e5e7eb;
    --space-xs: 0.5rem;
    --space-sm: 0.75rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --section-space: clamp(3rem, 14vh, 15rem);
    --font-base: 1rem;

    --line-height: 1.7;
    --radius-sm: 0.25rem;
    --radius-md: 0.5rem;
}


ul, ol {
    padding-left: 0.5rem;
    margin-bottom: var(--space-sm);
}

li {
    margin-bottom: 0.5rem;
}



  .section {
    width: 100%;
    padding-top: clamp(2rem, 0.557rem + 5.3691vw, 7rem);
    justify-content: center; /* centre les items sur la ligne */
  }
  
  .conteneur-section {
    flex-wrap: wrap;
    width: 95%;
    max-width: 1600px;
    margin-inline: auto; /* centre la boîte */
  }





.header {
    padding: var(--space-lg) 0;
    text-align: center;
    border-bottom: 1px solid var(--border);
    margin-bottom: var(--section-space);
}

.title {
    font-size: clamp(2rem, 6vw, 2.75rem);
    font-weight: 700;
    margin-bottom: var(--space-xs);
    color: var(--text);
}


.subtitle {
    font-size: clamp(1.1rem, 3vw, 1.3rem);
    color: var(--text-muted);
    max-width: 50rem;
    margin: 0 auto var(--space-md);
    font-style: italic;
}

/* Section Hero */
.herotime {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-lg);
    align-items: center;
    margin-bottom: var(--section-space);
}

.herotime-content {
    flex: 1 1 25rem;
    min-width: 0;
}

.herotime-visual {
    flex: 0 0 auto;
    width: 25rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    border: 2px solid #ffffff;
    border-radius: var(--radius-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.herotime-visual:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.herotime-visual img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-sm);
    display: block;
}

.lead {
    font-size: var(--font-base);
    color: var(--text-muted);
    margin-bottom: var(--space-sm);
    max-width: 50rem;
    line-height: var(--line-height);
}

/* Cartes de fonctionnalités (effet "post-it") */
.features {
    margin-bottom: var(--section-space);
    text-align: center;
}

.features h2 {

    font-size: clamp(1.5rem, 4vw, 2rem);
    margin-bottom: var(--space-lg);
    color: var(--text);
    position: relative;
    display: inline-block;
}



.feature-grid {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    justify-content: center;
}

.feature-card {
    flex: 1 1 19rem;
    background: var(--surface);
    border-radius: var(--radius-md);
    padding: var(--space-md);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease;
}

.feature-card:hover {
    transform: translateY(-2px);
}

.feature-card h3 {

    font-size: 1.25rem;
    margin-bottom: var(--space-xs);
}




/* Section Aperçus (effet "cadre photo") */
.previews {
    margin-bottom: var(--section-space);
}

.previews h2 {
    font-size: clamp(1.5rem, 4vw, 2rem);
    text-align: center;
    margin-bottom: var(--space-lg);
    color: var(--text);
    position: relative;
}



.preview-item {
    margin-bottom: var(--section-space);
}

.preview-row {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-lg);
    align-items: flex-start;
}

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

.preview-text {
    flex: 1 1 20rem;
    min-width: 0;
}

.preview-label {

    font-size: 0.9rem;
    color: var(--text);
    margin-bottom: var(--space-xs);
    display: block;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.apercu-outil {
    flex: 1 1 30rem;
    min-width: 0;
    border-radius: var(--radius-sm);
    background: var(--surface-alt);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    border: 2px solid #ffffff;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.apercu-outil:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

/* Section Téléchargement (effet "boîte cadeau") */
.download {
    text-align: center;
    margin-bottom: var(--section-space);
    padding: var(--space-lg) 0;
}

.download-card {
    background: var(--surface);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    max-width: 50rem;
    margin: 0 auto;
    transition: transform 0.2s ease;
}

.download-card:hover {
    transform: translateY(-2px);
}

.security-note {
    background: var(--surface);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    margin-bottom: clamp(3rem, 5vw, 5rem);
    text-align: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease;
}

.security-note:hover {
    transform: translateY(-2px);
}

.security-note h2 {
    margin-bottom: var(--space-md);
}

.security-note p {
    margin-bottom: var(--space-sm);
}



.download-card h3 {

    font-size: 1.5rem;
    margin-bottom: var(--space-sm);
}



.btn-download {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-weight: 600;
    margin: var(--space-md) 0;
    border: none;
    cursor: pointer;

}

.btn-download:hover {
    background: var(--primary-dark);
}

.instructions {
    margin-top: var(--space-md);
    text-align: left;
    padding: var(--space-md);
    background: #f9fafb;
    border-radius: var(--radius-sm);
}

.instructions h4 {
    margin-bottom: var(--space-xs);
    font-size: 1.1rem;
}



.instructions ol {
    padding-left: 1.5em;
    color: var(--text-muted);
}

.instructions li {
    margin-bottom: 0.5em;
    padding-left: 0.5em;
}

/* Pied de page chaleureux */
.footer {
    padding: var(--space-lg) 0;
    text-align: center;
    border-top: 1px solid var(--border);
    margin-top: var(--section-space);
    color: var(--text-light);
    font-size: 0.9rem;
}

.footer a {
    color: var(--text);
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

/* css fausse capture */


/* Timeline CSS - UNIQUEMENT pour les aperçus (fonds noirs) */
/* Design sobre et professionnel */

:root {
    --tl-bg: #1a1f2e;
    --tl-surface: #242b3d;
    --tl-surface-alt: #2d3548;
    --tl-accent: #3b82f6;
    --tl-accent-hover: #2563eb;
    --tl-succes: #059669;
    --tl-texte-muted: #94a3b8;
    --tl-texte: #f1f5f9;
    --tl-ligne: #374151;
}

/* Fond noir pour les aperçus */
.apercu-outil {
    background: var(--tl-bg);
    border-radius: 0.25rem;
    padding: 1.5rem;
}

.apercu-controls {
    padding: 0.75rem;
}

.controls {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}

/* Labels dans les aperçus */
.apercu-outil label {
    display: block;
    font-size: 0.875rem;
    color: var(--tl-texte);
    margin-bottom: 0.25rem;
    font-weight: 500;
}

/* Inputs dans les aperçus */
.apercu-outil input[type="text"],
.apercu-outil input[type="date"],
.apercu-outil textarea {
    width: 100%;
    padding: 0.5rem;
    border-radius: 0.25rem;
    border: 1px solid var(--tl-ligne);
    background: var(--tl-surface);
    color: var(--tl-texte);
    font-size: 1rem;
    font-family: inherit;
}

.apercu-outil textarea {
    min-height: 6rem;
    resize: vertical;
}

/* Zone fichiers */
.apercu-outil .zone-fichiers {
    border: 2px dashed var(--tl-accent);
    border-radius: 0.25rem;
    padding: 1.5rem;
    background: rgba(59, 130, 246, 0.05);
    cursor: pointer;
    min-height: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
}

.apercu-outil .zone-fichiers p {
    margin: 0;
    padding: 0.75rem;
    text-align: center;
    color: var(--tl-texte-muted);
    cursor: pointer;
    user-select: none;
    font-size: 0.875rem;
}

/* Boutons */
.apercu-outil .bouton {
    cursor: pointer;
    padding: 0.5rem 1rem;
    border-radius: 0.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    font-weight: 500;
    transition: all 0.2s ease;
    white-space: nowrap;
    font-size: 0.875rem;
}

.apercu-outil .bouton-principal {
    background: var(--tl-accent);
    color: white;
}

.apercu-outil .bouton-principal:hover {
    background: var(--tl-accent-hover);
}

.apercu-outil .bouton-secondaire {
    background: var(--tl-surface);
    color: var(--tl-texte);
    border: 1px solid var(--tl-ligne);
}

.apercu-outil .bouton-succes {
    background: var(--tl-succes);
    color: white;
}

/* Chronologie */
.apercu-outil .chronologie {
    position: relative;
    margin-top: 1.5rem;
}

.apercu-outil .chronologie::before {
    content: "";
    position: absolute;
    left: 4rem;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--tl-ligne);
    pointer-events: none;
}

.apercu-outil .evenement {
    position: relative;
    margin-bottom: 1.5rem;
    min-height: 20px;
    padding-left: 7rem;
}

.apercu-outil .date-evenement {
    position: absolute;
    left: 0;
    top: 0;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--tl-texte-muted);
    text-align: right;
    width: 5rem;
    padding-right: 0.75rem;
}

.apercu-outil .carte {
    background: var(--tl-surface-alt);
    border-radius: 0.25rem;
    padding: 0.75rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.apercu-outil .titre-ligne {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.apercu-outil .categorie {
    display: inline-block;
    background: var(--tl-surface);
    color: var(--tl-texte);
    padding: 0.15rem 0.4rem;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    font-weight: 500;
    border: 1px solid var(--tl-ligne);
    white-space: nowrap;
}

.apercu-outil .titre-evenement {
    font-size: 1.15rem;
    color: var(--tl-texte);
    font-weight: 600;
    line-height: 1.3;
    margin: 0;
}

.apercu-outil .description {
    margin-bottom: 0.5rem;
    color: var(--tl-texte);
    line-height: 1.7;
    font-size: 0.875rem;
}

/* Header entete */
.apercu-outil .entete {
    text-align: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--tl-ligne);
}

.apercu-outil .entete h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--tl-texte);
}

.apercu-outil .sous-titre {
    font-size: 1rem;
    color: var(--tl-texte-muted);
    margin-bottom: 0.5rem;
}

.apercu-outil .devise {
    font-size: 0.875rem;
    color: var(--tl-accent);
    font-style: italic;
}

/* Formulaire */
.apercu-outil .formulaire-contexte,
.apercu-outil .formulaire-evenement {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.apercu-outil .groupe-champs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: flex-start;
}

.apercu-outil .champ {
    display: flex;
    flex-direction: column;
    flex: 1 1 15rem;
    max-width: 100%;
}

.apercu-outil .champ-radio {
    margin-top: 0.5rem;
}

/* Radio */
.apercu-outil .radio-groupe {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.25rem;
}

.apercu-outil .radio-option {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    background: var(--tl-surface);
    border: 1px solid var(--tl-ligne);
    border-radius: 0.25rem;
    color: var(--tl-texte);
    font-size: 0.85rem;
}

/* Instructions dans apercu */
.apercu-instructions {
    padding: 1rem;
}

.apercu-instructions p {
    padding: 0.25rem 0;
    margin: 0;
    color: var(--tl-texte);
}

.apercu-instructions strong {
    color: var(--tl-accent);
    font-weight: 600;
}



/* poubelle ? 








*/