/* Style global */
* {
    box-sizing: border-box;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, #1e293b, #0f172a);
    color: #f9fafb;
}

/* Conteneur principal */
main {
    max-width: 900px;
    margin: 2.5rem auto;
    padding: 0 1.5rem 3rem;
}

/* En-tête */
header {
    background: rgba(15, 23, 42, 0.9);
    border-bottom: 1px solid rgba(148, 163, 184, 0.3);
    padding: 1.5rem 1.5rem 1rem;
    text-align: center;
}

header h1 {
    margin: 0 0 0.5rem;
    font-size: 2rem;
}

header p {
    margin: 0.25rem 0;
    color: #cbd5f5;
}

header a {
    color: #38bdf8;
    text-decoration: none;
    font-size: 0.95rem;
}

header a:hover {
    text-decoration: underline;
}

/* Cartes / sections */
section {
    background: rgba(15, 23, 42, 0.95);
    border: 1px solid rgba(148, 163, 184, 0.4);
    border-radius: 14px;
    padding: 1.25rem 1.5rem;
    margin-bottom: 1.25rem;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.6);
}

/* Titres */
h2 {
    margin-top: 0;
    margin-bottom: 0.75rem;
    font-size: 1.2rem;
}

/* Messages OK / erreurs */
.ok {
    color: #4ade80;
    font-weight: 600;
}

.error {
    color: #f97373;
    font-weight: 600;
}

.error li {
    margin-bottom: 0.25rem;
}

/* Formulaire */
form div {
    margin-bottom: 0.5rem;
}

label {
    font-weight: 500;
}

input[type="file"] {
    margin-top: 0.5rem;
    padding: 0.4rem;
    background: #020617;
    border-radius: 8px;
    border: 1px solid rgba(148, 163, 184, 0.7);
    color: #e5e7eb;
    width: 100%;
}

/* Bouton */
button[type="submit"] {
    padding: 0.6rem 1.4rem;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95rem;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: #0f172a;
    box-shadow: 0 10px 30px rgba(34, 197, 94, 0.35);
    transition: transform 0.08s ease-out, box-shadow 0.08s ease-out;
}

button[type="submit"]:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 40px rgba(34, 197, 94, 0.5);
}

button[type="submit"]:active {
    transform: translateY(1px);
    box-shadow: 0 6px 18px rgba(34, 197, 94, 0.3);
}

/* Image d’aperçu */
img {
    border-radius: 12px;
    max-width: 100%;
    height: auto;
}

/* Responsive */
@media (max-width: 640px) {
    header h1 {
        font-size: 1.5rem;
    }
    main {
        margin-top: 1.5rem;
    }
}/* Hero section */
.hero {
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}

.hero-text h2 {
    font-size: 1.8rem;
    margin-bottom: 0.75rem;
}

.tagline {
    margin-top: 0;
    margin-bottom: 1rem;
    color: #e5e7eb;
}

/* Badge */
.badge {
    display: inline-block;
    padding: 0.25rem 0.7rem;
    border-radius: 999px;
    background: rgba(56, 189, 248, 0.12);
    color: #38bdf8;
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
}

/* CTA buttons */
.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 0.5rem;
    margin-bottom: 0.75rem;
}

.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.55rem 1.4rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: #0f172a;
    box-shadow: 0 10px 30px rgba(34, 197, 94, 0.35);
}

.btn-secondary {
    border: 1px solid rgba(148, 163, 184, 0.7);
    color: #e5e7eb;
    background: rgba(15, 23, 42, 0.8);
}

/* Pills statut */
.pill-row {
    margin-top: 0.5rem;
}

.pill {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    font-size: 0.85rem;
}

.ok-pill {
    background: rgba(34, 197, 94, 0.12);
    color: #4ade80;
}

.error-pill {
    background: rgba(248, 113, 113, 0.12);
    color: #f97373;
}

/* Sections */
.section-title {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
}

.muted {
    color: #cbd5f5;
    font-size: 0.95rem;
}

/* Steps list */
.steps-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.steps-list li {
    margin-bottom: 0.75rem;
}

/* Cards / placeholders */
.card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
}

.card {
    padding: 0.8rem;
    border-radius: 12px;
    border: 1px solid rgba(148, 163, 184, 0.5);
    background: rgba(15, 23, 42, 0.95);
    text-align: center;
    font-size: 0.9rem;
}

.placeholder-card span {
    display: block;
    margin-top: 0.25rem;
    color: #cbd5f5;
}

/* Responsive ajustements */
@media (max-width: 768px) {
    .card-grid {
        grid-template-columns: 1fr;
    }
    .hero-text h2 {
        font-size: 1.4rem;
    }
}
/* Galerie */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.gallery-item {
    background: rgba(15, 23, 42, 0.95);
    border-radius: 12px;
    border: 1px solid rgba(148, 163, 184, 0.4);
    padding: 0.6rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.gallery-thumb img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    display: block;
}

.gallery-meta {
    font-size: 0.8rem;
    color: #cbd5f5;
}

.gallery-name {
    font-weight: 500;
    margin-bottom: 0.15rem;
}

.gallery-date {
    opacity: 0.8;
}

/* Responsive galerie */
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}
.gallery-actions {
    margin-top: 0.25rem;
}

.small-btn {
    padding: 0.35rem 0.9rem;
    font-size: 0.8rem;
}
/* Section "Pourquoi Qualsys Pets AI ?" */
.features {
    margin-top: 1.5rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.feature-card {
    background: rgba(15, 23, 42, 0.95);
    border-radius: 14px;
    border: 1px solid rgba(148, 163, 184, 0.4);
    padding: 1rem;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.5);
    font-size: 0.95rem;
}

.feature-card h3 {
    margin-top: 0;
    margin-bottom: 0.4rem;
    font-size: 1.05rem;
}

/* Section rassurance */
.trust-section {
    margin-top: 1.5rem;
}

.trust-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
    color: #cbd5f5;
    font-size: 0.95rem;
}

.trust-list li {
    margin-bottom: 0.4rem;
}

/* CTA final */
.cta-final {
    text-align: center;
    margin-top: 2rem;
    padding: 1.8rem 1.5rem 2rem;
    background: rgba(15, 23, 42, 0.95);
    border-radius: 18px;
    border: 1px solid rgba(148, 163, 184, 0.5);
}

.cta-final h2 {
    margin-top: 0;
    margin-bottom: 0.6rem;
    font-size: 1.4rem;
}

.cta-final p {
    margin-top: 0;
    margin-bottom: 1rem;
    color: #e5e7eb;
}

/* Responsive pour les features */
@media (max-width: 900px) {
    .features-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
}
/* Layout avec menu vertical */
.page-layout {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.page-content {
    flex: 1;
}

/* Menu vertical */
.vertical-menu {
    width: 210px;
    background: rgba(15, 23, 42, 0.95);
    border-radius: 14px;
    border: 1px solid rgba(148, 163, 184, 0.4);
    padding: 1rem;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.6);
    position: sticky;
    top: 70px;
}

.vertical-menu h2 {
    margin-top: 0;
    margin-bottom: 0.75rem;
    font-size: 1rem;
}

.vertical-menu a {
    display: block;
    padding: 0.35rem 0.4rem;
    margin-bottom: 0.25rem;
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.9rem;
    color: #e5e7eb;
}

.vertical-menu a:hover {
    background: rgba(56, 189, 248, 0.12);
    color: #38bdf8;
}

/* Responsive : menu vertical en haut sur mobile */
@media (max-width: 768px) {
    .page-layout {
        flex-direction: column;
    }

    .vertical-menu {
        width: 100%;
        position: static;
        top: auto;
        display: flex;
        flex-wrap: wrap;
        gap: 0.4rem;
    }

    .vertical-menu h2 {
        width: 100%;
        margin-bottom: 0.4rem;
    }

    .vertical-menu a {
        display: inline-flex;
        padding: 0.35rem 0.7rem;
        margin-bottom: 0;
    }
}