/* =====================================================
   Flag of the World / Drapeau du Monde
   Institutional Premium Stylesheet (FR + EN)
   Boutique de drapeaux en ligne – Livraison à domicile
   Your satisfaction, the key to our success
   ===================================================== */

/* GLOBAL */
body {
    margin: 0;
    padding: 0;
    font-family: Inter, Arial, sans-serif;
    background: #f7f7f7;
    color: #222;
}

a {
    color: #004a99;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* TOPBAR */
.fc-topbar {
    background: #003366;
    color: #fff;
    padding: 8px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    flex-wrap: wrap;
}

.fc-topbar a {
    color: #fff;
    font-weight: 500;
}

.fc-sep {
    margin: 0 8px;
    opacity: 0.6;
}

.fc-topbar-btn {
    background: #ffcc00;
    color: #000;
    padding: 6px 12px;
    border-radius: 4px;
    font-weight: 600;
    white-space: nowrap;
}

.fc-topbar-btn:hover {
    background: #e6b800;
}

/* HEADER */
.fc-header-main {
    display: flex;
    align-items: center;
    padding: 20px;
    background: #fff;
}

.fc-header-left {
    flex: 1;
}

.fc-header-img {
    width: 100%;
    height: auto;
    border-radius: 6px;
}

.fc-header-right {
    flex: 1;
    text-align: center;
}

.fc-logo img {
    width: 180px;
    max-width: 100%;
    margin-bottom: 20px;
}

/* NAVIGATION */
.fc-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.fc-nav li {
    margin: 8px 0;
}

.fc-nav a {
    font-size: 18px;
    font-weight: 600;
    color: #003366;
}

.fc-nav a:hover {
    color: #0055aa;
}

/* HERO SECTION */
.fc-hero {
    display: flex;
    padding: 40px;
    background: #fff;
}

.fc-hero-left {
    flex: 1;
}

.fc-hero-right {
    flex: 1;
    padding-left: 40px;
}

.fc-hero-img {
    width: 100%;
    border-radius: 6px;
}

.fc-btn-primary {
    display: inline-block;
    background: #003366;
    color: #fff;
    padding: 12px 20px;
    border-radius: 4px;
    font-weight: 600;
    margin-right: 10px;
}

.fc-btn-secondary {
    display: inline-block;
    background: #ffcc00;
    color: #000;
    padding: 12px 20px;
    border-radius: 4px;
    font-weight: 600;
}

/* CATEGORIES */
.categories-cdm {
    padding: 40px;
    background: #f0f0f0;
}

.cat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.cat-item img {
    width: 100%;
    border-radius: 6px;
}

.cat-item a {
    display: block;
    margin-top: 10px;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
}

/* INSTITUTIONAL SECTION */
.institutionnel-cdm {
    padding: 40px;
    background: #fff;
    text-align: center;
}

/* FORMS */
.fc-form-section {
    padding: 40px;
    background: #fff;
}

.fc-form-intro {
    font-size: 18px;
    margin-bottom: 20px;
}

.fc-form {
    max-width: 600px;
    margin: auto;
}

.fc-form-row {
    margin-bottom: 20px;
}

.fc-form-row label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
}

.fc-form-row input,
.fc-form-row select,
.fc-form-row textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.fc-form-row textarea {
    height: 140px;
}

/* =====================================================
   FOOTER PREMIUM
   ===================================================== */

.footer {
    background: #003366;
    color: #fff;
    padding: 40px 20px;
}

.footer-top {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
}

.footer-col h3 {
    margin-bottom: 12px;
    font-size: 18px;
    font-weight: 700;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col li {
    margin-bottom: 8px;
    font-size: 15px;
}

.footer-col a {
    color: #ffcc00;
    font-weight: 600;
}

.footer-col a:hover {
    color: #ffffff;
}

/* PAYMENT ICONS */
.footer-payment-icons {
    display: flex;
    gap: 12px;
    margin-top: 12px;
}

.footer-payment-icons img {
    width: 42px;
    height: auto;
    filter: brightness(1.1);
}

/* SOCIAL ICONS */
.footer-social-icons {
    display: flex;
    gap: 14px;
    margin-top: 12px;
}

.footer-social-icons img {
    width: 38px;
    height: auto;
    filter: brightness(1.1);
}

/* BRANDING LOGO */
.footer-logo {
    width: 160px;
    margin-bottom: 12px;
    display: block;
}

/* BOTTOM */
.footer-bottom {
    text-align: center;
    margin-top: 30px;
    font-size: 14px;
    opacity: 0.9;
}

.footer-bottom a {
    color: #ffcc00;
    font-weight: 600;
}

.footer-bottom a:hover {
    color: #ffffff;
}

/* =====================================================
   RESPONSIVE PREMIUM
   ===================================================== */

/* Tablets */
@media (max-width: 1024px) {
    .fc-header-main {
        flex-direction: column;
        text-align: center;
    }

    .fc-hero {
        flex-direction: column;
        padding: 20px;
    }

    .fc-hero-right {
        padding-left: 0;
        margin-top: 20px;
    }

    .cat-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-top {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Mobiles */
@media (max-width: 768px) {
    .fc-topbar {
        padding: 8px 12px;
        font-size: 13px;
    }

    .fc-topbar-left,
    .fc-topbar-right {
        width: 100%;
        text-align: center;
        margin-bottom: 6px;
    }

    .fc-header-main {
        padding: 15px;
    }

    .fc-logo img {
        width: 150px;
    }

    .fc-nav a {
        font-size: 16px;
    }

    .fc-hero {
        padding: 20px 15px;
    }

    .categories-cdm {
        padding: 20px 15px;
    }

    .cat-grid {
        grid-template-columns: 1fr;
    }

    .institutionnel-cdm {
        padding: 20px 15px;
    }

    .fc-form-section {
        padding: 20px 15px;
    }

    .fc-form {
        width: 100%;
    }

    .footer {
        padding: 20px 15px;
    }

    .footer-top {
        grid-template-columns: 1fr;
    }
}

/* Very small mobiles */
@media (max-width: 480px) {
    .fc-btn-primary,
    .fc-btn-secondary {
        display: block;
        width: 100%;
        text-align: center;
        margin-bottom: 10px;
    }

    .fc-topbar-btn {
        display: block;
        margin-top: 6px;
    }
}

/* =====================================================
   MOBILE HAMBURGER PREMIUM
   ===================================================== */

.fc-mobile-bar {
    display: none;
    background: #003366;
    padding: 12px 20px;
    align-items: center;
    justify-content: space-between;
}

.fc-mobile-logo img {
    width: 140px;
}

.fc-hamburger {
    width: 32px;
    cursor: pointer;
}

.fc-hamburger span {
    display: block;
    height: 4px;
    background: #fff;
    margin: 6px 0;
    border-radius: 3px;
}

/* MOBILE MENU */
.fc-mobile-menu {
    display: none;
    background: #003366;
    padding: 20px;
}

.fc-mobile-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.fc-mobile-menu li {
    margin-bottom: 18px;
}

.fc-mobile-menu a {
    color: #fff;
    font-size: 20px;
    font-weight: 600;
}

.fc-mobile-menu-open {
    display: block;
}

/* RESPONSIVE ACTIVATION */
@media (max-width: 900px) {
    .fc-header-main {
        display: none;
    }

    .fc-mobile-bar {
        display: flex;
    }
}
