/* ============================================
   Café Arthur — Frontend Metro 2026
   Palette : Catégorie 1 (Base) + Catégorie 2 (Pastels)
   ============================================ */

/* --- Palette officielle (pièce jointe) --- */
:root {
    /* Base */
    --brun: #35271A;
    --creme: #FCF9F0;
    --bleu: #9EBDF3;
    --vert: #C0E39F;
    --orange: #F2B75C;
    --rose: #F2A6C9;
    /* Pastels — fond unique crème pour tout le site (sauf boutique/panier) */
    --ivoire: #FCF9F0;
    --taupe: #D9D1C7;
    --bleu-poudre: #D6E4FF;
    --pervenche: #BFD2FF;
    --menthe: #DDF7D1;
    --sage: #BFE8C4;
    --peche: #FFE1B8;
    --abricot: #FFD0A6;
    --blush: #FFD6E7;
    --lilas: #E9D4FF;

    /* Variables d’usage (compatibilité pages existantes) */
    --primary-brown: var(--brun);
    --primary-cream: var(--creme);
    --primary-peach: var(--taupe);
    --primary-green: var(--vert);
    --primary-blue: var(--bleu);
    --primary-orange: var(--orange);
    --secondary-tan: var(--peche);
    --secondary-teal: var(--menthe);
    --secondary-lavender: var(--lilas);
    --secondary-gray: var(--brun);
    --secondary-light-blue: var(--bleu-poudre);
    --secondary-pink: var(--blush);
    --secondary-light-green: var(--sage);

    --primary: var(--brun);
    --cream: var(--creme);
    --beige: var(--taupe);
    --green: var(--vert);
    --blue: var(--bleu);
    --coral: var(--orange);
    --secondary-beige: var(--peche);
    --secondary-teal-2: var(--menthe);
    --secondary-lavender-2: var(--lilas);
    --gray: var(--brun);

    --card: var(--creme);
    --card2: rgba(252,249,240,0.95);
    --feed-card-bg: #F5F0E5;
    --line: rgba(53,39,26,0.12);
    --shadow: 0 4px 24px rgba(53,39,26,0.08);

    --text-muted: rgba(53,39,26,0.7);
    --surface: var(--creme);
    --surface-alt: var(--creme);
    --input-bg: var(--creme);
    --input-border: var(--taupe);
    --input-placeholder: rgba(53,39,26,0.45);
    --link-color: var(--brun);

    /* Hauteur utile de la barre fixe (safe area + rangée 56px + bordure 1px) — alignée sur .header */
    --app-header-bar-height: 56px;
    --app-header-offset: calc(env(safe-area-inset-top, 0px) + var(--app-header-bar-height) + 1px);
}

/* Palette unique — les variables :root ci-dessus suffisent. */

/* --- Base globale --- */
body {
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--primary-brown);
    background-color: var(--cream);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body .menu-container,
body .reservations-container,
body .profile-container,
body .reservation-container,
body .notifications-page,
body .admin-page,
body > div.container {
    padding-top: var(--app-header-offset) !important;
}

/* ========== App bar Metro 2026 ========== */
/* Ne pas fixer height: 56px avec padding-top safe-area : en border-box la zone flex est écrasée
   (ligne du bas au milieu du titre, avatar sous la status bar). */
.header {
    position: fixed;
    inset: 0 0 auto 0;
    box-sizing: border-box;
    min-height: calc(env(safe-area-inset-top, 0px) + var(--app-header-bar-height) + 1px);
    height: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: env(safe-area-inset-top, 0px) 16px 0;
    z-index: 1000;
    background: var(--ivoire);
    border-bottom: 1px solid var(--taupe);
    box-shadow: 0 1px 0 rgba(53,39,26,0.06);
}

.header-left { display: flex; align-items: center; gap: 12px; }
.header-right { display: flex; align-items: center; gap: 10px; }

/* Barre invitée (inscription / connexion sans menu) */
.header--guest-minimal .header-left--balance {
    width: 56px;
    flex-shrink: 0;
}
.header--guest-minimal .header-right--balance {
    min-width: 56px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.header-center {
    flex: 1;
    text-align: center;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--primary-brown);
}

/* Trigger menu Metro : pill claire, pas hamburger 3 barres */
.nav-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 14px;
    background: var(--creme);
    border: 1px solid var(--taupe);
    border-radius: 12px;
    color: var(--primary-brown);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 2px 8px rgba(53,39,26,0.06);
}

.nav-trigger:hover {
    background: var(--bleu-poudre);
    border-color: var(--pervenche);
    box-shadow: 0 4px 12px rgba(53,39,26,0.08);
}

.nav-trigger.is-open {
    background: var(--blush);
    border-color: var(--rose);
}

.nav-trigger-icon {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 18px;
    height: 14px;
}

.nav-trigger-icon span {
    display: block;
    height: 2px;
    border-radius: 2px;
    background: var(--primary-brown);
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-trigger.is-open .nav-trigger-icon span:nth-child(1) {
    transform: translateY(3.5px) rotate(45deg);
}
.nav-trigger.is-open .nav-trigger-icon span:nth-child(2) { opacity: 0; }
.nav-trigger.is-open .nav-trigger-icon span:nth-child(3) {
    transform: translateY(-3.5px) rotate(-45deg);
}
.nav-trigger-label { font-weight: 600; }

/* Boutons header */
.header-notif-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--creme);
    border: 1px solid var(--taupe);
    color: var(--primary-brown);
    text-decoration: none;
    font-size: 1.2rem;
    transition: background 0.2s ease;
}
.header-notif-btn:hover { background: var(--bleu-poudre); }
.header-notif-btn .icon {
    display: block;
    flex-shrink: 0;
    color: inherit;
}
.notif-badge {
    position: absolute;
    top: 4px;
    right: 4px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    background: var(--rose);
    color: var(--brun);
    font-size: 0.7rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Lien header : initiales dans anneau dégradé */
.user-avatar-small {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    flex-shrink: 0;
    border-radius: 50%;
    transition: box-shadow 0.2s ease, transform 0.15s ease;
    -webkit-tap-highlight-color: transparent;
}
.user-avatar-small:hover {
    box-shadow: 0 4px 14px rgba(53,39,26,0.16);
    transform: scale(1.04);
}
.user-avatar-small:focus-visible {
    outline: 2px solid var(--bleu, #9ebdf3);
    outline-offset: 3px;
}

/* Anneau dégradé pastel (avatar client / initiales / chien menu) */
.profile-avatar-ring {
    --avatar-size: 120px;
    --ring-size: 12px;
    width: calc(var(--avatar-size) + (var(--ring-size) * 2));
    height: calc(var(--avatar-size) + (var(--ring-size) * 2));
    padding: var(--ring-size);
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    flex-shrink: 0;
    /* Défaut = spec ChatGPT */
    background: linear-gradient(135deg, #ff7aa8 0%, #ffae66 30%, #ffd3b5 62%, #bdf4c8 100%);
}
.profile-avatar-ring--v0 {
    background: linear-gradient(135deg, #ff7aa8 0%, #ffae66 30%, #ffd3b5 62%, #bdf4c8 100%);
}
.profile-avatar-ring--v1 {
    background: linear-gradient(45deg, #bdf4c8 0%, #ff7aa8 32%, #ffae66 65%, #ffd3b5 100%);
}
.profile-avatar-ring--v2 {
    background: linear-gradient(225deg, #ffae66 0%, #ffd3b5 38%, #bdf4c8 70%, #ff7aa8 100%);
}
.profile-avatar-ring--v3 {
    background: linear-gradient(180deg, #ffd3b5 0%, #ff7aa8 42%, #bdf4c8 78%, #ffae66 100%);
}
.profile-avatar-ring--v4 {
    background: linear-gradient(90deg, #ff7aa8 0%, #bdf4c8 48%, #ffae66 88%, #ffd3b5 100%);
}
/* Léger mouvement de teinte (même palette, pas de brun) */
.profile-avatar-ring--hue {
    animation: profile-avatar-ring-hue 14s ease-in-out infinite;
}
@keyframes profile-avatar-ring-hue {
    0%, 100% { filter: hue-rotate(0deg) saturate(1.02); }
    50% { filter: hue-rotate(22deg) saturate(1.08); }
}
@media (prefers-reduced-motion: reduce) {
    .profile-avatar-ring--hue {
        animation: none;
    }
}
.profile-avatar-ring img,
.profile-avatar-ring__img {
    width: 100%;
    height: 100%;
    display: block;
    border-radius: 999px;
    object-fit: cover;
    box-sizing: border-box;
}
.profile-avatar-ring__inner {
    width: 100%;
    height: 100%;
    border-radius: 999px;
    box-sizing: border-box;
    overflow: hidden;
}
.profile-avatar-ring__inner--initials {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--creme, #fcf9f0);
    color: var(--brun, #35271a);
    font-weight: 700;
    font-size: calc(var(--avatar-size) * 0.36);
    letter-spacing: -0.04em;
    line-height: 1;
}
.profile-avatar-ring__inner--placeholder,
.profile-avatar-ring__inner--icon {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--creme, #fcf9f0);
    color: var(--brun, #35271a);
}
.profile-avatar-ring__inner--icon .icon,
.profile-avatar-ring__inner--placeholder .icon {
    flex-shrink: 0;
}

.btn-login {
    padding: 10px 18px;
    background: var(--brun);
    color: var(--creme);
    border-radius: 9px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 3px 10px rgba(53,39,26,0.12);
    transition: background 0.2s ease, transform 0.1s ease, box-shadow 0.2s ease;
}
.btn-login:hover { background: #2a1d14; box-shadow: 0 4px 12px rgba(53,39,26,0.18); }

/* ========== Overlay ========== */
.drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(53,39,26,0.35);
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}
.drawer-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ========== Ancien drawer (panneau latéral) ========== */
.hamburger-btn {
    background: var(--creme);
    border: 1px solid var(--taupe);
    cursor: pointer;
    padding: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(53,39,26,0.06);
    transition: background 0.2s ease, box-shadow 0.2s ease;
    animation: hamburger-shake 3.5s ease-in-out infinite;
}
.hamburger-btn:hover { background: var(--bleu-poudre); box-shadow: 0 4px 12px rgba(53,39,26,0.08); }
.hamburger-btn:focus-visible { outline: 2px solid var(--rose); outline-offset: 2px; }
.hamburger-btn.is-open { background: var(--blush); border-color: var(--rose); animation: none; }
.hamburger-icon { display: flex; flex-direction: column; justify-content: center; align-items: center; width: 22px; height: 18px; gap: 4px; }
.hamburger-line { width: 100%; height: 2px; border-radius: 999px; background: var(--brun); transition: transform 0.2s, opacity 0.2s; }
.hamburger-btn.is-open .hamburger-line:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.hamburger-btn.is-open .hamburger-line:nth-child(2) { opacity: 0; }
.hamburger-btn.is-open .hamburger-line:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

.drawer {
    position: fixed;
    top: 0; left: 0;
    width: min(320px, 88vw);
    height: 100%;
    background: linear-gradient(180deg, rgba(252,249,240,0.98), rgba(252,249,240,0.98));
    z-index: 1002;
    transform: translateX(-100%);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    display: flex;
    flex-direction: column;
    box-shadow: none;
    border-right: 1px solid rgba(53,39,26,0.08);
}
.drawer.active {
    transform: translateX(0);
    box-shadow: 8px 0 24px rgba(53,39,26,0.12);
}
.drawer-header {
    padding: 16px 18px;
    border-bottom: 1px solid var(--taupe);
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.drawer-title { font-size: 1.1rem; font-weight: 700; color: var(--brun); }
.drawer-close-btn {
    background: none; border: none; cursor: pointer; padding: 8px;
    font-size: 1.4rem; color: var(--brun); border-radius: 8px;
    transition: background 0.2s;
}
.drawer-close-btn:hover { background: var(--taupe); }
.drawer-content {
    flex: 1;
    overflow-y: auto;
    padding: 12px 14px 24px;
    display: flex;
    flex-direction: column;
    overscroll-behavior-y: contain;
    -webkit-overflow-scrolling: touch;
}

.drawer-greeting-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 14px 0;
}
.drawer-greeting-row .profile-avatar-ring {
    flex-shrink: 0;
}
.drawer-menu-dog-avatar--placeholder {
    /* conservé pour compat ; contenu remplacé par .profile-avatar-ring__inner--placeholder */
    display: flex;
    align-items: center;
    justify-content: center;
}
.drawer-bonjour {
    font-size: 1.35rem;
    font-weight: 300;
    color: var(--brun);
    text-align: center;
    margin: 0 0 6px 0;
}
.drawer-bonjour--row {
    flex: 1;
    min-width: 0;
    text-align: left;
    margin: 0;
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.35;
}
.drawer-dogs {
    font-size: 0.9rem;
    color: var(--brun);
    text-align: center;
    margin: 0 0 14px 0;
    opacity: 0.9;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 2px;
}
.drawer-dog-tag { display: inline-flex; align-items: center; gap: 4px; }
.drawer-dog-sep { opacity: 0.6; }

.drawer-spotlight {
    margin-bottom: 16px;
}
.drawer-spotlight-article {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 10px;
    background: rgba(53,39,26,0.06);
    border-radius: 10px;
    text-decoration: none;
    color: var(--brun);
    font-size: 0.85rem;
}
.drawer-spotlight-article:hover { background: rgba(53,39,26,0.1); }
.drawer-spotlight-thumb { width: 40px; height: 40px; border-radius: 8px; object-fit: cover; }
.drawer-spotlight-title { font-weight: 600; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.drawer-spotlight-date { font-size: 0.75rem; opacity: 0.8; }

/* Liste accordéons (structure fullscreen) */
.drawer-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 14px; }

/* Remplace l’ancienne rangée de cartes : pousse admin + déconnexion vers le bas du tiroir */
.drawer-footer-actions {
    margin-top: auto;
    flex-shrink: 0;
}
.drawer-item {
    border: 1px solid rgba(53,39,26,0.12);
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(255,154,86,0.08) 0%, rgba(245,160,184,0.08) 40%, rgba(158,189,243,0.08) 100%);
    box-shadow: 0 2px 8px rgba(53,39,26,0.05);
    overflow: hidden;
    -webkit-tap-highlight-color: transparent;
}
.drawer-trigger {
    width: 100%;
    min-height: 56px;
    padding: 12px 14px;
    border: 0;
    background: transparent;
    color: var(--brun);
    cursor: pointer;
    display: grid;
    grid-template-columns: 44px 1fr 24px;
    align-items: center;
    gap: 10px;
    text-align: left;
    font: inherit;
    -webkit-tap-highlight-color: transparent;
    outline: none;
}
.drawer-trigger:hover { background: rgba(53,39,26,0.04); }
.drawer-icon {
    width: 44px; height: 44px;
    border-radius: 12px;
    background: rgba(53,39,26,0.08);
    display: grid;
    place-items: center;
    font-size: 1.25rem;
}
.drawer-label strong { display: block; font-size: 1rem; font-weight: 600; }
.drawer-chevron { transition: transform 220ms ease; opacity: 0.8; }
.drawer-item.open .drawer-chevron { transform: rotate(90deg); }
.drawer-pane {
    max-height: 0;
    overflow: hidden;
    transition: max-height 280ms ease;
    background: linear-gradient(180deg, rgba(255,154,86,0.06) 0%, rgba(158,189,243,0.06) 100%);
    border-top: 1px solid rgba(53,39,26,0.08);
    border-radius: 0 0 12px 12px;
}
.drawer-pane-inner { padding: 8px 14px 12px 58px; display: grid; gap: 2px; }
.drawer-subitem {
    color: var(--brun);
    text-decoration: none;
    padding: 8px 0;
    font-size: 0.92rem;
    border-bottom: 1px solid rgba(53,39,26,0.06);
    -webkit-tap-highlight-color: transparent;
}
.drawer-subitem:last-child { border-bottom: 0; }
.drawer-subitem:hover { color: var(--bleu); }
.drawer-subitem.active { font-weight: 600; color: var(--brun); }

.drawer-bottom {
    margin-top: auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    padding-top: 14px;
}
.drawer-nav-card {
    border: 1px solid rgba(53,39,26,0.12);
    background: rgba(53,39,26,0.05);
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(53,39,26,0.06);
    min-height: 56px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    color: var(--brun);
    font-size: 0.72rem;
    font-weight: 500;
    text-align: center;
    padding: 8px 4px;
    text-decoration: none;
    transition: background 0.2s ease;
    -webkit-tap-highlight-color: transparent;
}
.drawer-nav-card:hover { background: rgba(53,39,26,0.1); color: var(--brun); box-shadow: 0 3px 10px rgba(53,39,26,0.08); }

.user-info {
    display: flex; align-items: center; padding: 12px;
    background: var(--taupe); border-radius: 10px; margin-bottom: 14px;
}
.user-avatar {
    width: 44px; height: 44px; border-radius: 50%;
    background: linear-gradient(135deg, var(--abricot), var(--rose));
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem; font-weight: 700; color: var(--brun); margin-right: 12px;
}
.user-name { font-weight: 600; color: var(--brun); font-size: 0.95rem; }
.user-email { font-size: 0.8rem; color: var(--brun); opacity: 0.75; }

.drawer-section { margin-bottom: 18px; }
.drawer-section-title {
    font-size: 0.7rem; font-weight: 700; color: var(--brun);
    text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 8px; opacity: 0.8;
}
.drawer-nav-item {
    display: flex; align-items: center; padding: 10px 12px;
    color: var(--brun); text-decoration: none; border-radius: 10px;
    margin-bottom: 4px; transition: background 0.2s;
}
.drawer-nav-item:hover { background: var(--taupe); }
.drawer-nav-item.active { background: var(--bleu-poudre); color: var(--brun); }
.drawer-nav-icon { margin-right: 10px; font-size: 1.15rem; display: inline-flex; align-items: center; justify-content: center; }
.drawer-nav-icon .icon { flex-shrink: 0; }
.drawer-icon .icon { display: block; }
.drawer-nav-item-btn { width: 100%; border: none; background: none; cursor: pointer; font: inherit; text-align: left; }
.drawer-bottom-actions { padding-top: 8px; border-top: 1px solid rgba(53,39,26,0.08); }


/* --- Colonne page (layout app + pages autonomes avec footer) --- */
.site-layout-root {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    min-height: 100dvh;
}
.site-layout-main {
    flex: 1 0 auto;
}
/* Padding sous le header : seulement sur <main> du layout app (pas sur div.page-shell.site-layout-main) */
main.site-layout-main {
    box-sizing: border-box;
    padding-top: var(--app-header-offset);
}
/* Un seul élément <main class="… page-shell"> : sans ceci, main.site-layout-main gagne en spécificité et
   supprime le +16px de .page-shell (contenu collé sous le header vs autres pages). */
main.site-layout-main.page-shell {
    padding-top: calc(var(--app-header-offset) + 16px);
}
.site-layout-root > main.site-layout-main:has(> .page-shell) {
    padding-top: 0;
}

/* --- Pied de page public (logo comme admin) — fond crème = page, bloc plus bas --- */
.site-footer {
    flex-shrink: 0;
    width: 100%;
    min-height: 0;
    padding: 12px 12px 16px;
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border-top: 1px solid var(--line, rgba(53, 39, 26, 0.12));
    background: #fcf9f0;
    background: var(--cream, var(--creme, #fcf9f0));
    box-sizing: border-box;
}
.site-footer__logo {
    max-height: 64px;
    width: auto;
    max-width: min(92vw, 360px);
    height: auto;
    object-fit: contain;
    display: block;
}
.site-footer__wordmark {
    font-size: 1.05rem;
    font-weight: 800;
    color: #1f1610;
    letter-spacing: 0.02em;
}

/* --- Menu tiroir : bloc bas pour éviter l’effet de rebond en fin de liste --- */
.drawer-footer-spacer {
    width: 100%;
    min-height: 150px;
    height: 150px;
    flex-shrink: 0;
    pointer-events: none;
    box-sizing: border-box;
}

/* (Ancien menu fullscreen supprimé — drawer latéral utilisé) */
@media (max-width: 768px) {
    .header-center { font-size: 0.95rem; }
}
@media (max-width: 400px) {
    .drawer-pane-inner { padding-left: 14px; }
    .drawer-trigger { grid-template-columns: 40px 1fr 20px; min-height: 52px; }
    .drawer-icon { width: 40px; height: 40px; }
}

/* ========== Icônes SVG (style moderne, currentColor) ========== */
.icon {
    display: inline-block;
    vertical-align: middle;
    color: currentColor;
    flex-shrink: 0;
}
.icon--sm { width: 18px; height: 18px; }
.icon--lg { width: 28px; height: 28px; }
.icon-loading-spin {
    animation: icon-spin 0.8s linear infinite;
}

/* ========== Hamburger shake animation ========== */
@keyframes hamburger-shake {
    0%, 65%, 100% { transform: rotate(0deg); }
    68%  { transform: rotate(-8deg); }
    71%  { transform: rotate(8deg); }
    74%  { transform: rotate(-6deg); }
    77%  { transform: rotate(5deg); }
    80%  { transform: rotate(-3deg); }
    83%  { transform: rotate(2deg); }
    86%  { transform: rotate(0deg); }
}
@media (prefers-reduced-motion: reduce) {
    .hamburger-btn, .nav-trigger {
        animation: none !important;
    }
}

@keyframes icon-spin {
    to { transform: rotate(360deg); }
}

/* Mobile : moindre latence au tap ; éviter zoom auto iOS sur focus (champs & date) */
html {
    font-size: 99%;
    touch-action: manipulation;
    -webkit-text-size-adjust: 100%;
}
@media (max-width: 1024px) {
    input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="hidden"]),
    select,
    textarea {
        font-size: 16px !important;
    }
}
