/* ==========================================================
   ACTIV'INTÉRIM — VERSION 0.8
   Expérience premium : rythme, contraste et personnalité
========================================================== */

:root {
    --color-accent-deep: #b90f18;
    --color-ink: #17191d;
    --color-copy: #4b4f57;
    --shadow-premium: 0 28px 80px rgba(24, 18, 19, .12);
}

/* Lisibilité renforcée */
body { color: var(--color-ink); }
p, li { color: var(--color-copy); }
.section-heading > p:last-child,
.hero-text,
.sector-card p,
.job-card p,
.trust-card p,
.review-card blockquote,
.local-section p,
.application-section p { color: #4b4f57; }

/* Accueil plus vivant, sans effet décoratif gratuit */
.hero {
    min-height: min(850px, calc(100svh - var(--header-height)));
    display: flex;
    align-items: center;
    background:
        radial-gradient(circle at 86% 20%, rgba(227,27,35,.14), transparent 24rem),
        radial-gradient(circle at 9% 86%, rgba(227,27,35,.055), transparent 28rem),
        linear-gradient(135deg, #fff 0%, #fff 48%, #faf5f4 100%);
}

.hero-grid { align-items: center; gap: clamp(3rem, 8vw, 7rem); }
.hero-content { max-width: 720px; }
.hero h1 {
    max-width: 780px;
    font-size: clamp(3rem, 7vw, 6.25rem);
    line-height: .96;
    letter-spacing: -.065em;
}
.hero-text { max-width: 630px; font-size: clamp(1.08rem, 1.7vw, 1.32rem); line-height: 1.65; }
.hero-actions { margin-top: 2rem; }

.hero-shortcuts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .8rem;
    margin-top: 1.3rem;
}
.hero-shortcuts a {
    display: grid;
    gap: .42rem;
    padding: 1.15rem 1.2rem;
    color: var(--color-ink);
    background: rgba(255,255,255,.72);
    border: 1px solid rgba(25,27,32,.10);
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(25,27,32,.055);
    transition: transform 240ms ease, border-color 240ms ease, box-shadow 240ms ease;
}
.hero-shortcuts a:hover {
    transform: translateY(-3px);
    border-color: rgba(227,27,35,.35);
    box-shadow: 0 18px 42px rgba(25,27,32,.09);
}
.hero-shortcuts strong { font-size: .98rem; }
.hero-shortcuts span { color: #6a6e76; font-size: .84rem; }

.hero-panel {
    position: relative;
    overflow: hidden;
    padding: clamp(2rem, 4vw, 3.2rem);
    border: 1px solid rgba(227,27,35,.16);
    border-radius: 32px;
    box-shadow: var(--shadow-premium);
}
.hero-panel::before {
    position: absolute;
    width: 210px;
    height: 210px;
    right: -72px;
    top: -90px;
    border-radius: 50%;
    background: rgba(227,27,35,.095);
    content: "";
}
.hero-panel-statement { font-size: clamp(1.7rem, 3vw, 2.65rem); line-height: 1.08; letter-spacing: -.045em; }

/* Rythme plus marqué entre les séquences */
.proof-strip { background: #191b20; border: 0; }
.proof-grid p { color: #fff; }
.proof-grid p::before { background: var(--color-accent); }

#secteurs { background: #fff; }
.section-jobs { background: linear-gradient(180deg, #f6f3f1 0%, #fbfaf9 100%); }
.trust-section { background: #fff; }
.local-section { background: linear-gradient(180deg, #f3f0ed 0%, #faf9f7 100%); }

.section-heading h2 { max-width: 850px; letter-spacing: -.045em; }
.section-heading .eyebrow { color: var(--color-accent-deep); }

.sector-card:nth-child(2) { transform: translateY(1.4rem); }
.sector-card:nth-child(2):hover { transform: translateY(calc(1.4rem - 6px)); }

/* Section entreprises : véritable temps fort */
.company-section {
    padding-block: clamp(5rem, 9vw, 8rem);
    background: #fff;
}
.company-panel {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(260px, .65fr);
    align-items: end;
    gap: clamp(2rem, 7vw, 6rem);
    padding: clamp(2.4rem, 6vw, 5.5rem);
    color: #fff;
    background:
        radial-gradient(circle at 92% 12%, rgba(255,255,255,.17), transparent 24rem),
        linear-gradient(135deg, #e31b23 0%, #c90f18 56%, #a70b13 100%);
    border: 0;
    border-radius: clamp(28px, 4vw, 46px);
    box-shadow: 0 34px 90px rgba(172, 12, 21, .28);
}
.company-panel::after {
    position: absolute;
    right: -6rem;
    bottom: -8rem;
    width: 25rem;
    height: 25rem;
    border: 1px solid rgba(255,255,255,.17);
    border-radius: 50%;
    box-shadow: 0 0 0 3rem rgba(255,255,255,.035), 0 0 0 7rem rgba(255,255,255,.025);
    content: "";
    pointer-events: none;
}
.company-copy, .company-action { position: relative; z-index: 1; }
.company-panel .eyebrow { color: rgba(255,255,255,.78); }
.company-panel h2 { max-width: 650px; margin-bottom: 1.2rem; color: #fff; font-size: clamp(2.4rem, 5vw, 4.7rem); line-height: 1; letter-spacing: -.055em; }
.company-panel p { max-width: 720px; color: rgba(255,255,255,.84); font-size: 1.05rem; line-height: 1.7; }
.company-benefits { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1.7rem; padding: 0; list-style: none; }
.company-benefits li { padding: .68rem .9rem; color: #fff; background: rgba(255,255,255,.11); border: 1px solid rgba(255,255,255,.18); border-radius: 999px; font-size: .88rem; font-weight: 600; }
.company-action { display: grid; gap: 1rem; }
.company-action > p { color: #fff; font-weight: 700; }
.company-button {
    justify-content: space-between;
    width: 100%;
    color: #b20d16;
    background: #fff;
    border-color: #fff;
    box-shadow: 0 14px 32px rgba(62,0,5,.18);
}
.company-button:hover { color: #8c0710; background: #fff; border-color: #fff; transform: translateY(-3px); }

/* Plus de respiration et de relief dans les avis */
.reviews-heading { margin-top: clamp(5rem, 9vw, 8rem); }
.review-card:nth-child(2) { transform: translateY(1.1rem); }
.review-card:nth-child(2):hover { transform: translateY(calc(1.1rem - 6px)); }

/* Méthode liée visuellement au bloc entreprises */
.section-dark { margin-top: -1px; background: radial-gradient(circle at 15% 5%, rgba(227,27,35,.23), transparent 28rem), linear-gradient(155deg, #181a1f 0%, #0d0f12 100%); }

@media (max-width: 860px) {
    .hero { min-height: auto; }
    .company-panel { grid-template-columns: 1fr; align-items: start; }
    .company-action { max-width: 430px; }
}

@media (max-width: 620px) {
    .hero h1 { font-size: clamp(2.8rem, 14vw, 4.1rem); }
    .hero-shortcuts { grid-template-columns: 1fr; }
    .trust-list { gap: .55rem 1rem; }
    .sector-card:nth-child(2), .review-card:nth-child(2) { transform: none; }
    .sector-card:nth-child(2):hover, .review-card:nth-child(2):hover { transform: translateY(-6px); }
    .company-section { padding-inline: .25rem; }
    .company-panel { padding: 2rem 1.35rem; border-radius: 28px; }
    .company-panel h2 { font-size: clamp(2.25rem, 12vw, 3.5rem); }
    .company-benefits { display: grid; }
    .company-benefits li { text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
    .sector-card:nth-child(2), .review-card:nth-child(2) { transform: none; }
}
