

/* =========================================
   DGIPK - STYLE GENERAL
========================================= */

:root {
    --blue: #073b79;
    --blue-dark: #06264e;
    --blue-deep: #041b38;
    --blue-light: #eaf2fc;
    --gold: #e8b33f;
    --gold-light: #fff4d9;
    --white: #ffffff;
    --text: #26364b;
    --muted: #6d7c90;
    --border: #e5eaf1;
    --background: #f6f8fc;
    --green: #168567;
    --shadow: 0 16px 45px rgba(14, 39, 76, 0.09);
    --radius: 18px;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.65;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

button,
input,
select,
textarea {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

img {
    display: block;
    max-width: 100%;
}

.container {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
}

.section {
    padding: 95px 0;
}

/* =========================================
   BARRE SUPERIEURE
========================================= */

.topbar {
    background: var(--blue-dark);
    color: rgba(255, 255, 255, 0.86);
    font-size: 12px;
    letter-spacing: 0.3px;
}

.topbar-content {
    min-height: 36px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

/* =========================================
   EN-TETE
========================================= */

.site-header {
    background: var(--white);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(10, 40, 80, 0.07);
}

.header-content {
    min-height: 91px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 13px;
    flex-shrink: 0;
}

.brand img {
    height: 58px;
    object-fit: contain;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.35;
}

.brand-text strong {
    font-size: 23px;
    color: var(--blue);
    letter-spacing: 1.1px;
}

.brand-text small {
    font-size: 10px;
    color: #5c6c80;
    line-height: 1.5;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 26px;
}

.nav-link {
    color: #46556a;
    font-size: 13px;
    font-weight: 600;
    transition: color 0.25s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--blue);
}

.menu-toggle {
    display: none;
    border: 0;
    background: transparent;
    cursor: pointer;
    padding: 8px;
}

.menu-toggle span {
    display: block;
    height: 2px;
    width: 25px;
    margin: 5px 0;
    background: var(--blue);
}

/* =========================================
   BOUTONS
========================================= */

.btn {
    min-height: 47px;
    padding: 12px 21px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 7px;
    font-size: 13px;
    font-weight: 700;
    text-align: center;
    border: 1px solid transparent;
    cursor: pointer;
    transition:
        transform 0.25s ease,
        background 0.25s ease,
        box-shadow 0.25s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: var(--blue);
    color: var(--white);
    box-shadow: 0 7px 18px rgba(7, 59, 121, 0.16);
}

.btn-primary:hover {
    background: #0b4c96;
}

.btn-gold {
    background: var(--gold);
    color: #1c2d42;
    box-shadow: 0 8px 20px rgba(232, 179, 63, 0.2);
}

.btn-gold:hover {
    background: #f2c65c;
}

.btn-outline-light {
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.55);
    background: rgba(255, 255, 255, 0.06);
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.15);
}

.nav-button {
    min-height: 42px;
    padding: 10px 15px;
    font-size: 12px;
}

/* =========================================
   HERO / DIAPORAMA
========================================= */

.hero {
    min-height: 620px;
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: var(--blue-dark);
    color: var(--white);
}

.hero-slideshow {
    position: absolute;
    inset: 0;
    z-index: -2;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transform: scale(1.06);
    transition:
        opacity 1s ease-in-out,
        transform 6s ease;
    will-change: opacity, transform;
}

.hero-slide.active {
    opacity: 1;
    transform: scale(1);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        linear-gradient(
            90deg,
            rgba(3, 22, 48, 0.94) 0%,
            rgba(5, 35, 72, 0.86) 42%,
            rgba(5, 35, 72, 0.48) 100%
        );
}

.hero-inner {
    min-height: 590px;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(310px, 0.8fr);
    align-items: center;
    gap: 75px;
    padding-top: 70px;
    padding-bottom: 95px;
}

.hero-content {
    max-width: 660px;
    padding: 10px 0;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 30px;
    padding: 7px 13px;
    margin-bottom: 25px;
    background: rgba(255, 255, 255, 0.07);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.4px;
}

.status-dot {
    height: 7px;
    width: 7px;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 0 4px rgba(232, 179, 63, 0.13);
}

.hero-kicker {
    color: var(--gold);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.7px;
    margin-bottom: 16px;
}

.hero h1 {
    font-size: clamp(38px, 4.3vw, 59px);
    line-height: 1.12;
    letter-spacing: -1.8px;
    font-weight: 800;
    max-width: 650px;
    margin-bottom: 22px;
}

.hero h1 span {
    color: var(--gold);
    display: block;
}

.hero-description {
    max-width: 560px;
    font-size: 15px;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.79);
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 13px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 23px;
    margin-top: 29px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 11px;
}

.trust-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: rgba(232, 179, 63, 0.17);
    color: var(--gold);
    font-size: 11px;
    font-weight: 800;
}

/* COMMANDES DU SLIDE */

.slide-controls {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-top: 34px;
}

.slide-dot {
    border: 0;
    cursor: pointer;
    width: 8px;
    height: 8px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.5);
    transition: width 0.3s ease, background 0.3s ease;
}

.slide-dot.active {
    width: 28px;
    background: var(--gold);
}

.slide-counter {
    margin-left: 7px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 10px;
    letter-spacing: 1px;
}

.slide-pause {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    margin-left: 5px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: var(--white);
    background: rgba(255, 255, 255, 0.08);
    cursor: pointer;
}

/* =========================================
   PANNEAU DROIT
   DETACHE VISUELLEMENT DU CONTENU
========================================= */

.hero-panel {
    align-self: center;
    position: relative;
    margin-top: 25px;
    transform: translateY(15px);
    padding: 30px 27px 23px;
    color: var(--text);
    background: rgba(255, 255, 255, 0.98);
    border-radius: 17px;
    border-top: 4px solid var(--gold);
    box-shadow: 0 25px 65px rgba(0, 0, 0, 0.27);
}

.panel-top {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.panel-icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    background: var(--blue-light);
    color: var(--blue);
    border-radius: 11px;
    font-size: 23px;
}

.panel-label {
    font-size: 11px;
    font-weight: 800;
    color: var(--blue);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-panel h2 {
    color: var(--blue-dark);
    font-size: 24px;
    line-height: 1.35;
    margin-bottom: 12px;
}

.hero-panel > p {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.panel-links {
    border-top: 1px solid var(--border);
}

.panel-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 0;
    border-bottom: 1px solid var(--border);
    transition: padding 0.25s ease;
}

.panel-link:hover {
    padding-left: 5px;
}

.panel-link-icon {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    border-radius: 9px;
    background: #f1f5fb;
    color: var(--blue);
    font-size: 11px;
    font-weight: 800;
}

.panel-link > span:nth-child(2) {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.panel-link strong {
    font-size: 12px;
    color: #20334d;
}

.panel-link small {
    font-size: 10px;
    color: var(--muted);
    margin-top: 3px;
}

.panel-arrow {
    margin-left: auto;
    color: var(--blue);
    font-size: 18px;
}

.panel-footer {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-top: 20px;
    color: var(--muted);
    font-size: 10px;
}

.panel-footer-line {
    width: 25px;
    height: 2px;
    background: var(--gold);
}

/* BANDE BASSE DU HERO */

.hero-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(3, 22, 48, 0.27);
}

.hero-bottom-content {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 44px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 10px;
    letter-spacing: 0.5px;
}

.bottom-separator {
    color: var(--gold);
}

/* =========================================
   DEUXIEME BLOC : STATISTIQUES
   ESPACEMENT ENTRE LE HERO ET LA CARTE
========================================= */

.stats-section {
    position: relative;
    z-index: 2;
    background: var(--background);
    padding: 5px 0 50px;
}

.stats-card {
    display: grid;
    grid-template-columns: 1.35fr 1fr 1fr 1fr;
    align-items: center;
    gap: 26px;
    position: relative;
    margin-top: 63px;
    padding: 31px;
    background: var(--white);
    border: 1px solid rgba(14, 39, 76, 0.06);
    border-radius: 16px;
    box-shadow: var(--shadow);
}

.stats-intro {
    padding-right: 18px;
}

.section-eyebrow {
    display: inline-block;
    color: var(--blue);
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.7px;
    margin-bottom: 13px;
}

.stats-intro h2 {
    font-size: 20px;
    line-height: 1.35;
    color: var(--blue-dark);
    margin-bottom: 8px;
}

.stats-intro p {
    font-size: 11px;
    line-height: 1.8;
    color: var(--muted);
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    border-left: 1px solid var(--border);
    padding-left: 22px;
}

.stat-icon {
    width: 37px;
    height: 37px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    margin-bottom: 12px;
    background: var(--blue-light);
    color: var(--blue);
    font-size: 20px;
}

.stat-item strong {
    font-size: 13px;
    color: var(--blue-dark);
    margin-bottom: 4px;
}

.stat-item > span:last-child {
    color: var(--muted);
    font-size: 10px;
    line-height: 1.7;
}

/* =========================================
   TITRES DE SECTIONS
========================================= */

.section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 39px;
}

.section-heading h2,
.taxpayer-content h2,
.contact-content h2 {
    font-size: clamp(29px, 3.2vw, 39px);
    line-height: 1.2;
    color: var(--blue-dark);
    letter-spacing: -0.8px;
    margin-bottom: 13px;
}

.section-heading p {
    max-width: 600px;
    font-size: 13px;
    color: var(--muted);
    line-height: 1.8;
}

.text-link {
    flex-shrink: 0;
    color: var(--blue);
    font-size: 12px;
    font-weight: 700;
}

.text-link span {
    margin-left: 5px;
}

/* =========================================
   SERVICES
========================================= */

.services-section {
    background: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.service-card {
    position: relative;
    padding: 27px 22px 24px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--white);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
    border-color: #d3e0f0;
}

.service-icon {
    width: 48px;
    height: 48px;
    border-radius: 13px;
    display: grid;
    place-items: center;
    font-size: 23px;
    margin-bottom: 23px;
}

.service-icon.blue {
    background: #eaf2ff;
    color: #1754a1;
}

.service-icon.gold {
    background: #fff5df;
    color: #a7760d;
}

.service-icon.green {
    background: #e5f7f0;
    color: #168567;
}

.service-icon.purple {
    background: #f0eaff;
    color: #7150b5;
}

.service-number {
    position: absolute;
    top: 34px;
    right: 22px;
    font-size: 10px;
    color: #a1adbd;
    font-weight: 700;
}

.service-card h3 {
    color: var(--blue-dark);
    font-size: 15px;
    line-height: 1.45;
    margin-bottom: 11px;
}

.service-card p {
    color: var(--muted);
    font-size: 11px;
    line-height: 1.9;
    margin-bottom: 20px;
}

.service-link {
    color: var(--blue);
    font-size: 11px;
    font-weight: 800;
}

.service-link span {
    margin-left: 5px;
}

/* =========================================
   ESPACE CONTRIBUABLE
========================================= */

.taxpayer-section {
    background: var(--background);
    overflow: hidden;
}

.taxpayer-grid {
    display: grid;
    grid-template-columns: 1fr 0.9fr;
    align-items: center;
    gap: 90px;
}

.taxpayer-content h2 {
    max-width: 560px;
}

.taxpayer-content > p {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.95;
    margin-bottom: 23px;
}

.check-list {
    list-style: none;
    display: grid;
    gap: 13px;
    margin-bottom: 30px;
}

.check-list li {
    display: flex;
    align-items: center;
    gap: 11px;
    font-size: 12px;
    color: #405169;
}

.check-list li::before {
    content: "✓";
    width: 21px;
    height: 21px;
    flex-shrink: 0;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #e2f4ec;
    color: var(--green);
    font-size: 11px;
    font-weight: 800;
}

.taxpayer-visual {
    position: relative;
    min-height: 410px;
    display: grid;
    place-items: center;
    background: linear-gradient(140deg, #e9f1fb, #dce8f8);
    border-radius: 25px;
    overflow: hidden;
}

.visual-decoration {
    position: absolute;
    border: 1px solid rgba(7, 59, 121, 0.12);
    border-radius: 50%;
}

.decoration-one {
    width: 360px;
    height: 360px;
}

.decoration-two {
    width: 460px;
    height: 460px;
}

.document-card {
    position: relative;
    z-index: 1;
    width: min(310px, calc(100% - 50px));
    padding: 27px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 20px 55px rgba(14, 39, 76, 0.17);
    transform: rotate(-3deg);
}

.document-header {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-bottom: 28px;
}

.document-logo {
    width: 39px;
    height: 39px;
    display: grid;
    place-items: center;
    border-radius: 9px;
    background: var(--blue);
    color: var(--white);
    font-size: 20px;
    font-weight: 800;
}

.document-header > div:last-child {
    display: flex;
    flex-direction: column;
}

.document-header strong {
    font-size: 14px;
    color: var(--blue);
}

.document-header small {
    font-size: 9px;
    color: var(--muted);
}

.document-line {
    height: 7px;
    border-radius: 5px;
    background: #e8edf4;
    margin-bottom: 10px;
}

.document-line.long {
    width: 100%;
}

.document-line.medium {
    width: 75%;
}

.document-line.short {
    width: 48%;
}

.document-divider {
    height: 1px;
    background: var(--border);
    margin: 21px 0 12px;
}

.document-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 11px 0;
    border-bottom: 1px solid #f0f2f6;
    font-size: 10px;
    color: #526178;
}

.document-tag {
    background: var(--gold-light);
    color: #8b650f;
    border-radius: 4px;
    padding: 4px 6px;
    font-size: 8px;
}

.document-check {
    color: var(--green);
    font-weight: 800;
}

.document-note {
    margin-top: 14px;
    color: #8b96a6;
    font-size: 8px;
    line-height: 1.6;
}

.floating-note {
    position: absolute;
    right: 15px;
    bottom: 32px;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 14px 17px;
    background: var(--white);
    border-radius: 11px;
    box-shadow: 0 10px 30px rgba(14, 39, 76, 0.12);
}

.floating-check {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    color: var(--green);
    background: #e5f7f0;
}

.floating-note > span:last-child {
    display: flex;
    flex-direction: column;
}

.floating-note strong {
    font-size: 10px;
    color: var(--blue-dark);
}

.floating-note small {
    font-size: 9px;
    color: var(--muted);
}

/* =========================================
   SERVICES EN LIGNE
========================================= */

.online-section {
    background: var(--white);
}

.online-card {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    align-items: center;
    position: relative;
    min-height: 300px;
    overflow: hidden;
    border-radius: 22px;
    background: linear-gradient(115deg, var(--blue-dark), #0b4c96);
    color: var(--white);
}

.online-content {
    position: relative;
    z-index: 2;
    padding: 48px;
}

.light-eyebrow {
    color: var(--gold);
}

.online-content h2 {
    max-width: 600px;
    font-size: clamp(28px, 3.4vw, 41px);
    line-height: 1.2;
    margin-bottom: 15px;
}

.online-content p {
    max-width: 540px;
    color: rgba(255, 255, 255, 0.75);
    font-size: 13px;
    line-height: 1.9;
    margin-bottom: 25px;
}

.online-decoration {
    min-height: 300px;
    position: relative;
    display: grid;
    place-items: center;
}

.online-circle {
    position: absolute;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
}

.circle-one {
    width: 220px;
    height: 220px;
}

.circle-two {
    width: 310px;
    height: 310px;
}

.online-symbol {
    position: relative;
    width: 125px;
    height: 125px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 27px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.22);
    transform: rotate(-8deg);
}

.online-symbol span {
    color: var(--white);
    font-weight: 800;
    letter-spacing: 1px;
    font-size: 19px;
}

.online-symbol strong {
    position: absolute;
    top: -13px;
    right: -13px;
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--gold);
    color: var(--blue-dark);
    font-size: 25px;
}

/* =========================================
   ACTUALITES
========================================= */

.news-section {
    background: var(--background);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.news-card {
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 15px;
    background: var(--white);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.news-image {
    min-height: 170px;
    display: flex;
    align-items: flex-end;
    padding: 20px;
    background-size: cover;
    background-position: center;
}

.news-image span {
    display: inline-block;
    border-radius: 4px;
    padding: 6px 9px;
    background: var(--gold);
    color: var(--blue-dark);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.8px;
}

.news-image-one {
    background:
        linear-gradient(135deg, rgba(5, 35, 72, 0.3), rgba(5, 35, 72, 0.8)),
        url("kinshasa-hero.jpg") center / cover;
}

.news-image-two {
    background:
        linear-gradient(135deg, rgba(5, 35, 72, 0.3), rgba(5, 35, 72, 0.8)),
        url("kinshasa-hero-2.jpg") center / cover;
}

.news-image-three {
    background:
        linear-gradient(135deg, rgba(5, 35, 72, 0.3), rgba(5, 35, 72, 0.8)),
        url("kinshasa-hero-3.jpg") center / cover;
}

.news-body {
    padding: 24px;
}

.news-category {
    color: #9a741d;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.news-body h3 {
    margin-top: 10px;
    margin-bottom: 10px;
    color: var(--blue-dark);
    font-size: 16px;
    line-height: 1.45;
}

.news-body p {
    color: var(--muted);
    font-size: 11px;
    line-height: 1.85;
    margin-bottom: 18px;
}

.content-notice {
    margin-top: 22px;
    color: var(--muted);
    font-size: 10px;
    line-height: 1.8;
}

/* =========================================
   CONTACT
========================================= */

.contact-section {
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    align-items: start;
    gap: 80px;
}

.contact-content h2 {
    max-width: 450px;
}

.contact-content > p {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.9;
    margin-bottom: 29px;
}

.contact-detail {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-top: 23px;
}

.contact-detail-icon {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    border-radius: 11px;
    background: var(--blue-light);
    color: var(--blue);
    font-size: 19px;
}

.contact-detail strong {
    display: block;
    color: var(--blue-dark);
    font-size: 12px;
    margin-bottom: 3px;
}

.contact-detail p {
    color: var(--muted);
    font-size: 11px;
    line-height: 1.8;
}

.contact-form-card {
    padding: 34px;
    border: 1px solid var(--border);
    border-radius: 17px;
    box-shadow: var(--shadow);
}

.contact-form-card h3 {
    color: var(--blue-dark);
    font-size: 22px;
    margin-bottom: 7px;
}

.contact-form-card > p {
    color: var(--muted);
    font-size: 11px;
    line-height: 1.8;
    margin-bottom: 23px;
}

.form-group {
    margin-bottom: 17px;
}

.form-group label {
    display: block;
    color: #30445e;
    font-size: 11px;
    font-weight: 700;
    margin-bottom: 7px;
}

.form-group input,
.form-group select,
.form-group textarea {
    display: block;
    width: 100%;
    padding: 12px 13px;
    border: 1px solid #dce3ed;
    border-radius: 7px;
    background: #fbfcfe;
    color: var(--text);
    font-size: 12px;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #5287c6;
    box-shadow: 0 0 0 3px rgba(7, 59, 121, 0.08);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-submit {
    width: 100%;
}

.form-feedback {
    margin-top: 13px;
    font-size: 11px;
    color: var(--green);
    overflow-wrap: anywhere;
}

/* =========================================
   FOOTER
========================================= */

.site-footer {
    background: #041b38;
    color: var(--white);
}

.footer-main {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 70px;
    padding-top: 60px;
    padding-bottom: 55px;
}

.footer-logo-mark {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: var(--gold);
    color: var(--blue-dark);
    font-size: 25px;
    font-weight: 900;
}

.footer-logo .brand-text strong {
    color: var(--white);
}

.footer-logo .brand-text small {
    color: rgba(255, 255, 255, 0.65);
}

.footer-brand > p {
    max-width: 350px;
    margin-top: 19px;
    color: rgba(255, 255, 255, 0.63);
    font-size: 11px;
    line-height: 1.9;
}

.footer-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.footer-column h3 {
    color: var(--gold);
    font-size: 12px;
    margin-bottom: 7px;
}

.footer-column a {
    color: rgba(255, 255, 255, 0.69);
    font-size: 11px;
    transition: color 0.2s ease;
}

.footer-column a:hover {
    color: var(--gold);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-bottom-content {
    min-height: 59px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    color: rgba(255, 255, 255, 0.57);
    font-size: 10px;
}

/* =========================================
   RESPONSIVE : TABLETTES
========================================= */

@media (max-width: 1050px) {
    .main-nav {
        gap: 15px;
    }

    .nav-link {
        font-size: 12px;
    }

    .hero-inner {
        grid-template-columns: minmax(0, 1fr) minmax(285px, 0.75fr);
        gap: 35px;
    }

    .hero h1 {
        font-size: 45px;
    }

    .hero-panel {
        padding: 25px 22px 20px;
    }

    .stats-card {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 25px;
    }

    .stats-intro {
        padding-right: 10px;
    }

    .stat-item:nth-child(3) {
        border-left: 0;
        padding-left: 0;
    }

    .services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .taxpayer-grid {
        gap: 45px;
    }

    .contact-grid {
        gap: 45px;
    }
}

/* =========================================
   RESPONSIVE : MOBILE
========================================= */

@media (max-width: 760px) {
    .container {
        width: min(100% - 34px, 560px);
    }

    .section {
        padding: 65px 0;
    }

    .topbar-content {
        min-height: 33px;
        font-size: 9px;
    }

    .header-content {
        min-height: 75px;
        gap: 15px;
    }

    .brand img {
        height: 45px;
    }

    .brand-text strong {
        font-size: 20px;
    }

    .brand-text small {
        font-size: 9px;
    }

    .menu-toggle {
        display: block;
    }

    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 12px 20px 20px;
        background: var(--white);
        border-top: 1px solid var(--border);
        box-shadow: 0 15px 25px rgba(14, 39, 76, 0.1);
    }

    .main-nav.open {
        display: flex;
    }

    .nav-link {
        padding: 12px 5px;
        border-bottom: 1px solid #edf0f5;
        font-size: 13px;
    }

    .nav-button {
        margin-top: 13px;
    }

    .hero {
        min-height: auto;
    }

    .hero-overlay {
        background: linear-gradient(
            180deg,
            rgba(3, 22, 48, 0.89),
            rgba(3, 22, 48, 0.86)
        );
    }

    .hero-inner {
        min-height: auto;
        grid-template-columns: 1fr;
        gap: 20px;
        padding-top: 65px;
        padding-bottom: 90px;
    }

    .hero-content {
        max-width: none;
    }

    .hero-badge {
        margin-bottom: 20px;
    }

    .hero-kicker {
        font-size: 9px;
        line-height: 1.8;
    }

    .hero h1 {
        font-size: clamp(35px, 9vw, 47px);
        letter-spacing: -1.1px;
    }

    .hero-description {
        font-size: 13px;
    }

    .hero-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .hero-trust {
        gap: 12px;
        flex-direction: column;
    }

    .slide-controls {
        margin-top: 25px;
    }

    .hero-panel {
        margin-top: 8px;
        transform: none;
        padding: 25px 21px 20px;
    }

    .hero-panel h2 {
        font-size: 22px;
    }

    .hero-bottom-content {
        min-height: 42px;
        justify-content: center;
        gap: 7px;
        font-size: 8px;
    }

    /* Le deuxième bloc reste détaché du hero */
    .stats-section {
        padding: 28px 0 35px;
    }

    .stats-card {
        margin-top: 0;
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 25px 21px;
        border-radius: 14px;
    }

    .stats-intro {
        padding: 0 0 17px;
        border-bottom: 1px solid var(--border);
    }

    .stat-item,
    .stat-item:nth-child(3) {
        flex-direction: row;
        align-items: center;
        gap: 12px;
        border-left: 0;
        padding-left: 0;
    }

    .stat-icon {
        margin-bottom: 0;
        flex-shrink: 0;
    }

    .stat-item strong {
        min-width: 100px;
        margin-bottom: 0;
    }

    .stat-item > span:last-child {
        flex: 1;
    }

    .section-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 15px;
        margin-bottom: 28px;
    }

    .section-heading h2,
    .taxpayer-content h2,
    .contact-content h2 {
        font-size: 30px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .service-card {
        padding: 23px;
    }

    .taxpayer-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .taxpayer-visual {
        min-height: 370px;
    }

    .floating-note {
        right: 9px;
        bottom: 17px;
        padding: 11px;
    }

    .floating-note strong {
        font-size: 9px;
    }

    .online-card {
        grid-template-columns: 1fr;
    }

    .online-content {
        padding: 32px 25px 0;
    }

    .online-content h2 {
        font-size: 30px;
    }

    .online-decoration {
        min-height: 210px;
    }

    .circle-one {
        width: 160px;
        height: 160px;
    }

    .circle-two {
        width: 220px;
        height: 220px;
    }

    .online-symbol {
        width: 95px;
        height: 95px;
    }

    .online-symbol span {
        font-size: 16px;
    }

    .news-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .news-image {
        min-height: 190px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .contact-form-card {
        padding: 25px 20px;
    }

    .footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 35px 25px;
        padding-top: 45px;
        padding-bottom: 40px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .footer-bottom-content {
        padding-top: 14px;
        padding-bottom: 14px;
        align-items: flex-start;
        flex-direction: column;
        gap: 5px;
    }
}

/* PETITS ECRANS */

@media (max-width: 380px) {
    .container {
        width: calc(100% - 26px);
    }

    .brand {
        gap: 8px;
    }

    .brand img {
        height: 38px;
    }

    .brand-text strong {
        font-size: 18px;
    }

    .brand-text small {
        font-size: 8px;
    }

    .hero h1 {
        font-size: 33px;
    }

    .hero-bottom-content {
        font-size: 7px;
        gap: 5px;
    }

    .stat-item {
        flex-wrap: wrap;
    }
}

/* ACCESSIBILITE */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}
