@import '../colors.css';

/* ============================================
   SA CORP LAB - Présentation Section
   "Vous gardez la vision, on gère le reste"
   ============================================ */


.oblique-section-texte {
    max-width: 870px;
}

.oblique-section-texte p {
    font-size: 20px;
    margin-top: 20px;
}

/* Conteneur global du contenu interne */
.oblique-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0px 100px;
}

/* Bloc texte (à gauche) */
.oblique-text {
    flex: 1;
    margin-right: 40px;
    max-width: 650px;
}

.oblique-text h3 {
    font-size: 2.8rem;
    letter-spacing: -0.02em;
    font-weight: 800;
    margin-bottom: 20px;
    color: white;
}

.oblique-text h2 {
    font-size: 3.5rem;
    margin-bottom: 10px;
    color: white;
}

.oblique-text h2 span {
    color: var(--bg-white);
    font-weight: 700;
}

.oblique-subtext {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 25px;
    line-height: 1.6;
}

/* Bloc image (à droite) */
.oblique-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.oblique-image img {
    width: 100%;
    max-width: 700px;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

/* Bouton CTA blanc */
.cta-button-white {
    background-color: var(--bg-white);
    color: var(--brand-blue);
    border: none;
    padding: 12px 30px;
    font-size: 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}

.cta-button-white:hover {
    background-color: var(--bg-soft);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Titre oblique (version expertise/publicités digitales) */
.oblique-title {
    font-size: 3.6rem;
    font-weight: 800;
    color: white;
    line-height: 1.15;
    margin: 0;
    letter-spacing: -0.02em;
}

/* En-tête de la section oblique */
.oblique-header {
    text-align: center;
    margin-bottom: 60px;
    max-width: 900px;
}

/* Surbrillance du titre SaaS */
.oblique-text .saas-title-highlight {
  display: inline-block;
  padding: 8px 10px 0px;
  border-radius: 10px;
  background: var(--bg-white);
  color: var(--brand-blue);
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  font-weight: 900;
}

/* Carte des bénéfices SaaS */
.saas-benefits-card {
  background: var(--text-primary);
  border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px 24px;
    margin: 20px 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.saas-benefits-card .brick-benefit-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.95);
    font-size: 14px;
    font-weight: 500;
}

.saas-benefits-card .brick-benefit-item i {
    font-size: 18px;
    color: var(--accent-green-dark);
    flex-shrink: 0;
}

/* Cadre du dashboard héro */
.hero-dashboard-frame {
  width: min(1080px, 100%);
  aspect-ratio: 620/459;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  border: 1px solid var(--white-10);
  background: var(--white-04);
  box-shadow:
    0 18px 46px rgba(0, 0, 0, 0.25),
    0 0 0 1px rgba(255, 255, 255, 0.05) inset;

    .hero-dashboard-frame {
        width: min(640px, 100%);
    }
}

.hero-dashboard-frame video {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
}

/* ============================================
   RESPONSIVE - Tablette et Mobile
   ============================================ */

@media (max-width: 1024px) {
    .oblique-content {
        flex-direction: column;
        padding: 0;
    }

    .oblique-text {
        margin-right: 0;
        margin-bottom: 30px;
        max-width: 100%;
    }

    .oblique-text h2 {
        font-size: 2.5rem;
    }

    .oblique-image {
        width: 100%;
        max-width: 500px;
    }
}

@media (max-width: 768px) {
    .oblique-title {
        font-size: 1.9rem;
        line-height: 1.15;
    }

    .oblique-content {
        gap: 12px;
    }

    .oblique-text {
        display: contents;
    }

    .oblique-text h3 {
        order: 1;
        margin-bottom: 6px;
    }

    .oblique-subtext {
        order: 2;
        font-size: 14px;
        line-height: 1.45;
        margin-bottom: 0;
        text-align: left;
    }

    .oblique-image {
        order: 3;
        width: 100%;
        max-width: 340px;
        margin: 0 auto;
    }

    .chip-feature-sm-blue-container {
        order: 4;
        gap: 5px;
        margin: 8px 0 0;
    }

    .chip-feature-sm-blue {
        padding: 0 10px;
        height: 27px;
        border-radius: 6px;
        font-size: 11px;
    }

    .saas-benefits-card {
        order: 5;
        padding: 14px;
        margin: 10px 0 0;
        gap: 8px;
        border-radius: 10px;
    }

    .saas-benefits-card .brick-benefit-item {
        gap: 8px;
        font-size: 12px;
    }

    .saas-benefits-card .brick-benefit-item i {
        font-size: 14px;
    }

    .oblique-text h2 {
        font-size: 1.8rem;
    }

    .oblique-subtext {
        font-size: 16px;
    }

    .oblique-image img {
        max-width: 100%;
    }

    .cta-button-white {
        padding: 10px 25px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .oblique-title {
        font-size: 1.6rem;
    }

    .oblique-text h2 {
        font-size: 1.4rem;
    }

    .oblique-subtext {
        font-size: 14px;
        margin-bottom: 15px;
    }

    .cta-button-white {
        padding: 8px 20px;
        font-size: 13px;
    }
}
