/* =========================================
   PAGES PUBLIQUES : ACCUEIL ET TARIFS
   Pensées d'abord pour le téléphone.
   Propriétés « inline » : l'arabe (droite à gauche) suit tout seul.
   ========================================= */

body {
    background: #f8fafc;
}

.vitrine {
    min-height: 100vh;
    color: #0f172a;
}

.vitrine h1,
.vitrine h2,
.vitrine h3 {
    margin: 0;
    line-height: 1.2;
}

/* ---------- En-tête ---------- */

.vitrine-entete {
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid #e2e8f0;
}

.vitrine-logo {
    color: #0f172a;
    font-size: 22px;
    font-weight: 800;
    text-decoration: none;
}

.vitrine-logo span {
    color: #2563eb;
}

.vitrine-nav {
    display: flex;
    align-items: center;
    gap: 14px;
}

.vitrine-nav a {
    color: #334155;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

.vitrine-nav a:hover {
    color: #2563eb;
}

/* ---------- Boutons ---------- */

.vitrine-bouton,
.vitrine-nav .vitrine-bouton {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    border-radius: 10px;
    background: #2563eb;
    color: white;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s ease;
}

.vitrine-bouton:hover,
.vitrine-nav .vitrine-bouton:hover {
    background: #1d4ed8;
    color: white;
}

.vitrine-nav .vitrine-bouton-petit {
    min-height: 38px;
    padding: 0 14px;
    font-size: 14px;
}

.vitrine-bouton-secondaire {
    background: white;
    color: #0f172a;
    border: 1px solid #cbd5e1;
}

.vitrine-bouton-secondaire:hover {
    background: #f1f5f9;
    color: #0f172a;
}

.vitrine-bouton-clair {
    background: white;
    color: #1d4ed8;
}

.vitrine-bouton-clair:hover {
    background: #eff6ff;
    color: #1d4ed8;
}

.vitrine-lien {
    color: #2563eb;
    font-weight: 600;
}

.vitrine-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.vitrine-actions-centre {
    flex-direction: column;
    align-items: center;
}

/* ---------- Accroche ---------- */

.vitrine-accroche {
    display: grid;
    gap: 36px;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 16px 48px;
}

.vitrine-accroche h1 {
    font-size: 32px;
    letter-spacing: -0.02em;
}

.vitrine-accroche-texte > p {
    margin: 16px 0 0;
    color: #475569;
    font-size: 17px;
    line-height: 1.6;
}

.vitrine-accroche .vitrine-rassurance {
    color: #64748b;
    font-size: 13px;
}

/* Téléphone : cadre sombre autour d'une vraie capture de l'application */

.vitrine-telephone {
    justify-self: center;
    width: 280px;
    padding: 10px;
    border-radius: 36px;
    background: #0f172a;
    box-shadow: 0 24px 48px rgba(15, 23, 42, 0.25);
}

.vitrine-telephone img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 27px;
}

.vitrine-telephone-petit {
    width: 210px;
    padding: 8px;
    border-radius: 30px;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.18);
}

.vitrine-telephone-petit img {
    border-radius: 23px;
}

/* Galerie « MyAtelio en images » : défilement horizontal sur téléphone,
   quatre colonnes sur grand écran. */

.vitrine-captures {
    display: flex;
    gap: 20px;
    margin-top: 28px;
    padding: 4px 4px 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
}

.vitrine-capture {
    flex: 0 0 auto;
    margin: 0;
    scroll-snap-align: center;
    text-align: center;
}

.vitrine-capture figcaption {
    max-width: 210px;
    margin: 14px auto 0;
    color: #334155;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
}

@media (min-width: 1000px) {

    .vitrine-captures {
        justify-content: center;
        overflow: visible;
    }
}

/* ---------- Sections ---------- */

.vitrine-section {
    max-width: 1100px;
    margin: 0 auto;
    padding: 48px 16px;
}

/* Lien vers une section (#tarifs) : ne pas passer sous l'en-tête fixe. */
.vitrine-section[id] {
    scroll-margin-top: 70px;
}

.vitrine-section-claire {
    max-width: none;
    background: white;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

.vitrine-section-claire > * {
    max-width: 1068px;
    margin-inline: auto;
}

.vitrine-section h1 {
    font-size: 30px;
    text-align: center;
}

.vitrine-section h2 {
    margin-bottom: 28px;
    font-size: 24px;
    text-align: center;
}

.vitrine-intro {
    max-width: 640px;
    margin: 12px auto 28px;
    color: #475569;
    font-size: 16px;
    text-align: center;
}

/* Avantages */

.vitrine-avantages {
    display: grid;
    gap: 16px;
}

.avantage {
    padding: 20px;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    background: white;
}

.avantage svg {
    width: 32px;
    height: 32px;
    margin-bottom: 10px;
    fill: none;
    stroke: #2563eb;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.avantage h3 {
    margin-bottom: 6px;
    font-size: 17px;
}

.avantage p {
    margin: 0;
    color: #475569;
    font-size: 14px;
    line-height: 1.55;
}

/* Étapes */

.vitrine-etapes {
    display: grid;
    gap: 16px;
    padding: 0;
    list-style: none;
    counter-reset: etape;
}

.vitrine-etapes li {
    position: relative;
    padding: 18px;
    padding-inline: 64px 18px;
    border-radius: 14px;
    background: #f8fafc;
    counter-increment: etape;
}

.vitrine-etapes li::before {
    content: counter(etape);
    position: absolute;
    top: 18px;
    inset-inline-start: 18px;
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #2563eb;
    color: white;
    font-weight: 800;
}

.vitrine-etapes p {
    margin: 4px 0 0;
    color: #475569;
    font-size: 14px;
}

/* ---------- À propos de nous ---------- */

.a-propos-colonnes {
    display: grid;
    gap: 16px;
}

.a-propos-colonnes > div {
    padding: 20px;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    background: white;
}

.a-propos-colonnes h3 {
    margin-bottom: 10px;
    font-size: 17px;
}

.a-propos-colonnes p {
    margin: 0 0 10px;
    color: #475569;
    font-size: 14px;
    line-height: 1.6;
}

.a-propos-mission {
    margin: 0;
    padding: 0;
    list-style: none;
}

.a-propos-mission li {
    position: relative;
    margin-bottom: 8px;
    padding-inline-start: 26px;
    color: #475569;
    font-size: 14px;
    line-height: 1.5;
}

.a-propos-mission li::before {
    content: "✓";
    position: absolute;
    inset-inline-start: 0;
    color: #16a34a;
    font-weight: 800;
}

/* Page « À propos » publique */

.a-propos-public h1 {
    text-align: center;
}

/* ---------- Installer l'application ---------- */

.vitrine-installer {
    text-align: center;
}

.vitrine-installer svg {
    width: 44px;
    height: 44px;
    margin-bottom: 10px;
    fill: none;
    stroke: #2563eb;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.vitrine-installer h2 {
    margin-bottom: 0;
}

/* ---------- Questions fréquentes ---------- */

.vitrine-faq {
    display: grid;
    gap: 10px;
    max-width: 720px;
}

.vitrine-faq details {
    padding: 14px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #f8fafc;
}

.vitrine-faq summary {
    font-weight: 700;
    cursor: pointer;
}

.vitrine-faq p {
    margin: 10px 0 0;
    color: #475569;
    line-height: 1.6;
}

/* ---------- Appel final et pied de page ---------- */

.vitrine-final {
    padding: 48px 16px;
    background: #1d4ed8;
    color: white;
    text-align: center;
}

.vitrine-final h2 {
    margin-bottom: 22px;
    font-size: 24px;
}

.vitrine-pied {
    padding: 28px 16px;
    background: #0f172a;
    color: #cbd5e1;
    font-size: 14px;
    text-align: center;
}

.vitrine-pied-liens,
.vitrine-langues {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 18px;
    margin-bottom: 14px;
}

.vitrine-pied a {
    color: #cbd5e1;
    text-decoration: none;
}

.vitrine-pied a:hover,
.vitrine-pied a.is-current {
    color: white;
    text-decoration: underline;
}

.vitrine-pied-legal a {
    color: #94a3b8;
    font-size: 13px;
}

.vitrine-copyright {
    margin: 0;
    color: #64748b;
}

/* ---------- Écrans plus larges ---------- */

@media (min-width: 700px) {

    .a-propos-colonnes {
        grid-template-columns: repeat(2, 1fr);
    }

    .vitrine-avantages {
        grid-template-columns: repeat(2, 1fr);
    }

    .vitrine-etapes {
        grid-template-columns: repeat(3, 1fr);
    }

    .vitrine-accroche h1 {
        font-size: 40px;
    }
}

@media (min-width: 1000px) {

    .vitrine-accroche {
        grid-template-columns: 1.2fr 1fr;
        padding-top: 64px;
    }

    .vitrine-avantages {
        grid-template-columns: repeat(3, 1fr);
    }

    .vitrine-accroche h1 {
        font-size: 46px;
    }
}

/* Petits téléphones : « Tarifs » reste accessible plus bas dans la
   page et dans le pied de page ; la connexion reste dans l'en-tête. */
@media (max-width: 420px) {

    .vitrine-nav-tarifs {
        display: none;
    }

    .vitrine-nav {
        gap: 10px;
    }
}

/* « À propos » : dans l'en-tête seulement sur les écrans assez larges
   (sinon via la section de l'accueil et le pied de page). */
@media (max-width: 640px) {

    .vitrine-nav-secondaire {
        display: none;
    }
}
