/* Style des pages d'information par pays - aligné sur la charte E-VISAS
   (mêmes variables que style.css : --ink, --crimson, --font-display, etc.) */

main {
    max-width: 1100px;
    margin: 0 auto;
    padding: 2.5rem 2rem 4rem;
}

section:first-of-type {
    text-align: center;
    margin-bottom: 1rem;
}

.country-image {
    width: 100%;
    max-width: 600px;
    height: 300px;
    object-fit: cover;
    border-radius: var(--radius);
    margin: 0 auto 1.5rem auto;
    box-shadow: var(--shadow-md);
    display: block;
}

section:first-of-type h2 {
    font-family: var(--font-display);
    font-size: 2.2rem;
    color: var(--ink);
    margin-bottom: .5rem;
}

section:first-of-type > p {
    font-size: 1.1rem;
    color: var(--muted);
    margin-bottom: 1.5rem;
}

.info-section {
    background: var(--paper);
    padding: 2rem;
    margin-bottom: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--stone);
}

.info-section h3 {
    font-family: var(--font-display);
    color: var(--ink);
    margin-bottom: 1rem;
    font-size: 1.4rem;
    border-bottom: 2px solid var(--crimson);
    padding-bottom: .5rem;
}

.visa-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.visa-card {
    background: var(--sand);
    padding: 1.5rem;
    border-radius: var(--radius);
    border-left: 4px solid var(--crimson);
    transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
    cursor: pointer;
}

.visa-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
    background: var(--stone-soft);
}

.visa-card h4 {
    font-family: var(--font-display);
    color: var(--ink);
    margin-bottom: .5rem;
}

.visa-card p {
    color: var(--muted);
}

.other-visas {
    margin-top: 1.5rem;
    color: var(--muted);
    font-size: .95rem;
}

.visa-requirements {
    background: var(--sand);
    padding: 1.5rem;
    border-radius: var(--radius);
    margin: 1rem 0;
    border-left: 4px solid var(--gold);
}

.visa-requirements h4 {
    font-family: var(--font-display);
    color: var(--ink);
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--gold);
    padding-bottom: .5rem;
}

.visa-requirements ul li strong {
    color: var(--crimson-deep);
}

.info-section ul {
    list-style: none;
}

.info-section ul li {
    padding: .5rem 0;
    border-bottom: 1px solid var(--stone);
    color: var(--ink-soft);
}

.info-section ul li:last-child {
    border-bottom: none;
}

.info-section ul li::before {
    content: "✓";
    color: var(--crimson);
    font-weight: bold;
    margin-right: .5rem;
}

.contact {
    text-align: center;
    background: linear-gradient(135deg, var(--ink), var(--ink-soft));
    color: #fff;
    padding: 2.5rem 2rem;
    border-radius: var(--radius);
}

.contact h3 {
    font-family: var(--font-display);
    border-bottom: none;
    color: #fff;
}

.contact p {
    color: rgba(255,255,255,.85);
}

.cta-button {
    display: inline-block;
    background: var(--crimson);
    color: #fff;
    padding: .9rem 1.8rem;
    text-decoration: none;
    border-radius: 999px;
    margin-top: 1rem;
    font-weight: 600;
    font-size: .95rem;
    transition: background .25s ease, transform .2s ease;
}

.cta-button:hover {
    background: var(--crimson-deep);
    transform: translateY(-1px);
}

.contact .cta-button {
    background: #fff;
    color: var(--crimson);
}

.contact .cta-button:hover {
    background: var(--crimson-tint);
}

.hidden {
    display: none;
}

@media (max-width: 768px) {
    section:first-of-type h2 {
        font-size: 1.7rem;
    }
    .visa-types {
        grid-template-columns: 1fr;
    }
    main {
        padding: 1.5rem 1.25rem 3rem;
    }
}
