/*
=========================================================
BTMS DE GUINÉE
Feuille de style principale
=========================================================
*/

/* =====================================================
   1. VARIABLES
===================================================== */

:root {
    --primary: #0b1f3a;
    --primary-light: #153b6d;
    --primary-dark: #071426;

    --secondary: #1d6fdc;
    --secondary-dark: #1559b3;
    --secondary-light: #eaf3ff;

    --accent: #f2b705;
    --accent-dark: #d49f00;

    --white: #ffffff;
    --black: #111827;

    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;

    --success: #16a34a;
    --danger: #dc2626;
    --warning: #f59e0b;
    --info: #0284c7;

    --body-bg: #ffffff;
    --surface: #ffffff;
    --surface-soft: #f8fafc;

    --text: #1e293b;
    --text-light: #64748b;
    --heading: #0b1f3a;

    --border: #e2e8f0;

    --font-main:
        "Segoe UI",
        Arial,
        Helvetica,
        sans-serif;

    --container: 1380px;

    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;

    --shadow-sm:
        0 2px 8px rgba(15, 23, 42, 0.06);

    --shadow-md:
        0 10px 30px rgba(15, 23, 42, 0.10);

    --shadow-lg:
        0 20px 50px rgba(15, 23, 42, 0.15);

    --transition:
        0.3s ease;

    --header-height: 82px;
}


/* =====================================================
   2. RESET
===================================================== */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;

    font-family: var(--font-main);

    font-size: 16px;
    line-height: 1.6;

    color: var(--text);
    background: var(--body-bg);

    -webkit-font-smoothing: antialiased;
}

body.menu-open {
    overflow: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
    margin-top: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--heading);
    line-height: 1.2;
}

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

    transition:
        color var(--transition),
        background var(--transition),
        border-color var(--transition),
        transform var(--transition);
}

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

button {
    cursor: pointer;
}

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

ul,
ol {
    margin: 0;
    padding: 0;
}

ul {
    list-style: none;
}


/* =====================================================
   3. ACCESSIBILITÉ
===================================================== */

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 3px solid rgba(29, 111, 220, 0.35);
    outline-offset: 3px;
}


/* =====================================================
   4. CONTENEUR
===================================================== */

.container {
    width: min(
        calc(100% - 48px),
        var(--container)
    );

    margin-inline: auto;
}


/* =====================================================
   5. BOUTONS
===================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    min-height: 46px;

    padding: 11px 22px;

    border: 1px solid transparent;
    border-radius: var(--radius-sm);

    font-weight: 700;
    line-height: 1.2;

    transition:
        transform var(--transition),
        box-shadow var(--transition),
        background var(--transition),
        border-color var(--transition);
}

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

.btn-primary {
    color: var(--white);
    background: var(--secondary);

    box-shadow:
        0 8px 20px rgba(29, 111, 220, 0.20);
}

.btn-primary:hover {
    color: var(--white);
    background: var(--secondary-dark);

    box-shadow:
        0 12px 26px rgba(29, 111, 220, 0.28);
}

.btn-outline {
    color: var(--secondary);
    background: transparent;
    border-color: var(--secondary);
}

.btn-outline:hover {
    color: var(--white);
    background: var(--secondary);
}


/* =====================================================
   6. HEADER
===================================================== */

.site-header {
    position: relative;
    z-index: 1000;

    width: 100%;

    background: var(--white);

    box-shadow:
        0 2px 14px rgba(15, 23, 42, 0.05);
}


/* =====================================================
   7. TOPBAR
===================================================== */

.topbar {
    min-height: 38px;

    color: rgba(255, 255, 255, 0.88);
    background: var(--primary-dark);

    font-size: 13px;
}

.topbar-inner {
    min-height: 38px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 24px;
}

.topbar-contact,
.topbar-links {
    display: flex;
    align-items: center;
    gap: 16px;
}

.topbar a:hover {
    color: var(--accent);
}

.topbar-separator {
    opacity: 0.35;
}


/* =====================================================
   8. NAVBAR
===================================================== */

.main-navbar {
    position: relative;

    min-height: var(--header-height);

    background: rgba(255, 255, 255, 0.98);
}

.navbar-inner {
    min-height: var(--header-height);

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 25px;
}


/* =====================================================
   9. LOGO / MARQUE
===================================================== */

.brand {
    flex-shrink: 0;

    display: flex;
    align-items: center;

    gap: 11px;
}

.brand-logo {
    width: 85px;
    height: 85px;
    object-fit: contain;
}
.brand-text {
    display: flex;
    flex-direction: column;

    line-height: 1.2;
}

.brand-text strong {
    color: var(--primary);

    font-size: 16px;
    font-weight: 800;
    letter-spacing: 0.3px;
}

.brand-text span {
    max-width: 210px;

    margin-top: 4px;

    color: var(--gray-500);

    font-size: 11px;
    line-height: 1.25;
}


/* =====================================================
   10. WRAPPER NAVIGATION
===================================================== */

.nav-wrapper {
    flex: 1;

    display: flex;
    align-items: center;
    justify-content: flex-end;

    gap: 22px;
}


/* =====================================================
   11. MENU PRINCIPAL
===================================================== */

.nav-menu {
    display: flex;
    align-items: center;

    gap: 4px;
}

.nav-menu > li {
    position: relative;
}

.nav-menu > li > a,
.dropdown-toggle {
    position: relative;

    display: flex;
    align-items: center;

    min-height: 46px;

    padding: 0 10px;

    border: 0;

    color: var(--gray-700);
    background: transparent;

    font-size: 14px;
    font-weight: 650;

    white-space: nowrap;
}

.nav-menu > li > a::after,
.dropdown-toggle::after {
    content: "";

    position: absolute;

    left: 10px;
    right: 10px;
    bottom: 4px;

    height: 2px;

    background: var(--secondary);

    transform: scaleX(0);
    transform-origin: center;

    transition:
        transform var(--transition);
}

.nav-menu > li > a:hover,
.nav-menu > li > a.active,
.dropdown-toggle:hover,
.dropdown-toggle.active {
    color: var(--secondary);
}

.nav-menu > li > a:hover::after,
.nav-menu > li > a.active::after,
.dropdown-toggle:hover::after,
.dropdown-toggle.active::after {
    transform: scaleX(1);
}


/* =====================================================
   12. DROPDOWN SERVICES
===================================================== */

.nav-dropdown {
    position: relative;
}

.dropdown-toggle {
    gap: 5px;
}

.dropdown-arrow {
    display: inline-block;

    font-size: 12px;

    transition:
        transform var(--transition);
}

.nav-dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;

    top: calc(100% + 12px);
    left: 50%;

    width: 290px;

    padding: 10px;

    visibility: hidden;
    opacity: 0;

    background: var(--white);

    border: 1px solid var(--border);
    border-radius: var(--radius-md);

    box-shadow: var(--shadow-lg);

    transform:
        translate(-50%, 8px);

    transition:
        opacity var(--transition),
        visibility var(--transition),
        transform var(--transition);
}

.dropdown-menu::before {
    content: "";

    position: absolute;

    top: -13px;
    left: 0;

    width: 100%;
    height: 14px;
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown.dropdown-open .dropdown-menu {
    visibility: visible;
    opacity: 1;

    transform:
        translate(-50%, 0);
}

.dropdown-menu li + li {
    margin-top: 2px;
}

.dropdown-menu a {
    display: block;

    padding: 10px 13px;

    color: var(--gray-700);

    border-radius: 7px;

    font-size: 13.5px;
    font-weight: 550;
}

.dropdown-menu a:hover {
    color: var(--secondary);
    background: var(--secondary-light);

    padding-left: 17px;
}


/* =====================================================
   13. ACTIONS NAVBAR
===================================================== */

.navbar-actions {
    flex-shrink: 0;

    display: flex;
    align-items: center;

    gap: 9px;
}

.btn-quote {
    min-height: 42px;

    padding-inline: 15px;

    font-size: 13px;

    white-space: nowrap;
}

.theme-toggle {
    width: 42px;
    height: 42px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 0;

    color: var(--primary);
    background: var(--gray-100);

    border: 1px solid var(--gray-200);
    border-radius: 50%;

    transition:
        background var(--transition),
        color var(--transition),
        transform var(--transition);
}

.theme-toggle:hover {
    color: var(--white);
    background: var(--primary);

    transform: rotate(8deg);
}

.theme-icon {
    font-size: 20px;
    line-height: 1;
}


/* =====================================================
   14. MENU HAMBURGER
===================================================== */

.mobile-menu-toggle {
    display: none;

    width: 44px;
    height: 44px;

    padding: 9px;

    border: 0;
    border-radius: var(--radius-sm);

    background: transparent;
}

.mobile-menu-toggle span {
    display: block;

    width: 100%;
    height: 2px;

    margin: 5px 0;

    background: var(--primary);

    border-radius: 10px;

    transition:
        transform var(--transition),
        opacity var(--transition);
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform:
        translateY(7px)
        rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform:
        translateY(-7px)
        rotate(-45deg);
}


/* =====================================================
   15. OVERLAY MOBILE
===================================================== */

.nav-overlay {
    position: fixed;

    inset: 0;

    z-index: 900;

    visibility: hidden;
    opacity: 0;

    background:
        rgba(2, 8, 23, 0.62);

    backdrop-filter:
        blur(3px);

    transition:
        opacity var(--transition),
        visibility var(--transition);
}

.nav-overlay.active {
    visibility: visible;
    opacity: 1;
}


/* =====================================================
   16. STRUCTURE GÉNÉRALE DES SECTIONS
===================================================== */

main {
    min-height: 60vh;
}

.section {
    position: relative;

    padding: 90px 0;
}

.section-sm {
    padding: 60px 0;
}

.section-lg {
    padding: 120px 0;
}

.section-soft {
    background: var(--surface-soft);
}

.section-heading {
    max-width: 760px;

    margin: 0 auto 48px;

    text-align: center;
}

.section-label {
    display: inline-flex;

    margin-bottom: 12px;

    color: var(--secondary);

    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.section-title {
    margin-bottom: 16px;

    color: var(--heading);

    font-size:
        clamp(30px, 4vw, 48px);

    font-weight: 800;
}

.section-description {
    margin-bottom: 0;

    color: var(--text-light);

    font-size: 17px;
}


/* =====================================================
   17. CARTES GÉNÉRALES
===================================================== */

.card {
    height: 100%;

    padding: 28px;

    background: var(--surface);

    border: 1px solid var(--border);
    border-radius: var(--radius-lg);

    box-shadow: var(--shadow-sm);

    transition:
        transform var(--transition),
        box-shadow var(--transition),
        border-color var(--transition);
}

.card:hover {
    transform: translateY(-6px);

    border-color:
        rgba(29, 111, 220, 0.22);

    box-shadow: var(--shadow-md);
}


/* =====================================================
   18. FOOTER
===================================================== */

.site-footer {
    position: relative;

    color: rgba(255, 255, 255, 0.74);
    background: var(--primary-dark);
}

.footer-main {
    padding: 75px 0 55px;
}

.footer-grid {
    display: grid;

    grid-template-columns:
        1.35fr
        0.8fr
        1fr
        1fr;

    gap: 48px;
}

.footer-column h2,
.footer-column h3 {
    color: var(--white);
}

.footer-column h2 {
    margin: 15px 0 4px;

    font-size: 21px;
}

.footer-column h3 {
    position: relative;

    margin-bottom: 22px;

    font-size: 17px;
}

.footer-column h3::after {
    content: "";

    display: block;

    width: 35px;
    height: 2px;

    margin-top: 9px;

    background: var(--secondary);
}


/* =====================================================
   19. LOGO FOOTER
===================================================== */

.footer-brand {
    display: inline-block;
}

.footer-logo {
    width: 82px;
    height: 82px;

    object-fit: contain;
}

.footer-slogan {
    margin-bottom: 14px;

    color: var(--accent);

    font-size: 13px;
    font-weight: 700;
}

.footer-about > p:not(.footer-slogan) {
    max-width: 350px;

    font-size: 14px;
    line-height: 1.8;
}


/* =====================================================
   20. RÉSEAUX SOCIAUX
===================================================== */

.footer-socials {
    display: flex;
    align-items: center;

    gap: 9px;

    margin-top: 23px;
}

.footer-socials a {
    width: 38px;
    height: 38px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    color: var(--white);
    background:
        rgba(255, 255, 255, 0.08);

    border:
        1px solid
        rgba(255, 255, 255, 0.10);

    border-radius: 50%;

    font-size: 12px;
    font-weight: 800;
}

.footer-socials a:hover {
    color: var(--white);
    background: var(--secondary);

    transform: translateY(-3px);
}


/* =====================================================
   21. LIENS FOOTER
===================================================== */

.footer-links li + li {
    margin-top: 9px;
}

.footer-links a {
    position: relative;

    display: inline-block;

    padding-left: 14px;

    font-size: 14px;
}

.footer-links a::before {
    content: "›";

    position: absolute;

    left: 0;

    color: var(--secondary);

    font-weight: 800;
}

.footer-links a:hover {
    color: var(--white);

    padding-left: 18px;
}


/* =====================================================
   22. CONTACT FOOTER
===================================================== */

.footer-contact ul {
    display: flex;
    flex-direction: column;

    gap: 15px;
}

.footer-contact li {
    display: flex;
    flex-direction: column;

    gap: 2px;
}

.footer-contact strong {
    color: var(--white);

    font-size: 13px;
}

.footer-contact span,
.footer-contact a {
    font-size: 14px;
}

.footer-contact a:hover {
    color: var(--accent);
}

.footer-quote {
    margin-top: 23px;
}


/* =====================================================
   23. FOOTER INFÉRIEUR
===================================================== */

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

    background:
        rgba(0, 0, 0, 0.12);
}

.footer-bottom-inner {
    min-height: 70px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;
}

.footer-bottom p {
    margin: 0;

    font-size: 13px;
}

.footer-legal {
    display: flex;
    align-items: center;

    gap: 22px;
}

.footer-legal a {
    font-size: 13px;
}

.footer-legal a:hover {
    color: var(--white);
}


/* =====================================================
   24. RETOUR EN HAUT
===================================================== */

.back-to-top {
    position: fixed;

    right: 24px;
    bottom: 24px;

    z-index: 800;

    width: 46px;
    height: 46px;

    display: flex;
    align-items: center;
    justify-content: center;

    visibility: hidden;
    opacity: 0;

    color: var(--white);
    background: var(--secondary);

    border: 0;
    border-radius: 50%;

    box-shadow:
        0 10px 30px
        rgba(29, 111, 220, 0.30);

    font-size: 21px;

    transform: translateY(15px);

    transition:
        opacity var(--transition),
        visibility var(--transition),
        transform var(--transition),
        background var(--transition);
}

.back-to-top.visible {
    visibility: visible;
    opacity: 1;

    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--secondary-dark);

    transform: translateY(-3px);
}


/* =====================================================
   25. UTILITAIRES
===================================================== */

.text-center {
    text-align: center;
}

.text-primary {
    color: var(--primary);
}

.text-secondary {
    color: var(--secondary);
}

.text-muted {
    color: var(--text-light);
}

.bg-soft {
    background: var(--surface-soft);
}

.w-100 {
    width: 100%;
}

.hidden {
    display: none !important;
}


/* =====================================================
   26. SÉLECTION DE TEXTE
===================================================== */

::selection {
    color: var(--white);
    background: var(--secondary);
}


/* =====================================================
   27. SCROLLBAR
===================================================== */

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--gray-100);
}

::-webkit-scrollbar-thumb {
    background: var(--gray-400);

    border: 2px solid var(--gray-100);
    border-radius: 20px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary);
}

/* =====================================================
   29. SERVICES - ACCUEIL
===================================================== */

.services-section {
    position: relative;

    overflow: hidden;

    background: var(--surface-soft);
}

.services-section::before {
    content: "";

    position: absolute;

    width: 420px;
    height: 420px;

    top: -220px;
    right: -180px;

    border-radius: 50%;

    background:
        rgba(29, 111, 220, 0.06);

    pointer-events: none;
}


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

.services-grid {
    position: relative;
    z-index: 2;

    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 24px;
}


/* =====================================================
   CARTE SERVICE
===================================================== */

.service-card {
    position: relative;

    min-height: 340px;

    display: flex;
    flex-direction: column;

    padding: 34px;

    overflow: hidden;

    background: var(--surface);

    border:
        1px solid
        var(--border);

    border-radius:
        var(--radius-lg);

    box-shadow:
        var(--shadow-sm);

    transition:
        transform var(--transition),
        box-shadow var(--transition),
        border-color var(--transition);
}

.service-card:hover {
    transform:
        translateY(-8px);

    border-color:
        rgba(29, 111, 220, 0.30);

    box-shadow:
        var(--shadow-md);
}


/* Ligne supérieure */

.service-card::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 4px;

    background:
        linear-gradient(
            90deg,
            var(--secondary),
            #60a5fa
        );

    transform: scaleX(0);

    transform-origin: left;

    transition:
        transform var(--transition);
}

.service-card:hover::before {
    transform: scaleX(1);
}


/* =====================================================
   NUMÉRO
===================================================== */

.service-number {
    position: absolute;

    top: 22px;
    right: 25px;

    color: var(--gray-200);

    font-size: 40px;
    font-weight: 900;

    line-height: 1;
}


/* =====================================================
   ICÔNE
===================================================== */

.service-icon {
    width: 62px;
    height: 62px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 25px;

    color: var(--secondary);

    background:
        var(--secondary-light);

    border-radius:
        16px;

    font-size: 16px;
    font-weight: 900;

    transition:
        color var(--transition),
        background var(--transition),
        transform var(--transition);
}

.service-card:hover
.service-icon {
    color: var(--white);

    background: var(--secondary);

    transform:
        rotate(-4deg)
        scale(1.06);
}


/* =====================================================
   TEXTE
===================================================== */

.service-card h3 {
    position: relative;
    z-index: 2;

    margin-bottom: 15px;

    font-size: 21px;
}

.service-card p {
    position: relative;
    z-index: 2;

    flex: 1;

    margin-bottom: 25px;

    color: var(--text-light);

    font-size: 14.5px;
    line-height: 1.75;
}


/* =====================================================
   LIEN
===================================================== */

.service-link {
    display: inline-flex;
    align-items: center;

    gap: 8px;

    align-self: flex-start;

    color: var(--secondary);

    font-size: 14px;
    font-weight: 750;
}

.service-link span {
    transition:
        transform var(--transition);
}

.service-link:hover {
    color: var(--secondary-dark);
}

.service-link:hover span {
    transform:
        translateX(5px);
}


/* =====================================================
   BOUTON FINAL
===================================================== */

.services-footer {
    display: flex;
    justify-content: center;

    margin-top: 45px;
}
/* =====================================================
   30. POURQUOI CHOISIR BTMS
===================================================== */

.why-btms {
    position: relative;

    overflow: hidden;

    background: var(--surface);
}

.why-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 0.9fr)
        minmax(0, 1.1fr);

    align-items: center;

    gap: 75px;
}


/* =====================================================
   CONTENU
===================================================== */

.why-content .section-title {
    max-width: 600px;
}

.why-content .section-description {
    max-width: 600px;

    margin-bottom: 30px;

    text-align: left;
}

.why-actions {
    display: flex;
    flex-wrap: wrap;

    gap: 12px;
}


/* =====================================================
   GRILLE DES VALEURS
===================================================== */

.why-cards {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 20px;
}


/* =====================================================
   CARTE
===================================================== */

.why-card {
    position: relative;

    display: flex;
    align-items: flex-start;

    gap: 18px;

    padding: 27px;

    background: var(--surface-soft);

    border:
        1px solid
        var(--border);

    border-radius:
        var(--radius-lg);

    transition:
        transform var(--transition),
        box-shadow var(--transition),
        border-color var(--transition);
}

.why-card:hover {
    transform: translateY(-5px);

    border-color:
        rgba(29, 111, 220, 0.25);

    box-shadow:
        var(--shadow-md);
}


/* =====================================================
   ICÔNE
===================================================== */

.why-icon {
    flex-shrink: 0;

    width: 50px;
    height: 50px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: var(--white);

    background:
        linear-gradient(
            135deg,
            var(--secondary),
            var(--primary-light)
        );

    border-radius: 14px;

    font-size: 18px;
    font-weight: 900;

    box-shadow:
        0 10px 25px
        rgba(29, 111, 220, 0.20);
}


/* =====================================================
   TEXTE
===================================================== */

.why-card h3 {
    margin-bottom: 8px;

    font-size: 18px;
}

.why-card p {
    margin: 0;

    color: var(--text-light);

    font-size: 14px;
    line-height: 1.7;
}
/* =====================================================
   31. RÉALISATIONS - ACCUEIL
===================================================== */

.projects-section {
    position: relative;

    background: var(--surface-soft);
}

.projects-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 40px;

    margin-bottom: 45px;
}

.projects-header > div {
    max-width: 720px;
}

.projects-header .section-title {
    margin-bottom: 15px;
}

.projects-header .section-description {
    margin-bottom: 0;
}


/* =====================================================
   GRILLE
===================================================== */

.projects-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 25px;
}


/* =====================================================
   CARTE
===================================================== */

.project-card {
    overflow: hidden;

    background: var(--surface);

    border:
        1px solid
        var(--border);

    border-radius:
        var(--radius-lg);

    box-shadow:
        var(--shadow-sm);

    transition:
        transform var(--transition),
        box-shadow var(--transition),
        border-color var(--transition);
}

.project-card:hover {
    transform: translateY(-7px);

    border-color:
        rgba(29, 111, 220, 0.25);

    box-shadow:
        var(--shadow-md);
}


/* =====================================================
   VISUEL
===================================================== */

.project-visual {
    position: relative;

    height: 245px;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    color: var(--white);
}

.project-visual::before {
    content: "";

    position: absolute;

    width: 190px;
    height: 190px;

    top: -80px;
    right: -60px;

    border:
        1px solid
        rgba(255,255,255,0.15);

    border-radius: 50%;
}

.project-visual::after {
    content: "";

    position: absolute;

    width: 120px;
    height: 120px;

    bottom: -60px;
    left: -35px;

    background:
        rgba(255,255,255,0.07);

    border-radius: 50%;
}


/* Différenciation visuelle */

.project-web {
    background:
        linear-gradient(
            135deg,
            #0b1f3a,
            #1d6fdc
        );
}

.project-network {
    background:
        linear-gradient(
            135deg,
            #123b6d,
            #0284c7
        );
}

.project-security {
    background:
        linear-gradient(
            135deg,
            #071426,
            #334155
        );
}


/* =====================================================
   SYMBOLE
===================================================== */

.project-symbol {
    position: relative;
    z-index: 2;

    width: 105px;
    height: 105px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: var(--white);

    background:
        rgba(255,255,255,0.10);

    border:
        1px solid
        rgba(255,255,255,0.20);

    border-radius: 25px;

    backdrop-filter: blur(8px);

    font-size: 22px;
    font-weight: 900;

    transition:
        transform var(--transition);
}

.project-card:hover
.project-symbol {
    transform:
        scale(1.08)
        rotate(-3deg);
}


/* =====================================================
   CATÉGORIE
===================================================== */

.project-category {
    position: absolute;

    z-index: 3;

    left: 20px;
    bottom: 18px;

    padding: 6px 11px;

    color: var(--white);

    background:
        rgba(7,20,38,0.55);

    border:
        1px solid
        rgba(255,255,255,0.15);

    border-radius: 50px;

    backdrop-filter: blur(7px);

    font-size: 11px;
    font-weight: 750;
}


/* =====================================================
   CONTENU
===================================================== */

.project-content {
    padding: 27px;
}

.project-content h3 {
    margin-bottom: 12px;

    font-size: 20px;
}

.project-content p {
    margin-bottom: 20px;

    color: var(--text-light);

    font-size: 14px;
    line-height: 1.7;
}

.project-link {
    display: inline-flex;
    align-items: center;

    gap: 8px;

    color: var(--secondary);

    font-size: 14px;
    font-weight: 750;
}

.project-link span {
    transition:
        transform var(--transition);
}

.project-link:hover span {
    transform: translateX(5px);
}
/* =====================================================
   32. FORMATIONS - ACCUEIL
===================================================== */

.training-section {
    position: relative;
    overflow: hidden;

    background: var(--surface);
}


/* =====================================================
   EN-TÊTE
===================================================== */

.training-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 40px;

    margin-bottom: 45px;
}

.training-header > div {
    max-width: 720px;
}

.training-header .section-title {
    margin-bottom: 15px;
}

.training-header .section-description {
    margin-bottom: 0;
}


/* =====================================================
   GRILLE
===================================================== */

.training-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 25px;
}


/* =====================================================
   CARTE
===================================================== */

.training-card {
    position: relative;

    display: flex;
    flex-direction: column;

    min-height: 390px;

    padding: 30px;

    overflow: hidden;

    background: var(--surface-soft);

    border:
        1px solid
        var(--border);

    border-radius:
        var(--radius-lg);

    transition:
        transform var(--transition),
        box-shadow var(--transition),
        border-color var(--transition);
}

.training-card:hover {
    transform: translateY(-7px);

    border-color:
        rgba(29, 111, 220, 0.28);

    box-shadow:
        var(--shadow-md);
}


/* =====================================================
   BARRE SUPÉRIEURE
===================================================== */

.training-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 12px;

    margin-bottom: 25px;
}

.training-category {
    color: var(--secondary);

    font-size: 12px;
    font-weight: 800;

    text-transform: uppercase;

    letter-spacing: 0.6px;
}

.training-status {
    padding: 6px 10px;

    color: var(--secondary);

    background:
        rgba(29, 111, 220, 0.10);

    border-radius: 50px;

    font-size: 11px;
    font-weight: 750;
}


/* =====================================================
   ICÔNE
===================================================== */

.training-icon {
    width: 60px;
    height: 60px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 22px;

    color: var(--white);

    background:
        linear-gradient(
            135deg,
            var(--primary),
            var(--secondary)
        );

    border-radius: 16px;

    font-size: 15px;
    font-weight: 900;

    box-shadow:
        0 12px 28px
        rgba(29, 111, 220, 0.18);

    transition:
        transform var(--transition);
}

.training-card:hover
.training-icon {
    transform:
        rotate(-4deg)
        scale(1.06);
}


/* =====================================================
   TEXTE
===================================================== */

.training-card h3 {
    margin-bottom: 13px;

    font-size: 20px;
}

.training-card > p {
    flex: 1;

    margin-bottom: 24px;

    color: var(--text-light);

    font-size: 14px;
    line-height: 1.7;
}


/* =====================================================
   INFORMATIONS
===================================================== */

.training-meta {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 12px;

    margin-bottom: 24px;
}

.training-meta > div {
    padding: 12px;

    background: var(--surface);

    border:
        1px solid
        var(--border);

    border-radius:
        var(--radius-md);
}

.training-meta span {
    display: block;

    margin-bottom: 4px;

    color: var(--text-light);

    font-size: 11px;
}

.training-meta strong {
    display: block;

    color: var(--text);

    font-size: 13px;
}


/* =====================================================
   LIEN
===================================================== */

.training-link {
    display: inline-flex;
    align-items: center;

    gap: 8px;

    align-self: flex-start;

    color: var(--secondary);

    font-size: 14px;
    font-weight: 750;
}

.training-link span {
    transition:
        transform var(--transition);
}

.training-link:hover span {
    transform: translateX(5px);
}
/* =====================================================
   33. BOUTIQUE - ACCUEIL
===================================================== */

.shop-section {
    position: relative;

    background: var(--surface-soft);
}


/* =====================================================
   EN-TÊTE
===================================================== */

.shop-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 40px;

    margin-bottom: 45px;
}

.shop-header > div {
    max-width: 720px;
}

.shop-header .section-title {
    margin-bottom: 15px;
}

.shop-header .section-description {
    margin-bottom: 0;
}


/* =====================================================
   GRILLE
===================================================== */

.shop-grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 22px;
}


/* =====================================================
   CARTE PRODUIT
===================================================== */

.product-card {
    overflow: hidden;

    background: var(--surface);

    border:
        1px solid
        var(--border);

    border-radius:
        var(--radius-lg);

    box-shadow:
        var(--shadow-sm);

    transition:
        transform var(--transition),
        box-shadow var(--transition),
        border-color var(--transition);
}

.product-card:hover {
    transform: translateY(-7px);

    border-color:
        rgba(29, 111, 220, 0.28);

    box-shadow:
        var(--shadow-md);
}


/* =====================================================
   VISUEL
===================================================== */

.product-visual {
    position: relative;

    height: 210px;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            var(--primary),
            #184f8e
        );
}

.product-visual::before {
    content: "";

    position: absolute;

    width: 180px;
    height: 180px;

    top: -90px;
    right: -70px;

    background:
        rgba(255,255,255,0.06);

    border-radius: 50%;
}

.product-symbol {
    position: relative;
    z-index: 2;

    width: 90px;
    height: 90px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: var(--white);

    background:
        rgba(255,255,255,0.10);

    border:
        1px solid
        rgba(255,255,255,0.18);

    border-radius: 22px;

    backdrop-filter: blur(8px);

    font-size: 18px;
    font-weight: 900;

    transition:
        transform var(--transition);
}

.product-card:hover
.product-symbol {
    transform:
        scale(1.08)
        rotate(-3deg);
}


/* =====================================================
   BADGE
===================================================== */

.product-badge {
    position: absolute;

    z-index: 3;

    top: 16px;
    left: 16px;

    padding: 6px 10px;

    color: var(--white);

    background:
        rgba(7,20,38,0.50);

    border-radius: 50px;

    font-size: 10px;
    font-weight: 800;

    text-transform: uppercase;

    letter-spacing: 0.5px;
}


/* =====================================================
   CONTENU
===================================================== */

.product-content {
    padding: 24px;
}

.product-category {
    display: block;

    margin-bottom: 9px;

    color: var(--secondary);

    font-size: 11px;
    font-weight: 800;

    text-transform: uppercase;

    letter-spacing: 0.5px;
}

.product-content h3 {
    margin-bottom: 11px;

    font-size: 18px;
}

.product-content p {
    margin-bottom: 20px;

    color: var(--text-light);

    font-size: 13.5px;
    line-height: 1.7;
}


/* =====================================================
   LIEN
===================================================== */

.product-link {
    display: inline-flex;
    align-items: center;

    gap: 8px;

    color: var(--secondary);

    font-size: 14px;
    font-weight: 750;
}

.product-link span {
    transition:
        transform var(--transition);
}

.product-link:hover span {
    transform: translateX(5px);
}
/* =====================================================
   34. ACTUALITÉS - ACCUEIL
===================================================== */

.news-section {
    position: relative;

    background: var(--surface);
}


/* =====================================================
   EN-TÊTE
===================================================== */

.news-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 40px;

    margin-bottom: 45px;
}

.news-header > div {
    max-width: 720px;
}

.news-header .section-title {
    margin-bottom: 15px;
}

.news-header .section-description {
    margin-bottom: 0;
}


/* =====================================================
   GRILLE
===================================================== */

.news-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 25px;
}


/* =====================================================
   CARTE
===================================================== */

.news-card {
    overflow: hidden;

    background: var(--surface-soft);

    border:
        1px solid
        var(--border);

    border-radius:
        var(--radius-lg);

    transition:
        transform var(--transition),
        box-shadow var(--transition),
        border-color var(--transition);
}

.news-card:hover {
    transform: translateY(-7px);

    border-color:
        rgba(29, 111, 220, 0.28);

    box-shadow:
        var(--shadow-md);
}


/* =====================================================
   VISUEL
===================================================== */

.news-visual {
    position: relative;

    height: 220px;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            var(--primary),
            var(--secondary)
        );
}

.news-visual::before {
    content: "";

    position: absolute;

    width: 180px;
    height: 180px;

    top: -80px;
    right: -60px;

    border-radius: 50%;

    background:
        rgba(255,255,255,0.07);
}

.news-symbol {
    position: relative;
    z-index: 2;

    width: 90px;
    height: 90px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: var(--white);

    background:
        rgba(255,255,255,0.10);

    border:
        1px solid
        rgba(255,255,255,0.18);

    border-radius: 22px;

    font-size: 17px;
    font-weight: 900;

    transition:
        transform var(--transition);
}

.news-card:hover
.news-symbol {
    transform:
        scale(1.08)
        rotate(-3deg);
}


/* =====================================================
   CATÉGORIE
===================================================== */

.news-category {
    position: absolute;

    z-index: 3;

    top: 16px;
    left: 16px;

    padding: 6px 11px;

    color: var(--white);

    background:
        rgba(7,20,38,0.55);

    border-radius: 50px;

    font-size: 11px;
    font-weight: 800;
}


/* =====================================================
   CONTENU
===================================================== */

.news-content {
    padding: 26px;
}

.news-meta {
    display: flex;
    flex-wrap: wrap;

    gap: 8px 15px;

    margin-bottom: 13px;

    color: var(--text-light);

    font-size: 11px;
}

.news-content h3 {
    margin-bottom: 13px;

    font-size: 19px;
    line-height: 1.4;
}

.news-content p {
    margin-bottom: 20px;

    color: var(--text-light);

    font-size: 13.5px;
    line-height: 1.7;
}


/* =====================================================
   LIEN
===================================================== */

.news-link {
    display: inline-flex;
    align-items: center;

    gap: 8px;

    color: var(--secondary);

    font-size: 14px;
    font-weight: 750;
}

.news-link span {
    transition:
        transform var(--transition);
}

.news-link:hover span {
    transform: translateX(5px);
}
/* =====================================================
   35. APPEL À L'ACTION - ACCUEIL
===================================================== */

.home-cta {
    position: relative;

    overflow: hidden;

    background: var(--surface);
}


/* =====================================================
   CONTENEUR CTA
===================================================== */

.home-cta-box {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 50px;

    padding: 55px 60px;

    overflow: hidden;

    color: var(--white);

    background:
        linear-gradient(
            135deg,
            var(--primary),
            #123b6d 55%,
            var(--secondary)
        );

    border-radius:
        28px;

    box-shadow:
        0 25px 65px
        rgba(11, 31, 58, 0.20);
}


/* Décoration */

.home-cta-box::before {
    content: "";

    position: absolute;

    width: 260px;
    height: 260px;

    top: -130px;
    right: -80px;

    border:
        1px solid
        rgba(255,255,255,0.15);

    border-radius: 50%;
}

.home-cta-box::after {
    content: "";

    position: absolute;

    width: 180px;
    height: 180px;

    bottom: -100px;
    left: 25%;

    background:
        rgba(255,255,255,0.05);

    border-radius: 50%;
}


/* =====================================================
   CONTENU
===================================================== */

.home-cta-content {
    position: relative;
    z-index: 2;

    max-width: 700px;
}

.home-cta-label {
    display: inline-block;

    margin-bottom: 14px;

    color: #bfdbfe;

    font-size: 12px;
    font-weight: 800;

    text-transform: uppercase;

    letter-spacing: 1px;
}

.home-cta-content h2 {
    margin-bottom: 18px;

    color: var(--white);

    font-size:
        clamp(
            28px,
            4vw,
            43px
        );

    line-height: 1.15;
}

.home-cta-content p {
    margin: 0;

    max-width: 650px;

    color:
        rgba(255,255,255,0.80);

    font-size: 15px;
    line-height: 1.75;
}


/* =====================================================
   ACTIONS
===================================================== */

.home-cta-actions {
    position: relative;
    z-index: 2;

    min-width: 215px;

    display: flex;
    flex-direction: column;

    gap: 12px;
}

.home-cta-actions .btn {
    width: 100%;

    justify-content: center;
}


/* Bouton principal */

.btn-cta-primary {
    color: var(--primary);

    background: var(--white);

    border:
        1px solid
        var(--white);
}

.btn-cta-primary:hover {
    color: var(--primary);

    background: #f8fafc;

    transform:
        translateY(-2px);
}


/* Bouton secondaire */

.btn-cta-secondary {
    color: var(--white);

    background:
        rgba(255,255,255,0.08);

    border:
        1px solid
        rgba(255,255,255,0.30);
}

.btn-cta-secondary:hover {
    color: var(--white);

    background:
        rgba(255,255,255,0.15);

    border-color:
        rgba(255,255,255,0.55);
}


/* WhatsApp */

.btn-whatsapp {
    color: var(--white);

    background: #16a34a;

    border:
        1px solid #16a34a;
}

.btn-whatsapp:hover {
    color: var(--white);

    background: #15803d;

    border-color: #15803d;

    transform:
        translateY(-2px);
}
/* =====================================================
   SERVICES - ÉTAT VIDE
===================================================== */

.services-empty {
    grid-column: 1 / -1;

    padding: 40px;

    text-align: center;

    background: var(--surface);

    border: 1px solid var(--border);

    border-radius: var(--radius-lg);
}

.services-empty p {
    margin: 0;

    color: var(--text-light);
}
/* =====================================================
   RÉALISATIONS DYNAMIQUES
===================================================== */

.project-image {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform var(--transition);
}

.project-card:hover
.project-image {
    transform: scale(1.06);
}


/* Assombrissement pour garder
   la catégorie lisible */

.project-visual:has(.project-image)::after {
    content: "";

    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    background:
        linear-gradient(
            to top,
            rgba(7, 20, 38, 0.65),
            rgba(7, 20, 38, 0.05)
        );

    border-radius: 0;
}


/* La catégorie reste devant l'image */

.project-visual
.project-category {
    z-index: 4;
}


/* État vide */

.projects-empty {
    grid-column: 1 / -1;

    padding: 45px;

    text-align: center;

    background: var(--surface);

    border:
        1px solid
        var(--border);

    border-radius:
        var(--radius-lg);
}

.projects-empty p {
    margin: 0;

    color: var(--text-light);
}
/* =====================================================
   FORMATIONS DYNAMIQUES
===================================================== */

.trainings-empty {
    grid-column: 1 / -1;

    padding: 45px;

    text-align: center;

    background: var(--surface);

    border: 1px solid var(--border);

    border-radius: var(--radius-lg);
}

.trainings-empty p {
    margin: 0;

    color: var(--text-light);
}
/* =====================================================
   BOUTIQUE DYNAMIQUE
===================================================== */

.product-image {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform var(--transition);
}

.product-card:hover
.product-image {
    transform: scale(1.06);
}

.shop-empty {
    grid-column: 1 / -1;

    padding: 45px;

    text-align: center;

    background: var(--surface);

    border: 1px solid var(--border);

    border-radius: var(--radius-lg);
}

.shop-empty p {
    margin: 0;

    color: var(--text-light);
}
/* =====================================================
   ACTUALITÉS DYNAMIQUES
===================================================== */

.news-image {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform var(--transition);
}

.news-card:hover
.news-image {
    transform: scale(1.06);
}

.news-empty {
    grid-column: 1 / -1;

    padding: 45px;

    text-align: center;

    background: var(--surface);

    border: 1px solid var(--border);

    border-radius: var(--radius-lg);
}

.news-empty p {
    margin: 0;

    color: var(--text-light);
}

/* =========================================================
   PAGE À PROPOS
========================================================= */

/* ---------------------------------------------------------
   HERO PAGE INTERNE
--------------------------------------------------------- */

.page-hero {
    position: relative;
    overflow: hidden;
    padding: 100px 0;
    background:
        linear-gradient(
            135deg,
            var(--primary) 0%,
            #102b4e 55%,
            #164a7c 100%
        );
    color: #ffffff;
}

.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.15;
    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.08) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.08) 1px,
            transparent 1px
        );
    background-size: 50px 50px;
}

.page-hero::after {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    right: -160px;
    top: -170px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
}

.page-hero-container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns:
        minmax(0, 1.25fr)
        minmax(300px, 0.75fr);
    gap: 70px;
    align-items: center;
}

.page-hero-content {
    max-width: 760px;
}

.page-hero-label {
    display: inline-flex;
    align-items: center;
    margin-bottom: 20px;
    padding: 8px 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.page-hero-content h1 {
    max-width: 760px;
    margin: 0 0 24px;
    color: #ffffff;
    font-size: clamp(2.4rem, 5vw, 4.5rem);
    line-height: 1.06;
    letter-spacing: -0.04em;
}

.page-hero-content > p {
    max-width: 700px;
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.08rem;
    line-height: 1.8;
}

.page-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 32px;
}

.btn-outline-light {
    border: 1px solid rgba(255, 255, 255, 0.4);
    background: transparent;
    color: #ffffff;
}

.btn-outline-light:hover {
    border-color: #ffffff;
    background: #ffffff;
    color: var(--primary);
}


/* ---------------------------------------------------------
   CARTE LOGO HERO
--------------------------------------------------------- */

.about-hero-brand {
    display: flex;
    justify-content: flex-end;
}

.about-brand-card {
    position: relative;
    width: 100%;
    max-width: 390px;
    padding: 42px 32px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.09);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(12px);
}

.about-brand-card::before {
    content: "";
    position: absolute;
    inset: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: calc(var(--radius-lg) - 6px);
    pointer-events: none;
}

.about-brand-card img {
    display: block;
    width: min(180px, 70%);
    max-height: 140px;
    object-fit: contain;
    margin: 0 auto 25px;
}

.about-brand-card strong {
    display: block;
    color: #ffffff;
    font-size: 1.15rem;
    letter-spacing: 0.08em;
}

.about-brand-card span {
    display: block;
    margin-top: 10px;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.6;
}


/* ---------------------------------------------------------
   PRÉSENTATION
--------------------------------------------------------- */

.about-presentation {
    background: var(--surface);
}

.about-presentation-grid {
    display: grid;
    grid-template-columns:
        minmax(0, 1fr)
        minmax(340px, 0.8fr);
    gap: 70px;
    align-items: center;
}

.about-presentation-content {
    max-width: 720px;
}

.about-presentation-content .section-title {
    margin-bottom: 25px;
}

.about-presentation-content p {
    margin: 0 0 18px;
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.85;
}

.about-presentation-content p:last-child {
    margin-bottom: 0;
}

.about-presentation-content strong {
    color: var(--text);
}


/* ---------------------------------------------------------
   DOMAINES D'EXPERTISE
--------------------------------------------------------- */

.about-expertise-box {
    padding: 35px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--surface);
    box-shadow: var(--shadow-md);
}

.about-box-label {
    display: inline-block;
    margin-bottom: 10px;
    color: var(--secondary);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.about-expertise-box h3 {
    margin: 0 0 25px;
    color: var(--text);
    font-size: 1.55rem;
}

.about-expertise-list {
    display: grid;
    gap: 10px;
}

.about-expertise-list > div {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--surface-alt);
    color: var(--text);
    font-weight: 600;
    transition:
        transform var(--transition),
        border-color var(--transition),
        box-shadow var(--transition);
}

.about-expertise-list > div:hover {
    transform: translateX(5px);
    border-color: var(--secondary);
    box-shadow: var(--shadow-sm);
}

.about-expertise-list span {
    display: grid;
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    place-items: center;
    border-radius: 50%;
    background: var(--primary);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 800;
}


/* ---------------------------------------------------------
   MISSION & VISION
--------------------------------------------------------- */

.mission-vision-section {
    background: var(--surface-alt);
}

.mission-vision-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 25px;
    margin-top: 45px;
}

.mission-card {
    position: relative;
    overflow: hidden;
    min-height: 310px;
    padding: 38px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--surface);
    box-shadow: var(--shadow-sm);
    transition:
        transform var(--transition),
        box-shadow var(--transition),
        border-color var(--transition);
}

.mission-card:hover {
    transform: translateY(-6px);
    border-color: rgba(29, 111, 220, 0.35);
    box-shadow: var(--shadow-md);
}

.mission-number {
    position: absolute;
    top: 24px;
    right: 28px;
    color: var(--border);
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
}

.mission-icon {
    display: grid;
    width: 54px;
    height: 54px;
    margin-bottom: 25px;
    place-items: center;
    border-radius: var(--radius-md);
    background: var(--primary);
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 800;
}

.mission-card h3 {
    margin: 0 0 16px;
    color: var(--text);
    font-size: 1.45rem;
}

.mission-card p {
    margin: 0;
    color: var(--text-light);
    line-height: 1.8;
}


/* ---------------------------------------------------------
   VALEURS
--------------------------------------------------------- */

.about-values {
    background: var(--surface);
}

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

.value-card {
    position: relative;
    min-height: 270px;
    padding: 30px;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--surface);
    transition:
        transform var(--transition),
        border-color var(--transition),
        box-shadow var(--transition);
}

.value-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    transform: scaleX(0);
    transform-origin: left;
    background: var(--secondary);
    transition: transform var(--transition);
}

.value-card:hover {
    transform: translateY(-6px);
    border-color: rgba(29, 111, 220, 0.3);
    box-shadow: var(--shadow-md);
}

.value-card:hover::before {
    transform: scaleX(1);
}

.value-number {
    display: block;
    margin-bottom: 35px;
    color: var(--secondary);
    font-size: 0.82rem;
    font-weight: 800;
}

.value-card h3 {
    margin: 0 0 15px;
    color: var(--text);
    font-size: 1.3rem;
}

.value-card p {
    margin: 0;
    color: var(--text-light);
    line-height: 1.75;
}


/* ---------------------------------------------------------
   TYPES DE CLIENTS
--------------------------------------------------------- */

.about-clients {
    background: var(--surface-alt);
}

.about-clients-grid {
    display: grid;
    grid-template-columns:
        minmax(0, 0.9fr)
        minmax(380px, 1.1fr);
    gap: 70px;
    align-items: center;
}

.about-clients-grid p {
    max-width: 650px;
    color: var(--text-light);
    line-height: 1.8;
}

.client-types {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
}

.client-type {
    display: flex;
    min-height: 110px;
    align-items: center;
    gap: 16px;
    padding: 22px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--surface);
    transition:
        transform var(--transition),
        border-color var(--transition);
}

.client-type:hover {
    transform: translateY(-4px);
    border-color: var(--secondary);
}

.client-type span {
    color: var(--secondary);
    font-size: 0.78rem;
    font-weight: 800;
}

.client-type strong {
    color: var(--text);
    font-size: 1rem;
}


/* ---------------------------------------------------------
   CTA À PROPOS
--------------------------------------------------------- */

.about-cta {
    background: var(--surface);
}

.about-cta-box {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    padding: 55px;
    border-radius: var(--radius-lg);
    background:
        linear-gradient(
            135deg,
            var(--primary),
            #164a7c
        );
    box-shadow: var(--shadow-lg);
}

.about-cta-box::after {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    right: -130px;
    bottom: -180px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
}

.about-cta-box > * {
    position: relative;
    z-index: 2;
}

.about-cta-box > div:first-child {
    max-width: 720px;
}

.about-cta-label {
    display: inline-block;
    margin-bottom: 12px;
    color: var(--accent);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.about-cta-box h2 {
    margin: 0 0 15px;
    color: #ffffff;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    line-height: 1.15;
}

.about-cta-box p {
    margin: 0;
    color: rgba(255, 255, 255, 0.76);
    line-height: 1.75;
}

.about-cta-actions {
    display: flex;
    flex: 0 0 auto;
    flex-direction: column;
    gap: 12px;
    min-width: 210px;
}

.about-cta-actions .btn {
    justify-content: center;
}


/* =========================================================
   PAGE À PROPOS - RESPONSIVE
========================================================= */

@media (max-width: 1100px) {

    .page-hero-container {
        gap: 40px;
    }

    .about-presentation-grid {
        gap: 45px;
    }

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

    .about-clients-grid {
        gap: 40px;
    }
}


@media (max-width: 850px) {

    .page-hero {
        padding: 80px 0;
    }

    .page-hero-container,
    .about-presentation-grid,
    .about-clients-grid {
        grid-template-columns: 1fr;
    }

    .about-hero-brand {
        justify-content: flex-start;
    }

    .about-brand-card {
        max-width: 500px;
    }

    .mission-vision-grid {
        grid-template-columns: 1fr;
    }

    .about-cta-box {
        align-items: flex-start;
        flex-direction: column;
    }

    .about-cta-actions {
        width: 100%;
        flex-direction: row;
    }
}


@media (max-width: 650px) {

    .page-hero {
        padding: 65px 0;
    }

    .page-hero-content h1 {
        font-size: 2.35rem;
    }

    .page-hero-actions {
        flex-direction: column;
    }

    .page-hero-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .about-brand-card,
    .about-expertise-box,
    .mission-card,
    .value-card {
        padding: 25px;
    }

    .values-grid,
    .client-types {
        grid-template-columns: 1fr;
    }

    .value-card {
        min-height: auto;
    }

    .about-cta-box {
        padding: 35px 25px;
    }

    .about-cta-actions {
        flex-direction: column;
    }

    .about-cta-actions .btn {
        width: 100%;
    }
}


@media (max-width: 380px) {

    .page-hero-content h1 {
        font-size: 2rem;
    }

    .about-brand-card {
        padding: 25px 18px;
    }

    .about-expertise-box,
    .mission-card,
    .value-card {
        padding: 22px 18px;
    }
}
/* =========================================================
   PAGE SERVICES
========================================================= */

/* ---------------------------------------------------------
   HERO SERVICES
--------------------------------------------------------- */

.services-page-hero {
    padding: 105px 0;
}

.services-hero-content {
    position: relative;
    z-index: 2;
    max-width: 850px;
}

.services-hero-content h1 {
    max-width: 820px;
    margin: 0 0 24px;
    color: #ffffff;
    font-size: clamp(2.5rem, 5vw, 4.6rem);
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.services-hero-content > p {
    max-width: 720px;
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.08rem;
    line-height: 1.8;
}


/* ---------------------------------------------------------
   INTRODUCTION
--------------------------------------------------------- */

.services-page-intro {
    padding-bottom: 45px;
    background: var(--surface);
}

.services-page-intro .section-heading {
    max-width: 850px;
    margin: 0 auto;
    text-align: center;
}

.services-page-intro .section-description {
    max-width: 760px;
    margin-right: auto;
    margin-left: auto;
}


/* ---------------------------------------------------------
   LISTE DES SERVICES
--------------------------------------------------------- */

.services-page-list {
    padding-top: 25px;
    background: var(--surface);
}

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

.service-detail-card {
    position: relative;
    overflow: hidden;
    min-height: 330px;
    padding: 34px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--surface);
    box-shadow: var(--shadow-sm);
    transition:
        transform var(--transition),
        border-color var(--transition),
        box-shadow var(--transition);
}

.service-detail-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 0;
    background: var(--secondary);
    transition: height var(--transition);
}

.service-detail-card::after {
    content: "";
    position: absolute;
    width: 180px;
    height: 180px;
    right: -100px;
    bottom: -110px;
    border-radius: 50%;
    background: rgba(29, 111, 220, 0.05);
    transition:
        transform var(--transition);
}

.service-detail-card:hover {
    transform: translateY(-7px);
    border-color: rgba(29, 111, 220, 0.35);
    box-shadow: var(--shadow-md);
}

.service-detail-card:hover::before {
    height: 100%;
}

.service-detail-card:hover::after {
    transform: scale(1.3);
}


/* ---------------------------------------------------------
   PARTIE SUPÉRIEURE CARTE
--------------------------------------------------------- */

.service-detail-top {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 32px;
}

.service-detail-number {
    color: var(--text-light);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.service-detail-icon {
    display: grid;
    width: 62px;
    height: 62px;
    flex: 0 0 62px;
    place-items: center;
    border-radius: var(--radius-md);
    background:
        linear-gradient(
            135deg,
            var(--primary),
            #164a7c
        );
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    box-shadow:
        0 12px 25px rgba(11, 31, 58, 0.16);
}


/* ---------------------------------------------------------
   CONTENU CARTE SERVICE
--------------------------------------------------------- */

.service-detail-content {
    position: relative;
    z-index: 2;
}

.service-detail-content h2 {
    margin: 0 0 16px;
    color: var(--text);
    font-size: 1.45rem;
    line-height: 1.3;
}

.service-detail-content p {
    min-height: 80px;
    margin: 0 0 25px;
    color: var(--text-light);
    line-height: 1.75;
}

.service-detail-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--secondary);
    font-weight: 750;
    text-decoration: none;
    transition:
        gap var(--transition),
        color var(--transition);
}

.service-detail-link span {
    transition:
        transform var(--transition);
}

.service-detail-link:hover {
    gap: 13px;
    color: var(--primary);
}

.service-detail-link:hover span {
    transform: translateX(3px);
}


/* ---------------------------------------------------------
   SERVICES VIDES
--------------------------------------------------------- */

.services-page-empty {
    grid-column: 1 / -1;
    padding: 50px 30px;
    text-align: center;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--surface-alt);
}

.services-page-empty p {
    margin: 0;
    color: var(--text-light);
}


/* ---------------------------------------------------------
   PROCESSUS DE TRAVAIL
--------------------------------------------------------- */

.services-process {
    position: relative;
    background: var(--surface-alt);
}

.services-process .section-heading {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.services-process .section-description {
    max-width: 700px;
    margin-right: auto;
    margin-left: auto;
}

.process-grid {
    position: relative;
    display: grid;
    grid-template-columns:
        repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin-top: 50px;
}

.process-grid::before {
    content: "";
    position: absolute;
    top: 34px;
    left: 10%;
    right: 10%;
    height: 1px;
    background: var(--border);
}

.process-card {
    position: relative;
    z-index: 2;
    padding: 30px 25px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--surface);
    transition:
        transform var(--transition),
        box-shadow var(--transition),
        border-color var(--transition);
}

.process-card:hover {
    transform: translateY(-6px);
    border-color: rgba(29, 111, 220, 0.35);
    box-shadow: var(--shadow-md);
}

.process-card > span {
    display: grid;
    width: 52px;
    height: 52px;
    margin-bottom: 25px;
    place-items: center;
    border-radius: 50%;
    background: var(--primary);
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 800;
    box-shadow:
        0 0 0 8px var(--surface-alt);
}

.process-card h3 {
    margin: 0 0 14px;
    color: var(--text);
    font-size: 1.18rem;
}

.process-card p {
    margin: 0;
    color: var(--text-light);
    font-size: 0.94rem;
    line-height: 1.7;
}


/* ---------------------------------------------------------
   CTA SERVICES
--------------------------------------------------------- */

.services-page-cta {
    background: var(--surface);
}


/* =========================================================
   RESPONSIVE PAGE SERVICES
========================================================= */

@media (max-width: 1100px) {

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

    .process-grid::before {
        display: none;
    }
}


@media (max-width: 800px) {

    .services-page-hero {
        padding: 80px 0;
    }

    .services-page-grid {
        grid-template-columns: 1fr;
    }

    .service-detail-content p {
        min-height: auto;
    }
}


@media (max-width: 650px) {

    .services-page-hero {
        padding: 65px 0;
    }

    .services-hero-content h1 {
        font-size: 2.35rem;
    }

    .service-detail-card {
        min-height: auto;
        padding: 27px 23px;
    }

    .process-grid {
        grid-template-columns: 1fr;
    }

    .process-card {
        padding: 26px 22px;
    }
}


@media (max-width: 380px) {

    .services-hero-content h1 {
        font-size: 2rem;
    }

    .service-detail-icon {
        width: 54px;
        height: 54px;
        flex-basis: 54px;
    }
}
/* =========================================================
   PAGES DÉTAILLÉES DES SERVICES
========================================================= */

/* HERO */

.service-single-hero {
    padding: 90px 0 105px;
}

.service-single-hero-content {
    position: relative;
    z-index: 2;
    max-width: 850px;
}

.service-back-link {
    display: inline-flex;
    align-items: center;
    margin-bottom: 28px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.9rem;
    font-weight: 650;
    text-decoration: none;
    transition:
        color var(--transition),
        transform var(--transition);
}

.service-back-link:hover {
    color: #ffffff;
    transform: translateX(-4px);
}

.service-single-hero-content h1 {
    max-width: 820px;
    margin: 0 0 24px;
    color: #ffffff;
    font-size: clamp(2.5rem, 5vw, 4.6rem);
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.service-single-hero-content > p {
    max-width: 720px;
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.08rem;
    line-height: 1.8;
}


/* PRÉSENTATION */

.service-single-intro {
    background: var(--surface);
}

.service-single-intro-grid {
    display: grid;
    grid-template-columns:
        minmax(0, 1.15fr)
        minmax(320px, 0.65fr);
    gap: 70px;
    align-items: start;
}

.service-single-content {
    max-width: 760px;
}

.service-single-content .section-title {
    margin-bottom: 25px;
}

.service-single-content p,
.service-db-description {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.85;
}

.service-single-content p {
    margin: 0 0 18px;
}


/* RÉSUMÉ DU SERVICE */

.service-single-summary {
    position: sticky;
    top: 110px;
    padding: 32px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--surface-alt);
    box-shadow: var(--shadow-sm);
}

.service-summary-label {
    display: inline-block;
    margin-bottom: 10px;
    color: var(--secondary);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.service-single-summary h3 {
    margin: 0 0 24px;
    color: var(--text);
    font-size: 1.35rem;
}

.service-single-summary ul {
    display: grid;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

.service-single-summary li {
    position: relative;
    padding: 14px 0 14px 28px;
    border-bottom: 1px solid var(--border);
    color: var(--text-light);
    line-height: 1.55;
}

.service-single-summary li:last-child {
    border-bottom: 0;
}

.service-single-summary li::before {
    content: "✓";
    position: absolute;
    top: 14px;
    left: 0;
    color: var(--secondary);
    font-weight: 800;
}


/* FONCTIONNALITÉS */

.service-features-section {
    background: var(--surface-alt);
}

.service-features-section .section-heading {
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
}

.service-features-section .section-description {
    max-width: 700px;
    margin-right: auto;
    margin-left: auto;
}

.service-features-grid {
    display: grid;
    grid-template-columns:
        repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-top: 48px;
}

.service-feature-card {
    position: relative;
    overflow: hidden;
    min-height: 285px;
    padding: 30px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--surface);
    transition:
        transform var(--transition),
        border-color var(--transition),
        box-shadow var(--transition);
}

.service-feature-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--secondary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition);
}

.service-feature-card:hover {
    transform: translateY(-6px);
    border-color: rgba(29, 111, 220, 0.3);
    box-shadow: var(--shadow-md);
}

.service-feature-card:hover::before {
    transform: scaleX(1);
}

.service-feature-number {
    position: absolute;
    top: 27px;
    right: 27px;
    color: var(--text-light);
    font-size: 0.75rem;
    font-weight: 800;
}

.service-feature-icon {
    display: grid;
    width: 56px;
    height: 56px;
    margin-bottom: 27px;
    place-items: center;
    border-radius: var(--radius-md);
    background:
        linear-gradient(
            135deg,
            var(--primary),
            #164a7c
        );
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.03em;
}

.service-feature-card h3 {
    margin: 0 0 14px;
    color: var(--text);
    font-size: 1.2rem;
}

.service-feature-card p {
    margin: 0;
    color: var(--text-light);
    font-size: 0.94rem;
    line-height: 1.75;
}


/* PROCESSUS */

.web-project-process {
    background: var(--surface);
}

.web-project-process .section-heading {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}

.web-process-list {
    position: relative;
    max-width: 950px;
    margin: 50px auto 0;
}

.web-process-list::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 32px;
    width: 1px;
    background: var(--border);
}

.web-process-item {
    position: relative;
    display: grid;
    grid-template-columns: 65px 1fr;
    gap: 25px;
    padding-bottom: 35px;
}

.web-process-item:last-child {
    padding-bottom: 0;
}

.web-process-item > span {
    position: relative;
    z-index: 2;
    display: grid;
    width: 65px;
    height: 65px;
    place-items: center;
    border: 7px solid var(--surface);
    border-radius: 50%;
    background: var(--primary);
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 800;
}

.web-process-item > div {
    padding: 5px 0 30px;
    border-bottom: 1px solid var(--border);
}

.web-process-item:last-child > div {
    border-bottom: 0;
}

.web-process-item h3 {
    margin: 0 0 10px;
    color: var(--text);
    font-size: 1.18rem;
}

.web-process-item p {
    max-width: 700px;
    margin: 0;
    color: var(--text-light);
    line-height: 1.7;
}


/* CTA */

.service-single-cta {
    background: var(--surface-alt);
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1000px) {

    .service-single-intro-grid {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .service-single-summary {
        position: static;
    }

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


@media (max-width: 700px) {

    .service-single-hero {
        padding: 65px 0 75px;
    }

    .service-single-hero-content h1 {
        font-size: 2.35rem;
    }

    .service-features-grid {
        grid-template-columns: 1fr;
    }

    .service-feature-card {
        min-height: auto;
        padding: 26px 23px;
    }

    .service-single-summary {
        padding: 26px 23px;
    }

    .web-process-list::before {
        left: 26px;
    }

    .web-process-item {
        grid-template-columns: 53px 1fr;
        gap: 18px;
    }

    .web-process-item > span {
        width: 53px;
        height: 53px;
        border-width: 6px;
    }
}


@media (max-width: 420px) {

    .service-single-hero-content h1 {
        font-size: 2rem;
    }

    .web-process-item {
        gap: 14px;
    }

    .web-process-item p {
        font-size: 0.9rem;
    }
}
/* =====================================================
   FORMULAIRE D'INSCRIPTION AUX FORMATIONS
===================================================== */

.formation-registration-section {
    background: #f8fafc;
}

.formation-registration-section .contact-form-wrapper {
    max-width: 850px;
    margin: 0 auto;
    padding: 40px;
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 10px 35px rgba(15, 23, 42, 0.08);
}


/* Message de succès */

.formation-registration-section .alert-success {
    margin-bottom: 25px;
    padding: 18px 20px;
    border: 1px solid #86efac;
    border-radius: 10px;
    background: #dcfce7;
    color: #166534;
    font-weight: 600;
    line-height: 1.6;
}


/* Message d'erreur */

.formation-registration-section .alert-error {
    margin-bottom: 25px;
    padding: 18px 20px;
    border: 1px solid #fca5a5;
    border-radius: 10px;
    background: #fee2e2;
    color: #991b1b;
    font-weight: 600;
    line-height: 1.6;
}


/* Groupes */

.formation-registration-section .form-group {
    margin-bottom: 22px;
}

.formation-registration-section .form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}


/* Labels */

.formation-registration-section label {
    display: block;
    margin-bottom: 8px;
    color: #0f172a;
    font-weight: 600;
}


/* Champs */

.formation-registration-section input,
.formation-registration-section select,
.formation-registration-section textarea {
    width: 100%;
    padding: 13px 15px;
    border: 1px solid #cbd5e1;
    border-radius: 9px;
    background: #ffffff;
    color: #0f172a;
    font: inherit;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}


/* Focus */

.formation-registration-section input:focus,
.formation-registration-section select:focus,
.formation-registration-section textarea:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}


/* Formation en lecture seule */

.formation-registration-section input[readonly] {
    background: #f1f5f9;
    color: #475569;
    cursor: not-allowed;
}


/* Zone message */

.formation-registration-section textarea {
    min-height: 140px;
    resize: vertical;
}


/* Bouton */

.formation-registration-section .form-actions {
    margin-top: 10px;
}

.formation-registration-section .form-actions .btn {
    min-height: 48px;
}


/* Responsive */

@media (max-width: 768px) {

    .formation-registration-section .contact-form-wrapper {
        padding: 25px 20px;
    }

    .formation-registration-section .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .formation-registration-section .form-actions .btn {
        width: 100%;
    }
}
/* =========================================================
   FORMULAIRES ADMINISTRATION
========================================================= */

.admin-form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.admin-form-group label {
    color: var(--admin-text);
    font-size: 14px;
    font-weight: 700;
}

.admin-form-group input,
.admin-form-group select,
.admin-form-group textarea {
    width: 100%;
    min-height: 44px;
    padding: 10px 13px;

    border: 1px solid var(--admin-border);
    border-radius: 8px;

    background: #ffffff;
    color: var(--admin-text);

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

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

.admin-form-group input:focus,
.admin-form-group select:focus,
.admin-form-group textarea:focus {
    outline: none;
    border-color: var(--admin-accent);

    box-shadow:
        0 0 0 3px
        rgba(37, 99, 235, 0.12);
}


/* =========================================================
   FILTRES
========================================================= */

.admin-filter-grid {
    display: grid;

    grid-template-columns:
        minmax(250px, 2fr)
        minmax(180px, 1fr)
        auto;

    gap: 18px;

    align-items: end;
}

.admin-filter-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}


/* =========================================================
   MESSAGES ADMINISTRATION
========================================================= */

.admin-alert {
    margin-bottom: 22px;
    padding: 15px 18px;

    border: 1px solid transparent;
    border-radius: 9px;

    font-size: 14px;
    font-weight: 600;
    line-height: 1.6;
}

.admin-alert-success {
    border-color: #86efac;
    background: #dcfce7;
    color: #166534;
}

.admin-alert-error {
    border-color: #fca5a5;
    background: #fee2e2;
    color: #991b1b;
}

.admin-alert-warning {
    border-color: #fcd34d;
    background: #fef3c7;
    color: #92400e;
}


/* =========================================================
   PETITS TEXTES DES TABLEAUX
========================================================= */

.admin-table small {
    display: inline-block;
    margin-top: 5px;

    color: var(--admin-muted);

    font-size: 12px;
}


/* =========================================================
   RESPONSIVE FORMULAIRES
========================================================= */

@media (max-width: 900px) {

    .admin-filter-grid {
        grid-template-columns: 1fr 1fr;
    }

    .admin-filter-actions {
        grid-column: 1 / -1;
    }
}

@media (max-width: 600px) {

    .admin-filter-grid {
        grid-template-columns: 1fr;
    }

    .admin-filter-actions {
        grid-column: auto;
        flex-direction: column;
        align-items: stretch;
    }

    .admin-filter-actions .admin-btn {
        width: 100%;
    }
}
/* =========================================================
   FILTRES - FORMATIONS
========================================================= */

.admin-filter-form {
    width: 100%;
}

.admin-filter-form .admin-filter-grid {
    display: grid;
    grid-template-columns:
        minmax(280px, 2fr)
        minmax(200px, 1fr)
        auto;
    gap: 20px;
    align-items: end;
}

.admin-filter-form .admin-form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.admin-filter-form .admin-form-group label {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
}

.admin-filter-form input,
.admin-filter-form select {
    width: 100%;
    height: 46px;
    padding: 0 14px;

    border: 1px solid #cbd5e1;
    border-radius: 9px;

    background: #ffffff;
    color: #0f172a;

    font-size: 14px;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.admin-filter-form input::placeholder {
    color: #94a3b8;
}

.admin-filter-form input:focus,
.admin-filter-form select:focus {
    outline: none;

    border-color: #2563eb;

    box-shadow:
        0 0 0 3px
        rgba(37, 99, 235, 0.12);
}


/* BOUTONS DU FILTRE */

.admin-filter-form .admin-filter-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.admin-filter-form .admin-filter-actions .admin-btn {
    min-height: 46px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    white-space: nowrap;
}


/* RESPONSIVE */

@media (max-width: 900px) {

    .admin-filter-form .admin-filter-grid {
        grid-template-columns: 1fr 1fr;
    }

    .admin-filter-form .admin-filter-actions {
        grid-column: 1 / -1;
    }
}

@media (max-width: 600px) {

    .admin-filter-form .admin-filter-grid {
        grid-template-columns: 1fr;
    }

    .admin-filter-form .admin-filter-actions {
        grid-column: auto;
        flex-direction: column;
        align-items: stretch;
    }

    .admin-filter-form .admin-filter-actions .admin-btn {
        width: 100%;
    }
}
/* =========================================================
   CORRECTION ESPACEMENT FILTRES FORMATIONS
========================================================= */

.admin-panel-body .admin-filter-form {
    width: 100%;
}

.admin-panel-body .admin-filter-form .admin-filter-grid {
    display: grid !important;

    grid-template-columns:
        minmax(320px, 2fr)
        minmax(220px, 1fr)
        auto !important;

    column-gap: 30px !important;
    row-gap: 20px !important;

    align-items: end !important;
}

.admin-panel-body .admin-filter-form .admin-form-group {
    display: flex !important;
    flex-direction: column !important;

    gap: 10px !important;

    margin: 0 !important;
}

.admin-panel-body .admin-filter-form label {
    display: block !important;

    margin: 0 !important;

    font-size: 14px;
    font-weight: 700;
}

.admin-panel-body .admin-filter-form input,
.admin-panel-body .admin-filter-form select {
    display: block !important;

    width: 100% !important;
    height: 46px !important;

    margin: 0 !important;
    padding: 0 14px !important;

    box-sizing: border-box !important;

    border: 1px solid #cbd5e1;
    border-radius: 9px;

    background: #ffffff;

    font-size: 14px;
}

.admin-panel-body
.admin-filter-form
.admin-filter-actions {
    display: flex !important;

    gap: 12px !important;

    align-items: center !important;

    margin: 0 !important;
}

.admin-panel-body
.admin-filter-form
.admin-filter-actions
.admin-btn {
    height: 46px !important;

    padding: 0 20px !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}


/* TABLETTE */

@media (max-width: 1000px) {

    .admin-panel-body
    .admin-filter-form
    .admin-filter-grid {

        grid-template-columns:
            1fr 1fr !important;
    }

    .admin-panel-body
    .admin-filter-form
    .admin-filter-actions {

        grid-column: 1 / -1;
    }
}


/* MOBILE */

@media (max-width: 650px) {

    .admin-panel-body
    .admin-filter-form
    .admin-filter-grid {

        grid-template-columns:
            1fr !important;
    }

    .admin-panel-body
    .admin-filter-form
    .admin-filter-actions {

        grid-column: auto;

        flex-direction: column;
        align-items: stretch !important;
    }

    .admin-panel-body
    .admin-filter-form
    .admin-filter-actions
    .admin-btn {

        width: 100%;
    }
}


/* Accueil : disposition principale et visuel BTMS */
.home-hero {
    position: relative;
    overflow: hidden;
    background: var(--surface-soft);
}
.hero-container {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    align-items: center;
    gap: 64px;
    padding-top: 80px;
    padding-bottom: 80px;
}
.hero-content { min-width: 0; }
.hero-badge {
    display: inline-block;
    margin-bottom: 22px;
    padding: 9px 14px;
    border: 1px solid var(--border);
    border-radius: 999px;
    color: var(--secondary);
    background: var(--surface);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .3px;
}
.hero-title {
    margin: 0 0 24px;
    color: var(--heading);
    font-size: clamp(36px, 4vw, 60px);
    line-height: 1.12;
    letter-spacing: -1.5px;
    overflow-wrap: break-word;
}
.hero-title span { display: block; color: var(--secondary); }
.hero-description {
    max-width: 650px;
    margin-bottom: 30px;
    color: var(--text-light);
    font-size: 18px;
    line-height: 1.8;
}
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.btn-hero-outline {
    border: 1px solid var(--border);
    color: var(--heading);
    background: var(--surface);
}
.btn-hero-outline:hover { border-color: var(--secondary); color: var(--secondary); }
.hero-features {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-top: 36px;
    padding-top: 26px;
    border-top: 1px solid var(--border);
}
.hero-feature strong { display: block; margin-bottom: 5px; color: var(--heading); font-size: 15px; }
.hero-feature span { display: block; color: var(--text-light); font-size: 13px; line-height: 1.6; }
.hero-visual { position: relative; display: flex; justify-content: center; min-width: 0; }
.hero-visual-card {
    position: relative;
    z-index: 1;
    width: min(100%, 460px);
    padding: 48px 32px;
    border: 1px solid var(--border);
    border-radius: 28px;
    background: var(--surface);
    box-shadow: var(--shadow-lg);
    text-align: center;
}
.hero-logo-box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 180px;
    height: 180px;
    margin: 0 auto 28px;
    padding: 12px;
    border-radius: 24px;
    background: #fff;
}
.hero-logo-box img { display: block; width: 100%; max-width: 100%; height: 100%; object-fit: contain; }
.hero-visual-content > span { color: var(--secondary); font-size: 12px; font-weight: 800; letter-spacing: 2px; }
.hero-visual-content h2 { margin: 16px 0; color: var(--heading); font-size: 28px; line-height: 1.3; }
.hero-visual-content p { margin: 0; color: var(--text-light); font-size: 15px; line-height: 1.7; }
.hero-shape { position: absolute; border-radius: 50%; pointer-events: none; }
.hero-shape-one { width: 180px; height: 180px; top: -25px; right: -20px; background: rgba(29,111,220,.10); }
.hero-shape-two { width: 130px; height: 130px; bottom: -25px; left: -20px; background: rgba(242,183,5,.12); }
