﻿/* moka.css — styles communs à toutes les pages (avec logo plus proéminent) */

:root {
    --moka-navy: #152F50;
    --moka-navy-2: #0F2742;
    --moka-copper: #745138;
    --text: #0f172a;
    --muted: #334155;
    --bg-soft: #f8fafc;
    --radius-xl: 22px;
    --shadow-soft: 0 18px 45px rgba(0,0,0,.15);
    --focus: 0 0 0 4px rgba(116,81,56,.35);
}

* {
    box-sizing: border-box;
}

body {
    font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    color: var(--text);
    background: #fff;
}

/* Skip link (accessibilité) */
.skip-link {
    position: absolute;
    left: -999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

    .skip-link:focus {
        position: fixed;
        left: 16px;
        top: 16px;
        width: auto;
        height: auto;
        padding: .7rem 1rem;
        background: #fff;
        border: 2px solid var(--moka-copper);
        border-radius: 999px;
        z-index: 9999;
        box-shadow: var(--shadow-soft);
    }

/* Focus visible */
a:focus-visible, button:focus-visible, .btn:focus-visible, .nav-link:focus-visible,
input:focus-visible, textarea:focus-visible, select:focus-visible {
    outline: none;
    box-shadow: var(--focus) !important;
    border-radius: 10px;
}

/* NAVBAR */
.navbar {
    background: linear-gradient(180deg,var(--moka-navy),var(--moka-navy-2));
    padding-top: .9rem; /* + d’air pour logo */
    padding-bottom: .9rem;
}

/* Marque */
.navbar-brand {
    font-weight: 900;
    letter-spacing: .2px;
    display: inline-flex;
    align-items: center;
}

/* Bloc logo + texte */
.brand-lockup {
    display: flex;
    align-items: center;
    gap: .9rem;
}

    /* ✅ LOGO PLUS PROÉMINENT (desktop) */
    .brand-lockup img {
        width: 72px; /* AVANT ~56 */
        height: 72px;
        border-radius: 18px;
        box-shadow: 0 18px 40px rgba(0,0,0,.45);
        object-fit: contain;
        background: rgba(255,255,255,.06);
        border: 1px solid rgba(255,255,255,.12);
    }

/* Texte marque + baseline */
.brand-name {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
}

    .brand-name strong {
        font-size: 1.25rem; /* + grand */
        font-weight: 900;
        letter-spacing: .3px;
        color: #fff;
    }

    .brand-name small {
        font-size: .95rem;
        font-weight: 750;
        color: rgba(255,255,255,.85);
    }

/* Liens navbar */
.navbar .nav-link {
    color: rgba(255,255,255,.90) !important;
    font-weight: 650;
}

    .navbar .nav-link:hover,
    .navbar .nav-link:focus {
        color: #fff !important;
    }

    .navbar .nav-link[aria-current="page"] {
        color: #fff !important;
        text-decoration: underline;
        text-underline-offset: 6px;
    }

/* Boutons */
.btn-moka {
    background: var(--moka-copper);
    border-color: var(--moka-copper);
    color: #fff;
    font-weight: 850;
    border-radius: 999px;
    padding: .85rem 1.1rem;
    box-shadow: 0 14px 30px rgba(116,81,56,.28);
}

    .btn-moka:hover,
    .btn-moka:focus {
        background: #8a6141;
        border-color: #8a6141;
        color: #fff;
    }

.btn-outline-moka {
    border: 1px solid rgba(255,255,255,.35);
    color: #fff;
    font-weight: 850;
    border-radius: 999px;
    padding: .85rem 1.1rem;
}

    .btn-outline-moka:hover {
        background: rgba(255,255,255,.10);
        color: #fff;
    }

/* HERO commun */
header.hero {
    background: radial-gradient(1200px 600px at 20% 10%, rgba(116,81,56,.22), transparent 55%), linear-gradient(180deg,rgba(21,47,80,.85),rgba(15,39,66,.92)), url('https://images.unsplash.com/photo-1498050108023-c5249f4df085?auto=format&fit=crop&w=1600&q=80');
    background-size: cover;
    background-position: center;
    color: #fff;
}

    header.hero .overlay {
        padding: 90px 0 60px;
    }

    header.hero h1 {
        font-weight: 900;
        letter-spacing: -0.02em;
        line-height: 1.05;
    }

    header.hero p {
        color: rgba(255,255,255,.82);
        max-width: 75ch;
        margin-left: auto;
        margin-right: auto;
    }

/* Sections */
main section {
    padding: 80px 0;
}

.section-title {
    font-weight: 900;
    letter-spacing: -0.01em;
}

.section-lead {
    color: var(--muted);
    max-width: 80ch;
}

/* Panels / Cards génériques */
.panel {
    border-radius: var(--radius-xl);
    border: 1px solid rgba(15,23,42,.08);
    box-shadow: 0 12px 28px rgba(2,6,23,.06);
    background: #fff;
    overflow: hidden;
}

    .panel .panel-body {
        padding: 26px;
    }

/* Forms */
.form-control {
    border-radius: 14px;
    border: 1px solid rgba(15,23,42,.18);
    padding: .85rem .95rem;
}

    .form-control:focus {
        border-color: rgba(116,81,56,.6);
        box-shadow: var(--focus);
    }

.form-label {
    font-weight: 750;
    color: #1f2937;
}

/* Footer */
footer {
    background: #0B1626;
    color: rgba(255,255,255,.78);
}

    footer a {
        color: rgba(255,255,255,.78);
    }

        footer a:hover {
            color: #fff;
        }

/* Responsive */
@media (max-width: 992px) {
    header.hero .overlay {
        padding: 70px 0 46px;
    }

    main section {
        padding: 64px 0;
    }

    /* ✅ Logo gros mais adapté mobile */
    .navbar {
        padding-top: .65rem;
        padding-bottom: .65rem;
    }

    .brand-lockup {
        gap: .7rem;
    }

        .brand-lockup img {
            width: 56px;
            height: 56px;
            border-radius: 14px;
        }

    .brand-name strong {
        font-size: 1.05rem;
    }

    .brand-name small {
        font-size: .82rem;
    }
}
