/* ==========================================================================
   GLOBAL INDUSTRIE - SERVICES MOTOR MAINTENANCE STYLING
   Pixel-perfect match to design reference
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600;700;800&family=Oswald:wght@400;500;600;700&display=swap');

:root {
    --gi-brand-red: #ff0000;
    --gi-text-dark: #22262a;
    --gi-text-grey: #62676d;
    --gi-border-light: #e4e7eb;
    --gi-bg-light: #f5f6f7;
    --gi-footer-bg: #5c5e62;
    --gi-font-primary: 'Open Sans', sans-serif;
    --gi-font-display: 'Oswald', sans-serif;
}

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

.gi-service-page {
    font-family: var(--gi-font-primary);
    color: var(--gi-text-dark);
    background-color: #ffffff;
    line-height: 1.6;
    margin-top: 120px;
}

.gi-section-container {
    margin: 0 auto;
    padding: 0 30px;
}

.gi-section-main-title {
    font-size: 1.7rem;
    font-weight: 900;
    color: #808080;
    margin-bottom: 32px;
    letter-spacing: -0.2px;
}

/* ============================================================
   1. HERO SECTION
   ============================================================ */
.gi-service-hero {
    position: relative;
    height: 580px;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.gi-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.gi-hero-bg img {
    width: 100%;
    height: 120%;
    object-fit: cover;
    object-position: center;
}

.gi-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
}

.gi-hero-content-container {
    position: relative;
    z-index: 3;
    margin: 0 auto;
    width: 100%;
    padding: 0 30px;
}

.gi-hero-grid-split {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.gi-hero-textbox {
    margin-left: -50px;
}
.gi-hero-textbox {
    position: relative;
    left: 0;
    padding: 40px 45px;
    color: #fff;
    max-width: 650px;

    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(6px);

    border-radius: 0 35px 35px 0;

    overflow: hidden;

    /* ombre douce */
    box-shadow:
        0 15px 40px rgba(0, 0, 0, 0.25),
        15px -10px 30px -15px rgba(0, 0, 0, 1.25);
}

/* Bordure rouge uniquement en haut et à droite */
.gi-hero-textbox::before {
    content: "";
    position: absolute;
    inset: 0;



    border-top-right-radius: 35px;

    pointer-events: none;
}

/* Effet de dégradé sur la bordure droite */


.gi-hero-textbox h1 {
    font-family: var(--gi-font-display);
    font-size: 2.4rem;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.gi-hero-textbox p {
    font-size: 0.88rem;
    opacity: 0.9;
    margin-bottom: 24px;
    line-height: 1.55;
    max-width: 400px;
}

.gi-btn-hero-cta {
    display: inline-block;
    background-color: var(--gi-brand-red);
    color: #ffffff;
    text-decoration: none;
    padding: 10px 22px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.82rem;
    letter-spacing: 0.2px;
    transition: background 0.2s;
}

.gi-btn-hero-cta:hover {
    background-color: #c50016;
}

/* Hero badge panel – 2×2 grid of icon+text */
.gi-hero-badge-panel {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    background: rgba(0, 0, 0, 0.38);
    padding: 18px 20px;
    border-radius: 10px;
    backdrop-filter: blur(6px);
    min-width: 280px;
}

.gi-hero-mini-badge {
    text-align: center;
    color: #ffffff;
    padding: 4px 6px;
}

.gi-badge-icon {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gi-badge-icon svg {
    width: 32px;
    height: 32px;
    stroke: #ff4444;
    fill: none;
}

.gi-hero-mini-badge p {
    font-size: 0.68rem;
    line-height: 1.3;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2px;
}

/* ============================================================
   2. INTRO SHOWCASE SECTION
   ============================================================ */
.gi-intro-showcase-section {
    padding: 55px 0 50px;
    background: #fff;
}

.gi-intro-split-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 45px;
    align-items: flex-start;
}

.gi-paragraph-lead {
    font-size: 1.0rem;
    color: var(--gi-text-grey);
    margin-bottom: 15%;
    line-height: 1.65;
}

.gi-thumbnail-row {
    margin-top: 7.3%;
    display: flex;
    gap: 12px;
}

.gi-thumb-card {
    flex: 1;
    height: 220px;
    border-radius: 10px;
    overflow: hidden;
}

.gi-thumb-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gi-intro-right-display {
    height: 410px;
    border-radius: 14px;
    overflow: hidden;
}

.gi-intro-right-display img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ============================================================
   3. PRESTATIONS TABS SECTION
   ============================================================ */
.gi-offerings-tabs-section {
    padding: 10px 0 55px;
    background: #fff;
}

.gi-tabs-five-column-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
}

.gi-tab-card {
    background-color: #fcfdfe;
    border: 1px solid var(--gi-border-light);
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.gi-tab-header {
    font-size: 0.65rem;
    font-weight: 700;
    color: #ffffff;
    text-align: center;
    padding: 9px 6px;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.gi-tab-body {
    padding: 18px 12px 20px;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.gi-tab-icon {
    margin-bottom: 12px;
    color: #9aa0a8;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gi-tab-icon svg {
    width: 36px;
    height: 36px;
    stroke: #9aa0a8;
    fill: none;
    stroke-width: 1.5;
}

.gi-tab-body p {
    font-size: 0.72rem;
    color: var(--gi-text-grey);
    line-height: 1.55;
}

/* Tab color accents */
.tab-border-red { border-bottom: 10px solid #fa1c1c; }
.tab-border-blue { border-bottom: 10px solid #1c75ce; }
.tab-border-purple { border-bottom: 10px solid #a11cce; }
.tab-border-green { border-bottom: 10px solid #1fb434; }
.tab-border-grey { border-bottom: 10px solid #757575; }

.bg-red { background-color: #fa1c1c; }
.bg-blue { background-color: #1c75ce; }
.bg-purple { background-color: #a11cce; }
.bg-green { background-color: #1fb434; }
.bg-grey { background-color: #757575; }

/* ============================================================
   4. GOALS MID-HERO SECTION
   ============================================================ */
.gi-goals-mid-hero {
    position: relative;
    height: 460px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.gi-goals-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.gi-goals-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.gi-goals-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
}

.gi-goals-content-container {
    position: relative;
    z-index: 3;
    max-width: 1140px;
    margin: 0 auto;
    width: 100%;
    padding: 0 30px;
    height: 100%;
}

.gi-goals-text-box {
    margin-top: 100px;
    margin-left: -10%;
}

.gi-goals-text-box h2 {
    font-family: var(--gi-font-display);
    font-size: 1.9rem;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 22px;
    color: #808080;
    text-transform: uppercase;
}
/* ===== STRENGTHS SECTION ===== */

.gi-strengths-section {
    padding: 80px 0;
    background: #fff;
}

.gi-section-main-title {
    font-size: 32px;
    font-weight: 700;
    color: #808080;
    margin-bottom: 60px;
}

.gi-strengths-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 80px;
}

.gi-strength-card {
    position: relative;
    background: #f1f1f1;
    border-radius: 24px;
    padding: 40px 30px 30px;
    text-align: center;
    min-height: 150px;

    display: flex;
    flex-direction: column;
    justify-content: center;

    transition: all .3s ease;
}

.gi-strength-card:hover {
    transform: translateY(-5px);
}

.gi-strength-icon {
    position: absolute;
    top: -18px;
    left: 50%;
    transform: translateX(-50%);

    width: 38px;
    height: 38px;
    border-radius: 50%;

    background: #fff;
    border: 2px solid #9b9b9b;

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

    color: #7f7f7f;
    font-size: 22px;
    font-weight: 700;
}

.gi-strength-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: #555;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.gi-strength-card p {
    color: #666;
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 768px) {
    .gi-strengths-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .gi-section-main-title {
        text-align: center;
        font-size: 32px;
    }
}

.gi-goals-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.gi-goals-list li {
    font-size: 0.74rem;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: 0.4px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-transform: uppercase;
    color: #22262a;
}

.gi-goals-list li::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--gi-brand-red);
    flex-shrink: 0;
}

/* ============================================================
   5. STRENGTHS SECTION
   ============================================================ */
.gi-strengths-section {
    padding: 55px 0 70px;
    background: #fff;
}

.gi-strengths-two-by-two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.gi-strength-pill-card {
    background-color: #f1f3f5;
    border-radius: 30px;
    padding: 22px 28px;
    display: flex;
    align-items: center;
    gap: 18px;
}

.gi-pill-check {
    background-color: #ffffff;
    color: #5c6267;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}

.gi-pill-check svg {
    width: 14px;
    height: 14px;
    stroke: #5c6267;
    fill: none;
    stroke-width: 2.5;
}

.gi-pill-inner-content h3 {
    font-size: 0.82rem;
    font-weight: 700;
    color: #4a5056;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.2px;
}

.gi-pill-inner-content p {
    font-size: 0.78rem;
    color: var(--gi-text-grey);
    line-height: 1.4;
}

/* ============================================================
   6. BOTTOM CTA BANNER (RED)
   ============================================================ */
.bottom-cta-banner {
    background-color: var(--gi-brand-red);
    padding: 32px 20px 75px;
    text-align: center;
}

.cta-marquee-text {
    color: #ffffff;
    font-family: var(--gi-font-display);
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 992px) {
    .gi-hero-grid-split { flex-direction: column; align-items: flex-start; }
    .gi-hero-badge-panel { grid-template-columns: repeat(4, 1fr); min-width: unset; width: 100%; }
    .gi-intro-split-grid { grid-template-columns: 1fr; }
    .gi-tabs-five-column-grid { grid-template-columns: repeat(2, 1fr); }
    .gi-strengths-two-by-two { grid-template-columns: 1fr; }
}

@media (max-width: 576px) {
    .gi-tabs-five-column-grid { grid-template-columns: 1fr; }
    .gi-hero-badge-panel { grid-template-columns: repeat(2, 1fr); }
    .gi-hero-textbox h1 { font-size: 1.8rem; }
}