:root {
    --blue: #0052b8;
    --deep-blue: #001b45;
    --dark-blue: #002b67;
    --light-blue: #10aee4;

    --red: #e60000;
    --yellow: #ffd200;
    --green: #009b3a;
    --black: #111111;

    --white: #ffffff;
    --light: #f5f8fc;
    --text: #0d2344;
    --muted: #52657c;
    --border: #d7e2f0;

    --shadow: 0 12px 35px rgba(0, 43, 103, .12);
    --max-width: 1200px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Segoe UI", Arial, sans-serif;
    background: var(--white);
    color: var(--text);
    line-height: 1.6;
}

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

img {
    max-width: 100%;
}

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

/* HEADER */

.top-header {
    background: var(--white);
}

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

.brand {
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo {
    width: 150px;
    height: auto;
}

.brand-text h1 {
    color: var(--deep-blue);
    font-size: 30px;
    line-height: 1;
    margin-bottom: 8px;
}

.brand-text p {
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
    text-transform: uppercase;
}

.header-contact {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 14px;
}

.header-contact span {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* NAVIGATION */

.navigation {
    background: linear-gradient(
        90deg,
        var(--deep-blue),
        var(--dark-blue)
    );
}

.nav-inner {
    display: flex;
    align-items: center;
    min-height: 64px;
}

.menu {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 50px;
}

.menu a {
    position: relative;
    padding: 21px 0;
    color: var(--white);
    font-weight: 600;
    transition: .25s;
}

.menu a:hover,
.menu a.active {
    color: var(--yellow);
}

.menu a.active::after,
.menu a:hover::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--yellow);
}

.nav-contact {
    margin-left: auto;
    background: var(--yellow);
    color: var(--deep-blue) !important;
    padding: 11px 20px !important;
    border-radius: 6px;
    font-weight: 800 !important;
}

.nav-contact:hover {
    background: var(--white);
    color: var(--deep-blue) !important;
}

.nav-contact::after {
    display: none !important;
}

/* HERO */

.hero {
    min-height: 500px;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;

    background:
        linear-gradient(
            90deg,
            rgba(0,27,69,.98) 0%,
            rgba(0,43,103,.92) 45%,
            rgba(0,43,103,.35) 72%,
            rgba(0,43,103,.12) 100%
        ),
        url("https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=1800&q=85")
        center / cover no-repeat;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 650px;
    padding: 70px 0 110px;
    color: var(--white);
}

.hero h2 {
    font-size: clamp(38px, 5vw, 58px);
    line-height: 1.12;
    margin-bottom: 22px;
}

.hero-line {
    width: 75px;
    height: 4px;
    background: var(--yellow);
    margin-bottom: 25px;
}

.hero p {
    max-width: 620px;
    font-size: 18px;
    margin-bottom: 28px;
}

.hero-button {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 14px 22px;
    background: var(--yellow);
    color: var(--black);
    border-radius: 6px;
    font-weight: 800;
    transition: .25s;
}

.hero-button:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

/* COMPÉTENCES */

.competence-wrapper {
    position: relative;
    z-index: 10;
    margin-top: -55px;
}

.competence-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.competence-card {
    background: var(--white);
    border-radius: 10px;
    padding: 30px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    transition: .3s;
}

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

.competence-card h3 {
    margin-bottom: 15px;
    font-size: 21px;
}

.competence-card:nth-child(1) h3 {
    color: var(--blue);
}

.competence-card:nth-child(2) h3 {
    color: #e5ad00;
}

.competence-card:nth-child(3) h3 {
    color: var(--green);
}

.competence-card ul {
    padding-left: 20px;
}

/* PRÉSENTATION */

.presentation {
    padding: 80px 0 55px;
}

.section-title {
    text-align: center;
    color: var(--deep-blue);
    text-transform: uppercase;
    font-size: 32px;
    margin-bottom: 15px;
}

.title-line {
    width: 65px;
    height: 4px;
    background: var(--yellow);
    margin: 0 auto 35px;
}

.presentation-box {
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: var(--shadow);
    background: var(--white);
    overflow: hidden;
}

.presentation-text {
    padding: 32px;
    font-size: 17px;
}

.legal-info {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: var(--light);
    border-top: 1px solid var(--border);
}

.legal-item {
    padding: 24px;
    text-align: center;
    border-right: 1px solid var(--border);
}

.legal-item:last-child {
    border-right: 0;
}

.legal-item strong {
    display: block;
    color: var(--blue);
    margin-bottom: 7px;
}

/* ACTIVITÉS */

.activities {
    padding: 65px 0;
    background: var(--light);
}

.activities-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 15px;
}

.activity-card {
    min-height: 170px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 20px 12px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0,43,103,.07);
    transition: .25s;
}

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

.activity-number {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    margin: 0 auto 15px;
    border-radius: 50%;
    background: var(--blue);
    color: var(--white);
    font-weight: 900;
}

.activity-card:nth-child(2) .activity-number {
    background: #f4b400;
}

.activity-card:nth-child(3) .activity-number {
    background: var(--green);
}

.activity-card:nth-child(4) .activity-number {
    background: var(--blue);
}

.activity-card:nth-child(5) .activity-number {
    background: var(--black);
}

.activity-card:nth-child(6) .activity-number {
    background: var(--red);
}

.activity-card:nth-child(7) .activity-number {
    background: #f4b400;
}

.activity-card p {
    font-size: 14px;
    font-weight: 700;
}

/* AUDIT & RECOUVREMENT */

.services-details {
    padding: 70px 0;
}

.details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.detail-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.detail-image {
    height: 230px;
    background-size: cover;
    background-position: center;
}

.audit-image {
    background-image:
        url("https://images.unsplash.com/photo-1454165804606-c3d57bc86b40?auto=format&fit=crop&w=1000&q=80");
}

.recovery-image {
    background-image:
        url("https://images.unsplash.com/photo-1589829545856-d10d557cf95f?auto=format&fit=crop&w=1000&q=80");
}

.detail-content {
    padding: 30px;
}

.detail-content h2 {
    color: var(--blue);
    margin-bottom: 16px;
    line-height: 1.25;
}

.recovery .detail-content h2 {
    color: var(--red);
}

.detail-content p {
    margin-bottom: 16px;
}

.detail-content ul {
    padding-left: 20px;
}

.detail-content li {
    margin-bottom: 8px;
}

/* POURQUOI NOUS CHOISIR */

.why-us {
    padding: 65px 0;
    background:
        linear-gradient(
            90deg,
            rgba(0,27,69,.98),
            rgba(0,82,184,.92)
        );
    color: var(--white);
}

.why-us .section-title {
    color: var(--white);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.why-card {
    text-align: center;
    padding: 20px;
}

.why-icon {
    width: 70px;
    height: 70px;
    margin: auto auto 15px;
    border: 2px solid var(--white);
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 28px;
}

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

/* STATISTIQUES */

.statistics {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.stat {
    color: var(--white);
    padding: 40px 20px;
    text-align: center;
}

.stat:nth-child(1) {
    background: var(--red);
}

.stat:nth-child(2) {
    background: #f4b400;
}

.stat:nth-child(3) {
    background: var(--green);
}

.stat:nth-child(4) {
    background: var(--black);
}

.stat-number {
    font-size: 42px;
    font-weight: 900;
}

/* CONTACT */

.contact-section {
    padding: 70px 0;
}

.contact-box {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.contact-information {
    background: var(--deep-blue);
    color: var(--white);
    padding: 40px;
}

.contact-information h2 {
    margin-bottom: 20px;
}

.contact-information p {
    margin-bottom: 10px;
}

.contact-form {
    background: var(--light);
    padding: 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.contact-form input,
.contact-form textarea {
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 14px;
    font-family: inherit;
    font-size: 14px;
}

.contact-form textarea {
    grid-column: 1 / -1;
    min-height: 130px;
}

.contact-form button {
    border: 0;
    background: var(--yellow);
    color: var(--black);
    padding: 14px 20px;
    border-radius: 6px;
    font-weight: 800;
    cursor: pointer;
}

/* FOOTER */

footer {
    background: var(--deep-blue);
    color: var(--white);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 40px;
    padding: 45px 0;
}

.footer-logo {
    width: 130px;
    margin-bottom: 15px;
}

.footer-grid h3 {
    margin-bottom: 15px;
    color: var(--yellow);
}

.footer-grid p {
    margin-bottom: 8px;
}

.copyright {
    text-align: center;
    padding: 16px;
    border-top: 1px solid rgba(255,255,255,.15);
    font-size: 13px;
}

/* WHATSAPP */

.whatsapp {
    position: fixed;
    right: 25px;
    bottom: 25px;
    width: 62px;
    height: 62px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #25d366;
    color: var(--white);
    font-size: 29px;
    font-weight: bold;
    box-shadow: 0 10px 30px rgba(0,0,0,.25);
    z-index: 100;
}

/* RESPONSIVE */

@media (max-width: 1050px) {
    .menu {
        gap: 25px;
    }

    .activities-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .legal-info {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 800px) {
    .header-inner {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px 0;
    }

    .menu {
        overflow-x: auto;
        gap: 25px;
    }

    .nav-contact {
        margin-left: 0;
        flex-shrink: 0;
    }

    .competence-grid,
    .details-grid,
    .contact-box,
    .footer-grid {
        grid-template-columns: 1fr;
    }

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

    .why-grid,
    .statistics {
        grid-template-columns: 1fr 1fr;
    }

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

    .contact-form textarea {
        grid-column: auto;
    }
}

@media (max-width: 500px) {
    .logo {
        width: 105px;
    }

    .hero h2 {
        font-size: 34px;
    }

    .activities-grid,
    .why-grid,
    .statistics,
    .legal-info {
        grid-template-columns: 1fr;
    }
}

.form-honeypot{position:absolute!important;left:-10000px!important;width:1px!important;height:1px!important;overflow:hidden!important}.form-status{grid-column:1/-1;padding:12px 14px;border-radius:6px;font-weight:700}.form-status.success{background:#e8f7ee;color:#086b34;border:1px solid #a9dfbd}.form-status.error{background:#fff0f0;color:#9c1616;border:1px solid #efb5b5}
