/* ==========================================================================
   ENTERPRISE LANDING PAGE STYLES (Lightweight & Clean)
   ========================================================================== */

/* Hero Section Base */
.enterprise-hero-section {
    position: relative;
    background-color: #ffffff;
    padding: 72px 0 72px;
    overflow: hidden;
    display: flex;
    align-items: flex-start;
    min-height: 920px;
    clip-path: ellipse(107vw 100% at 45% 0%);
}

/* Hero background isolated behind the content only */
.enterprise-hero-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('../../images/landing/hero_companies.jpg');
    background-size: cover;
    background-position: right center;
    background-repeat: no-repeat;
    z-index: 0;
    pointer-events: none;
}

/* Fading gradient overlay covering background, identical to candidate landing */
.enterprise-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(270deg, rgba(255, 255, 255, 0.05) 36.54%, rgba(255, 255, 255, 0.8) 55.73%, #ffffff 73.56%);
    z-index: 1;
    pointer-events: none;
}

.curve {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    z-index: 9;
    pointer-events: none;
}

/* Badge (Figma Style) */
.hero-badge-enterprise {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(114, 170, 254, 0.15);
    border: 1px solid rgba(114, 170, 254, 0.25);
    box-shadow: 0px 0px 15px rgba(114, 170, 254, 0.3);
    border-radius: 9999px;
    color: #175EAD;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    letter-spacing: 0.14px;
    position: relative;
    top: -42px;
}

.hero-badge-enterprise .badge-icon-sparkle {
    color: #FF7F00;
    font-size: 16px;
    display: flex;
    align-items: center;
}

/* Heading & Typography */
.hero-title-enterprise {
    font-family: 'Sora', sans-serif;
    font-size: 48px;
    font-weight: 700;
    line-height: 60px;
    color: #001946;
    /* Premium Navy */
    letter-spacing: -0.96px;
    position: relative;
    top: -20px;
}

/* Custom Text Highlights */
.hero-title-enterprise .highlight-blue {
    color: #0055A4;
    /* Royal Blue */
}

.hero-title-enterprise .highlight-orange {
    color: #FF7F00;
    /* InclusA Orange */
}

/* Description Text */
.hero-desc-enterprise {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 18px;
    line-height: 28px;
    color: #2D2D2D;
    /* Soft Slate */
    max-width: 623px;
}

/* Image Visual Column */
.enterprise-hero-visual-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 400px;
    z-index: 10;
}

.enterprise-diagram-section {
    position: relative;
    margin-top: 0;
    padding: 32px 0 96px;
    background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
}

.enterprise-diagram-panel {
    background: #ffffff;
    border-radius: 32px;
    padding: 28px 24px 36px;
}

.enterprise-diagram-heading {
    margin-bottom: 18px;
}

.enterprise-diagram-title {
    margin: 0;
    font-family: 'Sora', sans-serif;
    font-size: 34px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.04em;
    color: #113b83;
}

.enterprise-diagram-visual {
    display: flex;
    justify-content: center;
}

.enterprise-diagram-image {
    display: block;
    width: 100%;
    max-width: 1120px;
    height: auto;
}

.enterprise-difference-section {
    position: relative;
    padding: 0 0 112px;
    background: linear-gradient(180deg, #f7fbff 0%, #ffffff 42%, #ffffff 100%);
}

.enterprise-difference-shell {
    position: relative;
}

.enterprise-difference-band {
    position: relative;
    margin-top: 24px;
    padding: 96px 0 120px;
    background: #163b7a;
    overflow: hidden;
}

.enterprise-difference-band::before {
    content: '';
    position: absolute;
    left: 50%;
    top: -168px;
    width: 130%;
    height: 240px;
    background: #ffffff;
    border-radius: 50%;
    transform: translateX(-50%);
}

.enterprise-difference-band::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -138px;
    width: 130%;
    height: 224px;
    background: #ffffff;
    border-radius: 50%;
    transform: translateX(-50%);
    box-shadow: 0 -16px 0 #ff7f00;
}

.enterprise-difference-content {
    position: relative;
    z-index: 1;
}

.enterprise-difference-title {
    margin: 0 0 36px;
    font-family: 'Sora', sans-serif;
    font-size: 34px;
    font-weight: 800;
    line-height: 1.1;
    color: #ffffff;
}

.enterprise-difference-grid {
    max-width: 1020px;
    margin: 0 auto;
}

.enterprise-difference-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 160px;
    padding: 12px 28px;
    text-align: center;
    border-right: 1px solid rgba(255, 255, 255, 0.55);
}

.enterprise-difference-item--last {
    border-right: 0;
}

.enterprise-difference-icon {
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
}

.enterprise-difference-icon-image {
    display: block;
    width: 54px;
    height: 54px;
    object-fit: contain;
}

.enterprise-difference-item p {
    margin: 0;
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    line-height: 1.35;
    font-weight: 700;
    color: #ffffff;
}

.enterprise-certification-block {
    position: relative;
    margin-top: -24px;
    z-index: 1;
}

.enterprise-certification-copy {
    margin-bottom: 26px;
}

.enterprise-certification-title {
    margin: 0 0 10px;
    font-family: 'Sora', sans-serif;
    font-size: 34px;
    font-weight: 800;
    line-height: 1.15;
    color: #163b7a;
}

.enterprise-certification-text {
    margin: 0;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    line-height: 1.5;
    color: #4b5563;
}

.enterprise-certification-card {
    width: min(100%, 360px);
    margin: 0 auto;
    padding: 18px 18px 20px;
    background: #ffffff;
    border: 1px solid rgba(22, 59, 122, 0.08);
    border-radius: 24px;
    box-shadow: 0 16px 36px rgba(0, 25, 70, 0.08);
}

.enterprise-certification-card__brand {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 14px;
}

.enterprise-certification-card__qualiopi {
    display: flex;
    flex-direction: column;
    color: #072d6c;
}

.enterprise-certification-card__qualiopi span {
    font-family: 'Sora', sans-serif;
    font-size: 26px;
    font-weight: 800;
    line-height: 1;
}

.enterprise-certification-card__qualiopi small {
    margin-top: 4px;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
}

.enterprise-certification-card__mark {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 2px;
}

.enterprise-certification-card__mark span {
    display: block;
    width: 14px;
    height: 34px;
    clip-path: polygon(0 0, 100% 50%, 0 100%);
}

.enterprise-certification-card__mark span:nth-child(1) {
    background: #163b7a;
}

.enterprise-certification-card__mark span:nth-child(2) {
    background: #ff7f00;
}

.enterprise-certification-card__mark span:nth-child(3) {
    background: #2334b5;
}

.enterprise-certification-card__republique {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    color: #111827;
}

.enterprise-certification-card__flag {
    position: relative;
    width: 30px;
    height: 18px;
    border-radius: 2px;
    background: linear-gradient(90deg, #163b7a 0 33.333%, #ffffff 33.333% 66.666%, #d91f26 66.666% 100%);
    box-shadow: 0 0 0 1px rgba(17, 24, 39, 0.08) inset;
}

.enterprise-certification-card__body {
    margin: 0 0 10px;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    line-height: 1.45;
    color: #374151;
}

.enterprise-certification-card__footer {
    margin: 0;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    line-height: 1.2;
    font-weight: 800;
    color: #111827;
}

/* ==========================================================================
   RESPONSIVENESS (Media Queries)
   ========================================================================== */
@media (max-width: 1199px) {
    .enterprise-hero-section {
        padding: 64px 0 68px;
        min-height: 860px;
    }

    .hero-title-enterprise {
        font-size: 44px;
        line-height: 54px;
    }

    .enterprise-diagram-title {
        font-size: 30px;
    }

    .enterprise-difference-title,
    .enterprise-certification-title {
        font-size: 30px;
    }
}

@media (max-width: 991px) {
    .enterprise-hero-section {
        padding: 0 0 120px;
        text-align: center;
        min-height: auto !important;
        background-position: center;
        overflow: hidden;
        clip-path: none;
    }

    .curve {
        display: none;
    }

    .enterprise-hero-section::before {
        background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.92) 62%, rgba(255, 255, 255, 0.82) 100%);
    }

    .hero-text-box {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .enterprise-hero-section .hero-text-content {
        text-align: center !important;
        margin-left: auto;
        margin-right: auto;
    }

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

    .hero-title-enterprise {
        font-size: 38px;
        line-height: 48px;
        margin-bottom: 20px;
    }

    .hero-title-enterprise .highlight-orange,
    .hero-title-enterprise .highlight-blue {
        white-space: normal !important;
    }

    .hero-desc-enterprise {
        margin: 0 auto 35px;
        font-size: 16px;
        line-height: 26px;
    }

    .hero-buttons-candidate {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
    }

    .hero-buttons-candidate a {
        width: 100%;
        max-width: 320px;
    }

    .visual-column-box {
        margin-top: 40px;
    }

    .enterprise-hero-visual-wrapper {
        margin-left: auto;
        margin-right: auto;
        max-width: 500px;
        min-height: 250px;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .glass-card-candidate {
        position: relative;
        bottom: 0;
        right: 0;
        margin: 0 auto;
    }

    .enterprise-diagram-section {
        padding: 24px 0 72px;
    }

    .enterprise-diagram-panel {
        padding: 24px 18px 28px;
        border-radius: 24px;
    }

    .enterprise-diagram-title {
        font-size: 26px;
    }

    .enterprise-difference-section {
        padding-bottom: 88px;
    }

    .enterprise-difference-band {
        padding: 84px 0 108px;
    }

    .enterprise-difference-band::before {
        top: -136px;
        height: 206px;
    }

    .enterprise-difference-band::after {
        bottom: -122px;
        height: 194px;
    }

    .enterprise-difference-title,
    .enterprise-certification-title {
        font-size: 28px;
    }

    .enterprise-difference-item {
        min-height: 148px;
        padding: 20px 18px;
    }

    .enterprise-difference-grid .col-6:nth-child(2) .enterprise-difference-item {
        border-right: 0;
    }

    .enterprise-difference-grid .col-6:nth-child(-n+2) .enterprise-difference-item {
        border-bottom: 1px solid rgba(255, 255, 255, 0.35);
    }

    .enterprise-difference-item p {
        font-size: 16px;
    }
}

@media (max-width: 575px) {
    .enterprise-hero-section {
        padding: 0 0 92px;
    }

    .hero-badge-enterprise {
        font-size: 12px;
        padding: 4px 12px;
    }

    .hero-title-enterprise {
        font-size: 28px;
        line-height: 38px;
        letter-spacing: -0.5px;
    }

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

    .btn-candidate-primary,
    .btn-candidate-secondary {
        width: 100% !important;
        padding: 12px 30px !important;
        font-size: 16px !important;
    }

    .enterprise-diagram-section {
        padding: 20px 0 48px;
    }

    .enterprise-diagram-panel {
        padding: 20px 12px 22px;
        border-radius: 18px;
    }

    .enterprise-diagram-title {
        font-size: 21px;
    }

    .enterprise-difference-section {
        padding-bottom: 72px;
    }

    .enterprise-difference-band {
        margin-top: 14px;
        padding: 72px 0 92px;
    }

    .enterprise-difference-band::before {
        top: -108px;
        width: 155%;
        height: 170px;
    }

    .enterprise-difference-band::after {
        bottom: -96px;
        width: 155%;
        height: 154px;
        box-shadow: 0 -10px 0 #ff7f00;
    }

    .enterprise-difference-title,
    .enterprise-certification-title {
        font-size: 22px;
    }

    .enterprise-difference-title {
        margin-bottom: 24px;
    }

    .enterprise-difference-item {
        min-height: 132px;
        padding: 18px 12px;
    }

    .enterprise-difference-icon {
        margin-bottom: 12px;
        min-height: 42px;
    }

    .enterprise-difference-icon-image {
        width: 42px;
        height: 42px;
    }

    .enterprise-difference-item p {
        font-size: 14px;
    }

    .enterprise-certification-block {
        margin-top: -12px;
    }

    .enterprise-certification-copy {
        margin-bottom: 18px;
    }

    .enterprise-certification-text {
        font-size: 12px;
    }

    .enterprise-certification-card {
        padding: 16px 14px 18px;
        border-radius: 20px;
    }

    .enterprise-certification-card__qualiopi span {
        font-size: 22px;
    }
}