/* Landing développeur Statamic — s’appuie sur le thème du site (main.min.css). */

body:has(.dev-statamic-page) {
    background-color: #0f0f0f !important;
    color: #fff;
}

body:has(.dev-statamic-page) > div {
    display: block;
    width: 100%;
    max-width: none;
    min-height: 0;
    padding: 0;
}

body:has(.dev-statamic-page) .my-app {
    width: 100%;
    max-width: 100%;
}

.dev-statamic-page {
    line-height: 1.7;
}

.dev-statamic-hero {
    padding: 220px 0 4.5rem;
}

.dev-statamic-kicker {
    margin-bottom: 0.85rem;
    color: #949494;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    line-height: 1.4;
    text-transform: uppercase;
}

.dev-statamic-page h1 {
    max-width: 16em;
    margin-bottom: 1.5rem;
    color: #fff;
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 600;
    line-height: 1.2;
}

.dev-statamic-lead p {
    max-width: 40rem;
    margin: 0 0 1rem;
    color: #d9d9d9;
    line-height: 1.75;
}

.dev-statamic-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem 1.5rem;
    margin-top: 0.75rem;
}

.dev-statamic-page .btn {
    text-transform: none;
}

.dev-statamic-actions .btn {
    margin-top: 0;
}

.dev-statamic-text-cta {
    color: #fff;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.dev-statamic-text-cta:hover {
    color: #f70354;
}

.dev-statamic-trust {
    margin-top: 2rem;
    padding-top: 1.25rem;
    border-top: 1px solid #414141;
}

.dev-statamic-partner {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    max-width: 26rem;
    color: #fff;
    font-weight: 500;
    line-height: 1.35;
    text-decoration: none;
}

.dev-statamic-partner img {
    width: 28px;
    height: auto;
    flex: none;
}

.dev-statamic-partner span {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.dev-statamic-partner:hover {
    color: #f70354;
}

.dev-statamic-proofs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.75rem;
    margin: 1.15rem 0 0;
    padding: 0;
    list-style: none;
}

.dev-statamic-proofs li {
    color: #fff;
    font-weight: 500;
    line-height: 1.45;
}

.dev-statamic-portrait {
    display: block;
    width: min(100%, 280px);
    height: auto;
    border-radius: 12px;
}

.dev-statamic-section {
    padding: 4.25rem 0;
    border-top: 1px solid #2a2a2a;
}

.dev-statamic-page .prose h2 {
    margin: 0 0 1.25rem;
    color: #fff;
    font-size: 1.75rem;
    font-weight: 600;
    line-height: 1.3;
}

.dev-statamic-page .prose h3 {
    margin: 2rem 0 0.65rem;
    color: #fff;
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.4;
}

.dev-statamic-page .prose h3:first-of-type {
    margin-top: 0.5rem;
}

.dev-statamic-page .prose p {
    max-width: 42rem;
    margin: 0 0 1.15rem;
    color: #d9d9d9;
    line-height: 1.75;
}

.dev-statamic-page .prose ul {
    max-width: 42rem;
    margin: 0.5rem 0 1.25rem;
    padding-left: 1.25rem;
    list-style: disc;
}

.dev-statamic-page .prose li {
    margin-bottom: 0.75rem;
    color: #d9d9d9;
    line-height: 1.7;
}

.dev-statamic-page .prose li strong {
    color: #fff;
    font-weight: 600;
}

.dev-statamic-page .breadcrumb .breadcrumb-item,
.dev-statamic-page .breadcrumb a,
.dev-statamic-page .breadcrumb .active {
    color: #d9d9d9;
}

.dev-statamic-page .breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    color: #949494;
}

.dev-statamic-page .prose a:not(.btn),
.dev-statamic-card a,
.dev-statamic-offer a {
    color: #f70354;
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.dev-statamic-page .prose a:not(.btn):hover,
.dev-statamic-card a:hover,
.dev-statamic-offer a:hover {
    color: #fff;
}

.dev-statamic-page a:focus-visible,
.dev-statamic-page button:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 4px;
}

#contact,
#realisations {
    scroll-margin-top: 8rem;
}

.dev-statamic-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    margin-top: 2rem;
}

.dev-statamic-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    border: 1px solid #2a2a2a;
    border-radius: 12px;
    background: #161616;
}

.dev-statamic-card img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.dev-statamic-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 1.25rem 1.35rem 1.4rem;
}

.dev-statamic-card-type {
    margin: 0 0 0.35rem;
    color: #949494;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.dev-statamic-card h3 {
    margin: 0 0 0.65rem;
    color: #fff;
    font-size: 1.15rem;
    font-weight: 600;
    line-height: 1.35;
}

.dev-statamic-card p {
    margin: 0 0 1rem;
    color: #d9d9d9;
    line-height: 1.65;
}

.dev-statamic-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin: 0 0 1rem;
    padding: 0;
    list-style: none;
}

.dev-statamic-tags li {
    padding: 0.15rem 0.55rem;
    border: 1px solid #414141;
    border-radius: 999px;
    color: #d9d9d9;
    font-size: 0.8rem;
    line-height: 1.4;
}

.dev-statamic-card-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.25rem;
    margin-top: auto;
}

.dev-statamic-offer {
    max-width: 42rem;
    margin-top: 0.5rem;
    padding: 1.5rem 1.5rem 1.35rem;
    border: 1px solid #414141;
    border-radius: 12px;
    background: #161616;
}

.dev-statamic-offer p:last-child {
    margin-bottom: 0;
}

.dev-statamic-excerpt {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
}

.dev-statamic-embed {
    max-width: 42rem;
    margin-top: 1.5rem;
    overflow: hidden;
    border-radius: 12px;
    background: #fff;
}

.dev-statamic-embed iframe {
    display: block;
    width: 100%;
    min-height: 640px;
    border: 0;
}

@media (min-width: 768px) {
    .dev-statamic-cards {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 991.98px) {
    .dev-statamic-hero {
        padding-top: 180px;
    }

    .dev-statamic-portrait {
        margin-top: 2.5rem;
    }
}
