* {
    box-sizing: border-box;
    font-family: "Segoe UI", Arial, sans-serif;
}

body {
    background: #f4f4f4;
    padding: 20px;
        min-height: 100vh;
    display: flex;
    justify-content: center;
       /*  flex-direction: column; */
    align-items: center;
}

.card-container {
    background: #fffdf7;
    max-width: 480px;
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    overflow: hidden;
}

/* HEADER */
.card-header {
    text-align: center;
    /* padding: 20px 15px; */
    padding-top: 20px;
    padding-bottom: 1px;
    padding-left: 15px;
    padding-right: 15px;
}

.logo {
    max-width: 200px;
}

.republique {
    font-weight: bold;
    font-size: 13px;
}

.devise {
    font-size: 11px;
    margin-bottom: 10px;
}

.card-header h2 {
    font-size: 15px;
    font-weight: normal;
}

/* IDENTITÉ */
.identity {
    text-align: center;
    padding-bottom: 30px;
}

.identity h1 {
    font-size: 22px;
    margin: 0;
}

.fonction {
    font-size: 18px;
    padding-top: -5px;
    color: #000;
}

/* BARRE DRAPEAU */
.flag-bar {
    display: flex;
    height: 10px;
    box-shadow:
        0 -2px 14px rgba(0, 0, 0, 0.15),
         0  2px 14px rgba(0, 0, 0, 0.15);
    background: linear-gradient(to right, #d32f2f 50%, #2e7d32 50%);
}

.flag-bar .white {
    flex: 1;
    background: #ffffff;
}
.flag-bar .red {
    flex: 1;
    background: #d32f2f;
}

.flag-bar .green {
    flex: 1;
    background: #2e7d32;
}

/* CONTACT */
.contact {
    padding: 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    font-size: 14px;
}

/* Adresse sur toute la largeur */
.contact-item:last-child {
    grid-column: 1 / -1;
}

.icon {
    margin-right: 10px;
    font-size: 16px;
}

/* BOUTON GLOBAL (hors carte) */
.download-wrapper {
    margin-top: 25px;
    text-align: center;
}

/* Bouton moderne */
.btn-download-modern {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: linear-gradient(135deg, #2e7d32, #1b5e20);
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 40px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
    transition: all 0.3s ease;
}

/* Hover desktop */
.btn-download-modern:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.35);
}

/* Active mobile */
.btn-download-modern:active {
    transform: scale(0.97);
}

.page-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* ANIMATION SCROLL */
.animate {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

/* État visible */
.animate.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Empilement téléphone + email */
.contact-stack {
    display: flex;
    align-items: flex-start;
}

/* Colonne icônes */
.icon-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-right: 10px;
}

.icon-column .icon {
    font-size: 16px;
    line-height: 1.2;
}

/* Colonne texte */
.stack {
    display: flex;
    flex-direction: column;
    line-height: 1.4;
}

/* Ligne interne */
.line {
    display: flex;
    align-items: center;
}

/* Icône secondaire (email) */
.icon.small {
    font-size: 14px;
    margin-right: 20px;
}

/* Email */
.email a{
    font-size: 13px;
    color: #555;
    text-decoration: none;
}


/* RESPONSIVE */
@media (max-width: 490px) {
    .identity h1 {
        font-size: 18px;
    }

    .card-header h2 {
        font-size: 12px;
        font-weight: normal;
    }

    .contact {
        grid-template-columns: 1fr;
    }
}
