/* =====================================================================
   STOREBYWORE - pages d'information (SBW-24) et suivi de commande (SBW-34)
   Couleurs : variables de app.css (DESIGN.md), aucune couleur nouvelle.
   ===================================================================== */

.info-page {
    max-width: 860px;
}

.page-content {
    font-size: 1.0625rem;
    line-height: 1.7;
}

.page-content p {
    margin-bottom: 1.1rem;
    overflow-wrap: anywhere;
}

.page-content p:last-child {
    margin-bottom: 0;
}

.page-pending {
    background: var(--sbw-gris-blanc);
    border: 1px solid var(--sbw-gris-bordure);
    border-left: 4px solid var(--sbw-vert);
    border-radius: .75rem;
    padding: 1.25rem 1.5rem;
}

.info-section {
    margin-top: 2.5rem;
}

.info-table-wrap {
    border: 1px solid var(--sbw-gris-bordure);
    border-radius: .75rem;
}

.info-table thead th {
    background: var(--sbw-gris-blanc);
    font-size: .875rem;
    font-weight: 600;
    color: var(--sbw-gris-texte);
}

.info-table th,
.info-table td {
    padding: .85rem 1rem;
}

.info-table tbody tr:last-child > * {
    border-bottom: 0;
}

.info-list {
    list-style: none;
    padding: 0;
    margin: 0 0 .75rem;
}

.info-list li {
    padding: .6rem 0;
    border-bottom: 1px solid var(--sbw-gris-bordure);
}

.info-notice {
    background: var(--sbw-vert-clair);
    border-radius: .75rem;
    padding: 1rem 1.25rem;
    font-weight: 600;
}

/* Contact */
.contact-card {
    height: 100%;
    background: var(--sbw-blanc);
    border: 1px solid var(--sbw-gris-bordure);
    border-radius: .75rem;
    padding: 1.5rem;
    text-align: center;
}

.contact-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    margin-bottom: .75rem;
    border-radius: 50%;
    background: var(--sbw-vert-clair);
    color: var(--sbw-vert);
    font-size: 1.35rem;
}

/* Suivi de commande */
.tracking-page {
    max-width: 1100px;
}

.tracking-status dt,
.tracking-details dt {
    font-weight: 500;
    color: var(--sbw-gris-texte);
}

.tracking-details dd {
    margin-bottom: .75rem;
    overflow-wrap: anywhere;
}

.tracking-items tfoot th,
.tracking-items tfoot td {
    border-bottom: 0;
    padding-block: .35rem;
}

.tracking-total th,
.tracking-total td {
    font-size: 1.1rem;
    font-weight: 700;
    border-top: 1px solid var(--sbw-gris-bordure);
}

.tracking-instructions {
    background: var(--sbw-gris-blanc);
    border-radius: .5rem;
    padding: .85rem 1rem;
}

.tracking-instructions .page-content {
    font-size: .95rem;
    line-height: 1.6;
}

/* ---------- Page À propos ---------- */
.about-hero {
    padding: 3rem 0;
    background: linear-gradient(180deg, var(--sbw-blanc) 0%, var(--sbw-gris-blanc) 100%);
    border-bottom: 1px solid var(--sbw-gris-bordure);
}

.about-logo {
    width: clamp(150px, 40vw, 240px);
    height: auto;
    border-radius: 50%;
}

.about-kicker {
    margin: 0 0 .4rem;
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--sbw-vert);
}

.about-title {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    margin-bottom: 1rem;
}

.about-text,
.about-text p {
    font-size: 1.08rem;
    line-height: 1.7;
    color: var(--sbw-texte);
}

.about-feature {
    height: 100%;
    padding: 1.5rem;
    background: var(--sbw-blanc);
    border: 1px solid var(--sbw-gris-bordure);
    border-radius: .9rem;
    transition: border-color .15s ease, box-shadow .15s ease;
}

.about-feature:hover {
    border-color: var(--sbw-vert);
    box-shadow: 0 8px 24px rgba(11, 77, 43, .08);
}

.about-feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    margin-bottom: 1rem;
    border-radius: .8rem;
    background: var(--sbw-vert-clair);
    color: var(--sbw-vert);
    font-size: 1.5rem;
}

.about-feature h3 {
    font-family: var(--sbw-font-texte);
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: .5rem;
}

.about-feature p {
    margin: 0;
    font-size: .93rem;
    color: var(--sbw-gris-texte);
}

.about-categories {
    background: var(--sbw-gris-blanc);
}

.about-category {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 1rem;
    background: var(--sbw-vert-clair);
    color: var(--sbw-blanc);
    text-decoration: none;
}

.about-category img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s ease;
}

.about-category:hover img {
    transform: scale(1.05);
}

.about-category-label {
    position: absolute;
    inset: auto 0 0 0;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: .5rem;
    padding: 2.5rem 1.25rem 1rem;
    background: linear-gradient(180deg, transparent 0%, rgba(8, 59, 33, .85) 100%);
}

.about-category-label strong {
    font-family: var(--sbw-font-titre);
    font-size: 1.5rem;
}

.about-category-label small {
    font-size: .85rem;
    opacity: .9;
}

.about-cta {
    padding: 2.5rem 1.5rem;
    border-radius: 1.2rem;
    background: var(--sbw-vert);
    color: var(--sbw-blanc);
}

.about-cta h2 {
    color: var(--sbw-blanc);
}

.btn-whatsapp-light {
    --bs-btn-color: #FFFFFF;
    --bs-btn-bg: #25D366;
    --bs-btn-border-color: #25D366;
    --bs-btn-hover-color: #FFFFFF;
    --bs-btn-hover-bg: #1EBE5A;
    --bs-btn-hover-border-color: #1EBE5A;
    font-weight: 600;
}

/* À propos : visuel de la boutique à la place du logo rond. */
.about-visual-link {
    display: block;
    max-width: 460px;
    margin-inline: auto;
    border-radius: 1rem;
    transition: transform .2s ease;
}

.about-visual-link:hover,
.about-visual-link:focus-visible {
    transform: translateY(-3px);
}

.about-visual {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 1rem;
    box-shadow: 0 14px 40px rgba(11, 77, 43, .18);
}

/* ---------- Page « Devenir partenaire » ---------- */
.partner-card {
    height: 100%;
    background: var(--sbw-blanc);
    border: 1px solid var(--sbw-gris-bordure);
    border-radius: .75rem;
    padding: 1.25rem;
}

.partner-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-bottom: .6rem;
    border-radius: 50%;
    background: var(--sbw-vert-clair);
    color: var(--sbw-vert);
    font-size: 1.25rem;
}

.partner-form {
    max-width: 860px;
    background: var(--sbw-blanc);
    border: 1px solid var(--sbw-gris-bordure);
    border-radius: .75rem;
    padding: 1.5rem;
}

/* Champ piège pour les robots : hors de l'écran, jamais vu ni atteint au clavier. */
.partner-trap {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}
