/* ================================
   PAGES D'OFFRE (/developpement/, /ia/, /publicite/)
   Chargé après style.css et home.css : même charte que l'accueil.
   ================================ */

/* ---------- Accroche ---------- */
.intro--offer { padding-bottom: 90px; }
.intro__kicker {
    display: inline-block;
    margin-bottom: 1.25rem;
    font-weight: 700;
    color: var(--accent-color);
}

/* ---------- Problèmes ---------- */
.pains { padding: 110px 0; background: var(--bg-light); }
.pains__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}
.pain {
    padding: 32px;
    border-radius: 20px;
    background: #ffffff;
    border: 1px solid var(--line);
}
.pain__who {
    display: inline-block;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary-dark);
}
.pain h3 { font-size: 1.3rem; font-weight: 800; line-height: 1.25; color: var(--navy); }
.pain p:last-child { margin-top: 0.6rem; color: var(--muted); line-height: 1.6; }

/* ---------- Livrables ---------- */
.delivs { padding: 110px 0; background: #ffffff; }
.delivs__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}
.deliv {
    padding: 30px;
    border-radius: 20px;
    background: var(--sky);
    color: var(--navy);
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.deliv--lead { background: var(--navy); color: #ffffff; }
.deliv--wide { grid-column: 1 / -1; background: var(--primary-color); color: #ffffff; }
.deliv--wide p { max-width: 75ch; color: rgba(255, 255, 255, 0.88); }
.deliv h3 { font-size: 1.2rem; font-weight: 800; line-height: 1.25; }
.deliv p { margin-top: 0.6rem; line-height: 1.6; color: var(--ink); }
.deliv--lead p { color: rgba(255, 255, 255, 0.82); }
@media (hover: hover) { .deliv:hover { transform: translateY(-4px); } }

/* ---------- Réalisations : cartes d'exemple ---------- */
.client--example { background: transparent; border-style: dashed; border-color: #c9d9e3; }
.client__logo--example {
    justify-content: center;
    width: 48px;
    border-radius: 12px;
    background: var(--sky);
    color: var(--primary-dark);
    font-size: 1.4rem;
    font-weight: 800;
}
.client__logo--icon img { background: #ffffff; border: 1px solid var(--line); padding: 4px; }
.clients .reviews { margin-bottom: 20px; }

/* ---------- Questions ---------- */
.faq-band { padding: 110px 0; background: #ffffff; }
.faq-list { display: grid; gap: 12px; max-width: 900px; }
.faq-item {
    border-radius: 16px;
    background: var(--bg-light);
    border: 1px solid var(--line);
}
.faq-item summary {
    position: relative;
    padding: 22px 60px 22px 26px;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--navy);
    cursor: pointer;
    list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: '+';
    position: absolute;
    right: 26px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    transition: transform 0.25s ease;
}
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-item summary:focus-visible { outline: 2px solid var(--primary-color); outline-offset: 2px; border-radius: 16px; }
.faq-item p { padding: 0 26px 24px; color: var(--muted); line-height: 1.65; max-width: 70ch; }

/* ---------- Les autres offres ---------- */
.others { padding: 90px 0 110px; background: #ffffff; }
.others h2 {
    margin-bottom: 1.75rem;
    font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.2rem);
    font-weight: 800;
    color: var(--navy);
}
.others__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.other-offer {
    position: relative;
    display: grid;
    gap: 0.4rem;
    padding: 30px 70px 30px 30px;
    border-radius: 20px;
    background: var(--navy);
    color: #ffffff;
    text-decoration: none;
    transition: background-color 0.2s ease, transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.other-offer + .other-offer { background: var(--primary-color); }
.other-offer strong { font-size: 1.35rem; font-weight: 800; }
.other-offer span:not(.other-offer__arrow) { color: rgba(255, 255, 255, 0.85); }
.other-offer__arrow {
    position: absolute;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.6rem;
    font-weight: 800;
    transition: transform 0.2s ease;
}
.other-offer:hover { transform: translateY(-3px); }
.other-offer:hover .other-offer__arrow { transform: translate(4px, -50%); }
.other-offer:focus-visible { outline: 3px solid var(--accent-color); outline-offset: 3px; }

/* ---------- Tablette et téléphone ---------- */
@media (max-width: 1000px) {
    .delivs__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .pains, .delivs, .faq-band { padding: 72px 0; }
    .others { padding: 56px 0 72px; }
    .pains__grid, .delivs__grid, .others__grid { grid-template-columns: 1fr; }
    .pain, .deliv { padding: 24px; }
    .faq-item summary { padding: 18px 52px 18px 20px; font-size: 1.02rem; }
    .faq-item summary::after { right: 20px; }
    .faq-item p { padding: 0 20px 20px; }
}

/* Une seule réalisation : la carte ne s'étire pas sur toute la grille */
.client-grid--single { grid-template-columns: minmax(0, 420px); }
