:root {
    --card-white: #ffffff;
    --text-dark: #1a1a1a;
    --text-mid: #4a4a4a;
    --text-light: #888888;
    --accent-cyan: #5dd9e8;
    --accent-blue: #2d5a8c;
    --accent-blue-hover: #234a73;
    --border-light: #e8e8e8;
    --bg-subtle: #f8f8f8;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08), 0 8px 24px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 12px 28px rgba(0, 0, 0, 0.12), 0 16px 48px rgba(0, 0, 0, 0.10);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    height: 100%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: linear-gradient(135deg, #132744 0%, #0561d0 100%);
    min-height: 100vh;
    min-height: 100svh; /* mobile browsers height unit to avoid white bars */
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    line-height: 1.5;
}

.viewport {
    width: 100%;
    max-width: 520px;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    padding: 24px;
}

/* Carte avec effet glassmorphism + logo Abeilhé en background */
.card {
    background: rgba(146, 159, 171, 0.15);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid rgba(197, 210, 223, 0.3);
}

/* Logo Abeilhé Pro en background de toute la carte */
.card::before {
    content: '';
    position: absolute;
    top: 41.5%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 280px;
    height: 320px;
    background-image: url('https://res.cloudinary.com/dd0az8yyj/image/upload/v1757496766/Abeilhe%CC%81_Pro_rvddcu.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.4;
    z-index: 0;
    pointer-events: none;
    filter: grayscale(0.4) brightness(1.2) contrast(6);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

/* En-tête avec bordure élégante - tout au-dessus du background */
.top {
    padding: 44px 40px 8px;
    text-align: center;
    background: transparent;
    border-bottom: 2px solid var(--accent-cyan);
    position: relative;
    z-index: 1;
}

.top::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: var(--accent-cyan);
    opacity: 0.6;
}

.name {
    font-size: 32px;
    font-weight: 600;
    color: #ffffff;
    letter-spacing: -0.5px;
    margin-bottom: 8px;
}

.title {
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 6px;
}

.company {
    font-size: 13px;
    font-weight: 600;
    color: var(--accent-cyan);
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Logo responsive et centré */
.logo {
    width: 65vw;
    max-width: 320px;
    height: auto;
    aspect-ratio: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,.25));
}

/* CTA avec style bouton moderne */
.cta { display: none; }

.btn {
    width: auto;
    min-width: 33%;
    padding: 14px 28px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-transform: none;
    letter-spacing: 0.3px;
    font-family: inherit;
}

.btn.primary {
    background: transparent;
    color: #ffffff;
    border: 2px solid var(--accent-cyan);
    box-shadow: 0 0 15px rgba(93, 217, 232, 0.4), 
                inset 0 0 10px rgba(93, 217, 232, 0.1);
}

.btn.primary:hover {
    background: rgba(93, 217, 232, 0.15);
    border-color: var(--accent-cyan);
    transform: translateY(-2px);
    box-shadow: 0 0 25px rgba(93, 217, 232, 0.6),
                0 4px 16px rgba(93, 217, 232, 0.3),
                inset 0 0 15px rgba(93, 217, 232, 0.2);
}

.btn.primary:active {
    transform: translateY(0);
}

.hint {
    display: none;
}

/* Détails avec style épuré et filigrane Autonao en bas */
.details { display: none; }

.details::after { display: none; }

.list { display: none; }

.list li { display: none; }

.list li span { display: none; }

.list li a { display: none; }

.list li a:hover {
    color: var(--accent-cyan);
}

.list li::after { display: none; }

.list li#liPhone::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%235dd9e8' viewBox='0 0 24 24'%3E%3Cpath d='M20.01 15.38c-1.23 0-2.42-.2-3.53-.56a.977.977 0 00-1.01.24l-1.57 1.97c-2.83-1.35-5.48-3.9-6.89-6.83l1.95-1.66c.27-.28.35-.67.24-1.02-.37-1.11-.56-2.3-.56-3.53 0-.54-.45-.99-.99-.99H4.19C3.65 3 3 3.24 3 3.99 3 13.28 10.73 21 20.01 21c.71 0 .99-.63.99-1.18v-3.45c0-.54-.45-.99-.99-.99z'/%3E%3C/svg%3E");
}

.list li#liEmail::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%235dd9e8' viewBox='0 0 24 24'%3E%3Cpath d='M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4l-8 5-8-5V6l8 5 8-5v2z'/%3E%3C/svg%3E");
}

.list li#liSite::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%235dd9e8' viewBox='0 0 24 24'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-1 17.93c-3.95-.49-7-3.85-7-7.93 0-.62.08-1.21.21-1.79L9 15v1c0 1.1.9 2 2 2v1.93zm6.9-2.54c-.26-.81-1-1.39-1.9-1.39h-1v-3c0-.55-.45-1-1-1H8v-2h2c.55 0 1-.45 1-1V7h2c1.1 0 2-.9 2-2v-.41c2.93 1.19 5 4.06 5 7.41 0 2.08-.8 3.97-2.1 5.39z'/%3E%3C/svg%3E");
}

/* Responsive */
@media (max-width: 520px) {
    .viewport { padding: 20px; gap: 20px; }
    .logo { width: 70vw; max-width: 300px; }
    .btn { min-width: 60%; }
}

@media (max-width: 380px) {
    .list li {
        grid-template-columns: 1fr 24px;
        gap: 6px;
    }
    
    .list li span {
        font-size: 11px;
    }
}

/* États cachés */
[hidden] {
    display: none !important;
}

/* Focus visible pour accessibilité */
.btn:focus-visible {
    outline: 3px solid var(--accent-cyan);
    outline-offset: 2px;
}

.list li a:focus-visible {
    outline: 2px solid var(--accent-cyan);
    outline-offset: 2px;
    border-radius: 4px;
}
