/*
Theme Name: Blocksy Child
Template: blocksy
*/
.annonce-container {
    max-width: 900px;
    margin: 40px auto;
    padding: 0 20px;
}

.annonce-section {
    background: #fff;
    padding: 25px;
    margin-bottom: 30px;
    border-radius: 8px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.05);
}

.annonce-row {
    margin-bottom: 6px;
}

.annonce-label {
    font-weight: 600;
}

.tarifs-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.tarifs-table th,
.tarifs-table td {
    border-bottom: 1px solid #eee;
    padding: 8px;
    text-align: center;
}

.galerie {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* ============================= */
/* BLOC RÉSUMÉ PREMIUM */
/* ============================= */

.annonce-summary {
    background: #f8fafc;
    padding: 25px;
    margin-bottom: 40px;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.05);
}

.summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
}

.summary-item {
    display: flex;
    flex-direction: column;
    font-size: 14px;
}

.summary-item strong {
    font-size: 12px;
    text-transform: uppercase;
    color: #6b7280;
    margin-bottom: 4px;
}

.summary-item span {
    font-size: 16px;
    font-weight: 600;
    color: #111827;
}

.summary-item.highlight span {
    color: #1e73be;
    font-size: 18px;
}

/* ===============================
   HEADER FICHE TYPE AIRBNB
================================ */

.annonce-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    padding: 25px 30px;
    background: #f7f9fb;
    border-radius: 14px;
    margin: 30px 0 40px 0;
    align-items: center;
}

.summary-item {
    display: flex;
    flex-direction: column;
    min-width: 120px;
}

.summary-item .label {
    font-size: 13px;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.summary-item .value {
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
}

.summary-item.highlight {
    margin-left: auto;
}

.summary-item.highlight .value {
    font-size: 18px;
    color: #1e73be;
}

/* Mobile */

@media (max-width: 768px) {
    .annonce-summary {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .summary-item.highlight {
        margin-left: 0;
    }
}

/* ===============================
   VERSION PREMIUM SOFT
================================ */

.annonce-summary {
    background: linear-gradient(135deg, #f4f8fb 0%, #eef3f7 100%);
    border: 1px solid #e3e8ee;
    box-shadow: 0 6px 20px rgba(0,0,0,0.04);
    position: relative;
}

/* Séparateurs verticaux subtils */

.summary-item:not(:last-child)::after {
    content: "";
    position: absolute;
    right: -15px;
    top: 20%;
    height: 60%;
    width: 1px;
    background: #e5e7eb;
}

/* On évite que ça déborde */

.summary-item {
    position: relative;
    padding-right: 15px;
}

.annonce-summary::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 4px;
    width: 100%;
    background: #1e73be;
    border-radius: 14px 14px 0 0;
}

/* ===============================
   TYPOGRAPHIE PRO
================================ */

.annonce-title {
    font-size: 32px;
    font-weight: 600;
    letter-spacing: -0.5px;
    margin-bottom: 10px;
}

.annonce-section h2 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 18px;
    padding-bottom: 8px;
    border-bottom: 1px solid #e5e7eb;
}

.annonce-section p {
    margin: 6px 0;
    line-height: 1.45;
    font-size: 15px;
}

.annonce-section strong {
    font-weight: 600;
    color: #2c3e50;
}

/* Réduction espace entre blocs */

.annonce-section {
    margin-bottom: 25px;
}

/* Détails plus compacts */

.annonce-section p em {
    color: #9aa3ab;
    font-style: normal;
}

/* ===============================
   MOBILE OPTIMISATION
================================ */

@media (max-width: 768px) {

    .annonce-summary {
        flex-direction: column;
        gap: 12px;
    }

    .summary-item {
        padding-right: 0;
    }

    .summary-item::after {
        display: none;
    }

    .annonce-title {
        font-size: 24px;
    }

    .annonce-section h2 {
        font-size: 18px;
    }

    .annonce-section {
        padding: 18px;
    }
}

/* ===============================
   HEADER FICHE PREMIUM
================================ */

.annonce-summary {
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    border: 1px solid #e6e9ee;
    border-radius: 12px;
    padding: 22px 28px;
    margin-bottom: 30px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.04);
}

.summary-item {
    font-size: 14px;
    color: #334155;
}

.summary-item strong {
    font-weight: 600;
    color: #111827;
}

/* ===============================
   SIGNATURE LEVANT
================================ */

.annonce-container {
    position: relative;
}

.annonce-signature {
    text-align: center;
    font-size: 12px;
    color: #94a3b8;
    margin-top: 50px;
    letter-spacing: 0.4px;
}
