/*
Theme Name: African Customs
Theme URI: https://africancustoms.example.com/
Author: Include Technologie
Author URI: https://bengonozangjosephelvis.com/
Description: Thème WordPress institutionnel sur-mesure pour African Customs, le magazine panafricain des douanes, de la lutte contre la fraude et du commerce intra-africain. Contenu dynamique : actualités, portraits & leadership, éditions du magazine (PDF), newsletter et formulaire de contact sécurisé.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: african-customs
Tags: news, magazine, custom-colors, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

:root {
    --ac-navy: #0A1F44;
    --ac-navy-dark: #071730;
    --ac-gold: #C9A227;
    --ac-gold-light: #E4C465;
    --ac-white: #FFFFFF;
    --ac-text: #172033;
    --ac-muted: #667085;
    --ac-border: #E7EAF0;
    --ac-bg: #F7F9FC;
    --ac-container: 1180px;
    --ac-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --ac-font-serif: Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--ac-text);
    background: var(--ac-white);
    font-family: var(--ac-font);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
ul { list-style: none; }

.ac-container {
    width: min(100% - 40px, var(--ac-container));
    margin-inline: auto;
}

.ac-section { padding: 72px 0; }
.ac-section--light { background: var(--ac-bg); }

.ac-section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 32px;
}
.ac-section-heading h2 {
    margin: 0;
    color: var(--ac-navy);
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 800;
    line-height: 1.15;
}
.ac-section-heading h2::before {
    content: "";
    display: inline-block;
    width: 28px;
    height: 4px;
    margin: 0 12px 6px 0;
    background: var(--ac-gold);
    vertical-align: middle;
}
.ac-section-heading a {
    flex-shrink: 0;
    color: var(--ac-navy);
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}
.ac-section-heading a:hover { color: var(--ac-gold); }

.ac-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 22px;
    border-radius: 3px;
    border: 1px solid var(--ac-gold);
    background: var(--ac-gold);
    color: var(--ac-navy);
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: filter .15s ease, transform .15s ease;
}
.ac-btn:hover { filter: brightness(.95); }
.ac-btn:active { transform: translateY(1px); }
.ac-btn--outline {
    background: transparent;
    border-color: rgba(255,255,255,.4);
    color: #fff;
}
.ac-btn--outline:hover { border-color: var(--ac-gold); color: var(--ac-gold); }
.ac-btn[disabled] { opacity: .6; cursor: not-allowed; }

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}
.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 999999;
    background: var(--ac-navy);
    color: #fff;
    padding: 10px 16px;
}
.skip-link:focus { left: 10px; top: 10px; }

.ac-form-message {
    margin-top: 12px;
    padding: 10px 14px;
    border-radius: 3px;
    font-size: 13px;
    display: none;
}
.ac-form-message.is-visible { display: block; }
.ac-form-message.is-success { background: #e6f4ea; color: #1e7d3c; }
.ac-form-message.is-error { background: #fdeaea; color: #b42318; }
