/* =========================================================
   Page Offres - encre sur papier.
   Fiche technique : les metadonnees en marge, le texte au centre.
   Aucun encadre, aucune ombre, aucun angle arrondi.
   ========================================================= */

/* ---------- CHAPEAU ---------- */
.offers-intro {
    background-color: var(--paper);
    padding: 3.5rem 0 1rem;
}

.intro-content {
    text-align: left;
    max-width: none;
    margin: 0;
}

.intro-content h2 {
    font-size: clamp(1.5rem, 2.6vw, 2rem);
    margin-bottom: 1rem;
    max-width: 24ch;
    color: var(--ink);
}

.intro-content p {
    font-size: var(--text-base);
    color: var(--muted);
    max-width: 64ch;
    margin: 0;
}

/* ---------- TITRES DE SECTION ---------- */
.section-title {
    text-align: left;
    font-size: clamp(1.5rem, 2.8vw, 2.125rem);
    max-width: 22ch;
    margin-bottom: 3rem;
    color: var(--ink);
}

/* ---------- LES TROIS FORMULES ---------- */
.services-section {
    background-color: var(--paper);
    padding: 4.5rem 0 1rem;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    margin-bottom: 0;
}

.service-card {
    background: var(--paper);
    border: 0;
    border-radius: 0;
    padding: 0;
    transition: none;
}

.service-card:hover {
    transform: none;
    box-shadow: none;
}

/* Deux colonnes : la fiche a gauche, le detail a droite.
   Le placement automatique remplit la colonne 2 des la ligne 1. */
.service-card-full {
    display: grid;
    grid-template-columns: 17rem 1fr;
    column-gap: 4rem;
    align-items: start;
    border-top: var(--epaisseur-trait) solid var(--trait);
    padding: 2.5rem 0 3.5rem;
}

.service-card-full > * {
    grid-column: 2;
}

.service-card-full > .service-header {
    grid-column: 1;
    grid-row: 1;
}

.service-card-full > .service-highlights {
    grid-column: 1;
    grid-row: 2;
}

.service-header {
    margin-bottom: 1.5rem;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.header-top h3 {
    font-size: var(--text-xl);
    font-weight: 600;
    color: var(--ink);
    margin: 0;
    flex: 1;
}

/* Les etiquettes deviennent des mentions, pas des pastilles. */
.complexity-badge,
.web-badge {
    background: none;
    color: var(--muted);
    font-family: var(--font-mono);
    font-size: var(--text-xs);
    font-weight: 400;
    letter-spacing: .04em;
    padding: 0;
    border-radius: 0;
    white-space: nowrap;
}

.subtitle {
    color: var(--muted);
    font-size: var(--text-sm);
    margin: 0;
    max-width: 34ch;
}

/* Prix et delai : une petite table, pas un encadre gris. */
.service-highlights {
    display: block;
    margin-bottom: 1.5rem;
    padding: 0;
    background: none;
    border-radius: 0;
    border-top: 1px solid var(--rule);
}

.highlight-item {
    display: grid;
    grid-template-columns: 5.5rem 1fr;
    gap: .75rem;
    align-items: baseline;
    padding: .7rem 0;
    border-bottom: 1px solid var(--rule);
}

.highlight-item strong {
    color: var(--muted);
    font-family: var(--font-mono);
    font-size: var(--text-xs);
    font-weight: 400;
    letter-spacing: .04em;
}

.highlight-item span {
    color: var(--ink);
    font-size: var(--text-sm);
}

/* la mention "ou compris dans..." doit rester dans la colonne de droite */
.highlight-item .price-note {
    grid-column: 2;
    display: block;
    color: var(--muted);
    font-size: var(--text-xs);
    margin-top: .15rem;
}

.price {
    color: var(--ink);
    font-weight: 600;
    font-size: var(--text-base);
}

/* Un prix ne se coupe jamais au milieu d'un nombre. */
.nowrap {
    white-space: nowrap;
}

/* ---------- CORPS DE L'OFFRE ---------- */
/* le bloc existe en <div><p>...</p></div> et en <p class="service-description"> */
.service-description,
.service-description p {
    color: var(--ink-2);
    font-size: var(--text-lg);
    max-width: 62ch;
}

.service-description {
    margin-bottom: 2rem;
}

.service-description p {
    margin: 0;
}

.service-included,
.service-examples,
.service-logic,
.service-results,
.service-benefits {
    margin-bottom: 2rem;
}

.service-included h4,
.service-examples h4,
.service-logic h4,
.service-results h4,
.service-benefits h4 {
    color: var(--muted);
    font-family: var(--font-mono);
    font-size: var(--text-xs);
    font-weight: 400;
    letter-spacing: .04em;
    margin-bottom: 1rem;
    padding-bottom: .5rem;
    border-bottom: 1px solid var(--rule);
}

.feature-list,
.examples-list,
.results-list,
.benefits-list {
    list-style: none;
    padding: 0;
    margin: 0;
    max-width: 68ch;
}

.feature-list li,
.examples-list li,
.results-list li,
.benefits-list li {
    color: var(--muted);
    font-size: var(--text-sm);
    line-height: 1.6;
    padding: .3rem 0 .3rem 1.4rem;
}

.feature-list li::before,
.examples-list li::before,
.results-list li::before,
.benefits-list li::before {
    color: var(--brand);
    font-weight: 400;
    margin-right: .5rem;
    margin-left: -1.4rem;
}

.feature-list li::before   { content: "\2014"; }
.examples-list li::before  { content: "\2014"; }
.results-list li::before   { content: "\2014"; }
.benefits-list li::before  { content: "\2014"; }

.service-logic p {
    color: var(--muted);
    font-size: var(--text-sm);
    max-width: 68ch;
    margin: 0;
}

.service-cta {
    margin-top: 0;
    padding-top: .5rem;
}

/* ---------- AUTOMATISATIONS : maintenance + engagement ---------- */
.agent-terms {
    margin-top: 1rem;
}

.price-large sup {
    font-size: .55em;
    vertical-align: super;
    line-height: 0;
}

/* ---------- BASCULE VERS LE SECOND METIER ---------- */
/* Un filet et un libelle mono : on change de metier, pas de site. */
.services-mobile {
    margin-top: 4.5rem;
    border-top: 1px solid var(--rule);
}

.offers-divider {
    margin-bottom: 2.5rem;
}

.divider-label {
    display: block;
    font-family: var(--font-mono);
    font-size: var(--text-xs);
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 1rem;
}

.offers-divider h2 {
    font-size: clamp(1.5rem, 2.6vw, 2rem);
    max-width: 24ch;
    margin-bottom: 1rem;
    color: var(--ink);
}

.offers-divider p {
    color: var(--muted);
    max-width: 64ch;
    margin: 0;
}

/* ---------- SERVICES COMPLEMENTAIRES ---------- */
.complementary-services {
    background-color: var(--paper);
    padding: 4.5rem 0 1rem;
}

.two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 4rem;
}

.service-card-full,
.service-card-web,
.service-card-maintenance {
    border-left: 0;
}

.service-card-web,
.service-card-maintenance {
    border-top: 1px solid var(--rule);
    padding: 2rem 0 2.5rem;
}

/* Le prix se lit en premier : il est pose sur le ventre du castor. */
.price-highlight {
    background: var(--ventre);
    color: var(--sur-ventre);
    padding: 1.5rem;
    border-radius: 0;
    text-align: left;
    margin-bottom: 1.75rem;
}

.price-large {
    font-size: var(--text-2xl);
    font-weight: 600;
}

.maintenance-note {
    background: none;
    border-left: 0;
    border-top: 1px solid var(--rule);
    padding: 1rem 0 0;
    border-radius: 0;
    margin-bottom: 1.5rem;
}

.maintenance-note p {
    margin: 0;
    color: var(--muted);
    font-size: var(--text-sm);
    line-height: 1.6;
}

.complementary-note {
    background: none;
    padding: 0 0 2rem;
    text-align: left;
}

.complementary-note p {
    margin: 0;
    color: var(--muted);
    font-family: var(--font-mono);
    font-size: var(--text-xs);
    font-style: normal;
    font-weight: 400;
    letter-spacing: .04em;
}

/* ---------- OPTIONS ---------- */
.options-section {
    background-color: var(--paper);
    padding: 4.5rem 0 1rem;
}

.options-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 3rem;
    row-gap: 0;
}

.option-card {
    background: none;
    border: 0;
    border-top: 1px solid var(--rule);
    border-radius: 0;
    padding: 1.5rem 0 1.75rem;
    transition: none;
}

.option-card:hover {
    background: none;
}

.option-card h4 {
    color: var(--ink);
    font-size: var(--text-base);
    font-weight: 600;
    margin-bottom: .5rem;
}

.option-description {
    color: var(--muted);
    font-size: var(--text-sm);
    line-height: 1.6;
    margin-bottom: .75rem;
    max-width: 40ch;
}

.option-price {
    color: var(--ink);
    font-family: var(--font-mono);
    font-size: var(--text-xs);
    font-weight: 400;
    letter-spacing: .04em;
    margin: 0;
}

/* ---------- LANDING PAGE (seule bande sombre) ---------- */
.secondary-offer {
    background: var(--bande);
    padding: 5rem 0;
    color: var(--on-ink);
    margin-top: 4.5rem;
}

.secondary-card {
    background: none;
    border: 0;
    border-radius: 0;
    padding: 0;
    text-align: left;
    backdrop-filter: none;
    max-width: 46rem;
}

.secondary-card h3 {
    color: var(--on-ink);
    margin-bottom: .75rem;
    font-size: var(--text-2xl);
    font-weight: 600;
}

.secondary-price {
    font-size: var(--text-3xl);
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--on-ink);
}

.secondary-note {
    color: var(--on-ink-mute);
    font-size: var(--text-sm);
    margin: 0;
    max-width: 56ch;
}

/* ---------- FAQ ---------- */
.offers-faq {
    background-color: var(--paper);
    padding: 4.5rem 0 1rem;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 4rem;
    row-gap: 0;
}

.faq-item {
    background: none;
    padding: 1.5rem 0 1.75rem;
    border-radius: 0;
    border: 0;
    border-top: 1px solid var(--rule);
}

.faq-item h4 {
    color: var(--ink);
    margin-bottom: .6rem;
    font-size: var(--text-base);
    font-weight: 600;
}

.faq-item p {
    color: var(--muted);
    line-height: 1.6;
    margin: 0;
    font-size: var(--text-sm);
    max-width: 52ch;
}

.faq-item strong {
    color: var(--ink);
    font-weight: 500;
}

/* ---------- APPEL FINAL ---------- */
.cta-final {
    background: var(--paper);
    color: var(--ink);
    padding: 5rem 0 6.5rem;
    margin-top: 4.5rem;
    text-align: left;
    border-top: 1px solid var(--rule);
}

.cta-final h2 {
    color: var(--ink);
    margin-bottom: 1rem;
    font-size: clamp(1.5rem, 2.8vw, 2.125rem);
    max-width: 22ch;
}

.cta-final p {
    color: var(--muted);
    font-size: var(--text-base);
    margin-bottom: 2.25rem;
    max-width: 56ch;
}

.btn-large {
    padding: .95rem 2rem;
    font-size: var(--text-base);
}

/* ---------- MOBILE ---------- */
@media (max-width: 980px) {
    .service-card-full {
        display: block;
        padding: 2rem 0 2.5rem;
    }
    .options-grid { grid-template-columns: repeat(2, 1fr); column-gap: 2.5rem; }
    .faq-grid { grid-template-columns: repeat(2, 1fr); column-gap: 2.5rem; }
}

@media (max-width: 768px) {
    .two-column { grid-template-columns: 1fr; column-gap: 0; }
    .options-grid { grid-template-columns: 1fr; }
    .faq-grid { grid-template-columns: 1fr; }
    .header-top { flex-direction: column; align-items: flex-start; gap: .35rem; }
    .header-top h3 { margin-bottom: 0; }
    .offers-intro { padding-top: 2.5rem; }
    .services-section,
    .complementary-services,
    .options-section,
    .offers-faq { padding-top: 3rem; }
    .secondary-offer { padding: 3.5rem 0; margin-top: 3rem; }
    .services-mobile { margin-top: 3rem; }
    .cta-final { padding: 3.5rem 0 4rem; margin-top: 3rem; }
}

/* Les liens de l'accueil visent ces fiches : l'en-tete collant ne doit pas masquer leur titre. */
.service-card[id] {
    scroll-margin-top: 6rem;
}
