/* Offre Découverte page (resources/views/storefront/discovery.blade.php), on top of the .free-hosting-* styles of
   newscloud.min.css: the visitor's status card, the included grid, the steps and the comparison with paid plans. */

/* Only hosting-dashboard.css defines it otherwise: needed here for the « (nouvel onglet) » of external links. */
.sr-only {
    border: 0;
    clip: rect(0, 0, 0, 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    white-space: nowrap;
    width: 1px;
}

.discovery-status-body {
    display: grid;
    gap: 12px;
    justify-items: start;
    padding: 30px 32px 28px;
}
.discovery-status-body .eyebrow {
    margin: 0;
}
.discovery-status-body h2 {
    font-size: 1.6rem;
    line-height: 1.18;
    margin: 0;
}
.discovery-status-body p:not(.eyebrow) {
    color: var(--body);
    line-height: 1.6;
    margin: 0;
}
.discovery-status-primary.button {
    margin-top: 8px;
    min-height: 54px;
    width: 100%;
}
.discovery-status-secondary {
    color: var(--blue);
    font-size: 0.94rem;
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 4px;
}
.discovery-status-unavailable {
    background: #fff7e6;
    border: 1px solid #ffe0a3;
    border-radius: var(--radius);
    padding: 12px 14px;
}
.discovery-status[data-discovery-state="owned"] .discovery-status-body .eyebrow,
.discovery-status[data-discovery-state="eligible"] .discovery-status-body .eyebrow {
    color: var(--green);
}

.discovery-included-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: 0 auto;
    max-width: var(--container);
}
.discovery-included-grid article {
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 12px 28px rgba(24, 39, 75, 0.06);
    padding: 22px;
}
.discovery-included-grid span {
    color: var(--muted);
    display: block;
    font-size: 0.76rem;
    font-weight: 850;
    text-transform: uppercase;
}
.discovery-included-grid strong {
    color: var(--heading);
    display: block;
    font-size: 1.45rem;
    line-height: 1.1;
    margin-top: 10px;
}
.discovery-included-grid p {
    color: var(--body);
    font-size: 0.92rem;
    line-height: 1.5;
    margin: 10px 0 0;
}

.discovery-use-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.discovery-steps {
    counter-reset: none;
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    list-style: none;
    margin: 0 auto;
    max-width: var(--container);
    padding: 0;
}
.discovery-steps li {
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    border-top: 4px solid var(--blue);
    box-shadow: 0 12px 28px rgba(24, 39, 75, 0.06);
    display: grid;
    gap: 8px;
    align-content: start;
    padding: 22px;
}
.discovery-steps small {
    color: var(--blue);
    font-size: 0.76rem;
    font-weight: 900;
    text-transform: uppercase;
}
.discovery-steps strong {
    color: var(--heading);
    font-size: 1.12rem;
    line-height: 1.25;
}
.discovery-steps p {
    color: var(--body);
    line-height: 1.58;
    margin: 0;
}
.discovery-step-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    margin-top: 4px;
}
.discovery-step-links a {
    color: var(--blue);
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 4px;
}

/* Comparison: the first column stays in view when the table scrolls sideways on a phone. */
.discovery-compare {
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 12px 30px rgba(24, 39, 75, 0.06);
    margin: 0 auto;
    max-width: var(--container);
    overflow-x: auto;
}
.discovery-compare:focus-visible {
    outline: 3px solid #7aa2ff;
    outline-offset: 2px;
}
.discovery-compare table {
    border-collapse: collapse;
    min-width: 720px;
    width: 100%;
}
.discovery-compare th,
.discovery-compare td {
    border-top: 1px solid var(--line);
    color: var(--body);
    font-size: 0.92rem;
    line-height: 1.4;
    letter-spacing: 0;
    padding: 12px 16px;
    text-align: left;
    text-transform: none;
    vertical-align: top;
}
.discovery-compare thead th {
    border-top: 0;
    color: var(--heading);
    font-size: 1rem;
    font-weight: 900;
    padding-top: 18px;
}
.discovery-compare thead small {
    color: var(--muted);
    display: block;
    font-size: 0.8rem;
    font-weight: 750;
    margin-top: 2px;
}
.discovery-compare tbody th[scope="row"] {
    color: var(--heading);
    font-weight: 750;
}
.discovery-compare th:first-child {
    background: #ffffff;
    left: 0;
    position: sticky;
    z-index: 1;
}
.discovery-compare .is-discovery {
    background: var(--surface-blue);
    color: var(--heading);
    font-weight: 800;
}
.discovery-compare thead .is-discovery small {
    color: var(--blue);
}
.discovery-compare-group th {
    background: var(--surface-soft) !important;
    color: var(--muted) !important;
    font-size: 0.76rem !important;
    font-weight: 900 !important;
    text-transform: uppercase;
}
.discovery-compare-more {
    margin: 18px auto 0;
    max-width: var(--container);
    text-align: center;
}
.discovery-compare-more a {
    color: var(--blue);
    font-weight: 800;
}

.free-hosting-final-cta > div h2 {
    margin-bottom: 8px;
}

@media (max-width: 980px) {
    .discovery-included-grid,
    .discovery-steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 760px) {
    .discovery-status-body {
        padding: 24px 20px 22px;
    }
    .discovery-use-list {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 560px) {
    .discovery-included-grid,
    .discovery-steps {
        grid-template-columns: 1fr;
    }
}
