.vehicule-block {
    margin-bottom: 1.5rem;
}

.vehicule-block-heading {
    margin-bottom: 1rem;
}
h1.vehicule-block-heading {
    font-size: 1.75rem;
    font-weight: 800;
    color: #7999e7;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

h2.vehicule-block-heading {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    padding-left: 1rem;
    border-left: 4px solid #3b82f6;
    line-height: 1.3;
}

h3.vehicule-block-heading {
    font-size: 1.25rem;
    font-weight: 600;
    color: #334155;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.vehicule-block-heading h1 {
    font-size: 1.75rem;
    font-weight: 800;
    color: #7999e7;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.vehicule-block-heading h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    padding-left: 1rem;
    border-left: 4px solid #3b82f6;
    line-height: 1.3;
}

.vehicule-block-heading h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #334155;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

/* ==========================================================
   GUIDE PAGE CONTAINER OVERRIDE
   ========================================================== */

/* NB : .insurance-section .container est piloté par public/css/carouselproduct.css
   (grille 5 colonnes pleine largeur) — ne pas le contraindre ici. */
.quote-area.ptb-80 .container,
.services-area.ptb-10.pb-70 .container {
    max-width: 1400px;
}

/* ==========================================================
   SIDEBAR (show.html.twig)
   ========================================================== */

.annonce-sidebar {
    margin-top: 0;
}

.annonce-sidebar-details {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.06), 0 1px 2px -1px rgba(0, 0, 0, 0.06);
    padding: 20px;
    margin-bottom: 20px;
    border: 1px solid #e5e7eb;
}

.annonce-sidebar-details h4 {
    color: #1e293b;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 2px solid #3498db;
    font-size: 1rem;
    font-weight: 700;
}

.annonce-sidebar-details ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.annonce-sidebar-details li {
    padding: 10px 0;
    border-bottom: 1px solid #f3f4f6;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    font-size: 0.9375rem;
}

.annonce-sidebar-details li:last-child {
    border-bottom: none;
}

.annonce-sidebar-details strong {
    color: #64748b;
    font-weight: 600;
    white-space: nowrap;
}

.annonce-sidebar-details span {
    color: #3498db;
    font-weight: 500;
    text-align: right;
    word-break: break-word;
}

.annonce-sidebar-cta {
    background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
    border-radius: 12px;
    padding: 22px;
    text-align: center;
    color: white;
    margin-bottom: 20px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
}

.annonce-sidebar-cta i {
    font-size: 1.5rem;
    margin-bottom: 10px;
    display: block;
    opacity: 0.95;
}

.annonce-sidebar-cta h5 {
    margin-bottom: 6px;
    color: white;
    font-size: 1.05rem;
    font-weight: 700;
}

.annonce-sidebar-cta p {
    opacity: 0.9;
    margin-bottom: 14px;
    font-size: 0.875rem;
    color: white;
    line-height: 1.5;
}

.annonce-sidebar-cta a {
    display: inline-block;
    background: white;
    color: #2c3e50;
    padding: 9px 24px;
    border-radius: 25px;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.875rem;
    transition: all 0.3s ease;
}

.annonce-sidebar-cta a:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    color: #2c3e50;
}

.annonce-sidebar-back {
    display: block;
    width: 100%;
    text-align: center;
    padding: 11px;
    border: 2px solid #3498db;
    border-radius: 8px;
    color: #3498db;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9375rem;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.annonce-sidebar-back:hover {
    background: #3498db;
    color: white;
}

.annonce-sidebar-back i {
    margin-right: 8px;
}

@media (max-width: 991px) {
    .annonce-sidebar {
        margin-top: 0;
    }

    .annonce-sidebar-details {
        padding: 20px;
        border-radius: 10px;
        margin-bottom: 16px;
    }

    .annonce-sidebar-cta {
        padding: 20px;
        margin-bottom: 16px;
    }

    .annonce-sidebar-back {
        padding: 12px;
    }
}

/* ==========================================================
   GUIDE PAGE LAYOUT
   ========================================================== */

.quote-area .section-title h2 {
    font-size: clamp(1.4rem, 2.5vw, 2.5rem);
    line-height: 1.25;
}

.guide-with-sidebar {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: flex-start;
}

.guide-content {
  flex: 1 1 0;
  min-width: 0;
}

.guide-sidebar {
  flex: 0 0 340px;
  min-width: 340px;
}

@media (max-width: 991px) {
  .guide-with-sidebar {
    flex-direction: column;
  }

  .guide-content,
  .guide-sidebar {
    flex: 1 1 100%;
    min-width: 100%;
    width: 100%;
  }
}

.guide-main-image {
    width: 100%;
    max-height: 500px; 
    object-fit: cover;
    display: block;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.vehicule-block-text {
    text-align: justify;
    max-width: 900px;      
    font-size: 1rem;      
    line-height: 1.9;
    color: #374151;
    margin-bottom: 1.25rem;
}
.vehicule-block-text,
.vehicule-block-list li,
.vehicule-block-numbered-item {
    text-align: justify;
}
.vehicule-block-text:last-child {
    margin-bottom: 0;
}

.vehicule-block-image {
    margin: 2rem 0;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
}

.vehicule-block-image img {
    width: 100%;
    border-radius: 0.75rem;
    object-fit: cover;
}

.vehicule-block-image-caption {
    text-align: center;
    font-size: 0.875rem;
    color: #6b7280;
    margin-top: 0.5rem;
    font-style: italic;
}

.vehicule-block-columns {
    margin: 2rem 0;
}

.vehicule-block-columns .row {
    gap: 1.5rem;
}

.vehicule-block-column {
    background: #ffffff;
    padding: 1.5rem;
    border-radius: 0.75rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    border: 1px solid #f3f4f6;
}

.vehicule-block-column p {
    margin-bottom: 0;
    line-height: 1.7;
    color: #374151;
}

.vehicule-block-list {
    margin: 1.5rem 0;
    padding-left: 0;
}

.vehicule-block-list li {
    margin-bottom: 0.75rem;
    line-height: 1.7;
    color: #374151;
}

.vehicule-block-list li:last-child {
    margin-bottom: 0;
}

.vehicule-block-numbered-item {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    line-height: 1.7;
    color: #065f46;
}

.vehicule-block-numbered-item:last-child {
    margin-bottom: 0;
}
.vehicule-block-table-wrapper {
    margin: 2rem 0;
    overflow-x: auto;
    border-radius: 0.75rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

.vehicule-block-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
}

.vehicule-block-table thead {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
}

.vehicule-block-table th {
    padding: 0.875rem 1rem;
    text-align: left;
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.vehicule-block-table td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #f3f4f6;
    color: #374151;
    font-size: 0.9375rem;
}

.vehicule-block-table tbody tr:hover {
    background-color: #f9fafb;
}

.vehicule-block-table tbody tr:last-child td {
    border-bottom: none;
}

.vehicule-block-quote {
    margin: 2rem 0;
    padding: 1.5rem 1.5rem 1.5rem 2rem;
    border-left: 4px solid #3b82f6;
    background: #eff6ff;
    border-radius: 0 0.5rem 0.5rem 0;
    font-style: italic;
}

.vehicule-block-quote p {
    font-size: 1.125rem;
    line-height: 1.7;
    color: #1e40af;
    margin-bottom: 0.5rem;
}

.vehicule-block-quote cite {
    font-size: 0.9375rem;
    color: #6b7280;
    font-style: normal;
    font-weight: 500;
}

.vehicule-block-highlight {
    margin: 2rem 0;
}

.vehicule-block-highlight-content {
    background: #ecfdf5;
    border: 1px solid #d1fae5;
    border-radius: 0.75rem;
    padding: 1.25rem 1.5rem;
    color: #065f46;
    line-height: 1.7;
}

.vehicule-block-highlight-content p:last-child {
    margin-bottom: 0;
}

.vehicule-block-warning {
    margin: 2rem 0;
    display: flex;
    gap: 1rem;
    background: #fffbeb;
    border: 1px solid #fef3c7;
    border-radius: 0.75rem;
    padding: 1.25rem 1.5rem;
}

.vehicule-block-warning-icon {
    flex-shrink: 0;
    color: #d97706;
    font-size: 1.5rem;
}

.vehicule-block-warning-content {
    color: #92400e;
    line-height: 1.7;
}

.vehicule-block-warning-content p:last-child {
    margin-bottom: 0;
}

.vehicule-block-cta {
    margin: 2.5rem 0;
}

.vehicule-block-cta-card {
    background: linear-gradient(135deg, #1e293b 0%, #7999e7 100%);
    border-radius: 1rem;
    padding: 2.5rem;
    text-align: center;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.vehicule-block-cta-title {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.vehicule-block-cta-description {
    color: #cbd5e1;
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.vehicule-block-cta-button {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 2rem;
    background: #3b82f6;
    color: white;
    text-decoration: none;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.vehicule-block-cta-button:hover {
    background: #2563eb;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(59, 130, 246, 0.3);
}

.vehicule-block-separator {
    border: none;
    border-top: 2px solid #e5e7eb;
    margin: 3rem 0;
}

.vehicule-block-separator-text {
    text-align: center;
    margin-bottom: 1rem;
    color: #6b7280;
    font-size: 0.9375rem;
}

.vehicule-block-spacer {
    height: 2rem;
}

.vehicule-block-toc {
    margin: 2rem 0;
    padding: 1.5rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    white-space: pre-wrap;
}

.vehicule-block-toc ul {
    padding-left: 1.25rem;
    margin-bottom: 0;
}

.vehicule-block-toc li {
    margin-bottom: 0.5rem;
}

.vehicule-block-toc a {
    color: #2563eb;
    text-decoration: none;
}

.vehicule-block-toc a:hover {
    text-decoration: underline;
}
@media (max-width: 768px) {
    h1.vehicule-block-heading {
        font-size: 1.35rem;
    }

    h2.vehicule-block-heading {
        font-size: 1.15rem;
    }

    h3.vehicule-block-heading {
        font-size: 1.05rem;
    }

    .vehicule-block-warning {
        flex-direction: column;
    }

    .vehicule-block-cta-card {
        padding: 1.5rem;
    }

    .vehicule-block-numbered-item {
        font-size: 1.125rem;
    }
}

.vehicule-block-table-edit {
    width: 100%;
}
.vehicule-block-table-edit th,
.vehicule-block-table-edit td {
    padding: 2px;
    vertical-align: middle;
}
.vehicule-block-table-edit input {
    border: 1px solid transparent;
    background: transparent;
    padding: 0.35rem 0.5rem;
    transition: border-color 0.2s;
}
.vehicule-block-table-edit input:focus {
    border-color: #3b82f6;
    background: white;
    outline: none;
    box-shadow: none;
}
.vehicule-block-table-edit thead input {
    font-weight: 600;
    background: #f1f5f9;
    text-align: center;
}
.vehicule-block-table-edit tbody input {
    text-align: left;
}
/* ==========================================================
   FAQ BLOCK
========================================================== */

.vehicule-block-faq {
    margin: 1.5rem 0;
}

.vehicule-block-faq-item {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    margin-bottom: 10px;
    overflow: hidden;
    transition: all .3s ease;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
    display: flex;
    flex-direction: column;
}

.vehicule-block-faq-item:hover {
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
}

.vehicule-block-faq-item.active {
    border-color: #2563eb;
    box-shadow: 0 8px 24px rgba(37, 99, 235, .12);
}

.vehicule-block-faq-question {
    width: 100%;
    border: none;
    background: #fff;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    cursor: pointer;
    text-align: left;
    font-size: 15px;
    font-weight: 600;
    color: #1e293b;
    transition: all .3s ease;
    flex-shrink: 0;
}

.vehicule-block-faq-question:hover {
    color: #2563eb;
    background: #f8fafc;
}

.vehicule-block-faq-question > .vehicule-block-faq-title {
    flex: 1;
    line-height: 1.5;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.vehicule-block-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease;
    background: #f8fafc;
    color: #475569;
    line-height: 1.7;
    font-size: 14px;
}

.vehicule-block-faq-answer p {
    margin: 0;
}

.vehicule-block-faq-item.active .vehicule-block-faq-answer {
    padding: 0 16px 14px;
}

/* Chevron */

.vehicule-block-faq-chevron {
    width: 26px;
    height: 26px;
    min-width: 26px;
    border-radius: 50%;
    background: #eff6ff;
    position: relative;
    transition: all .3s ease;
    flex-shrink: 0;
}

.vehicule-block-faq-chevron::before,
.vehicule-block-faq-chevron::after {
    content: "";
    position: absolute;
    background: #2563eb;
    left: 50%;
    top: 50%;
    transition: all .3s ease;
}

.vehicule-block-faq-chevron::before {
    width: 12px;
    height: 2px;
    transform: translate(-50%, -50%);
}

.vehicule-block-faq-chevron::after {
    width: 2px;
    height: 12px;
    transform: translate(-50%, -50%);
}

.vehicule-block-faq-item.active .vehicule-block-faq-chevron {
    background: #2563eb;
}

.vehicule-block-faq-item.active .vehicule-block-faq-chevron::before,
.vehicule-block-faq-item.active .vehicule-block-faq-chevron::after {
    background: white;
}

.vehicule-block-faq-item.active .vehicule-block-faq-chevron::after {
    opacity: 0;
}

/* Focus */

.vehicule-block-faq-question:focus-visible {
    outline: 2px solid #2563eb;
    outline-offset: -2px;
}

/* Title & number (desktop + mobile) */

.vehicule-block-faq-title {
    display: flex;
    align-items: center;
    gap: 10px;
}

.vehicule-block-faq-number {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #eff6ff;
    color: #2563eb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 12px;
    flex-shrink: 0;
}

/* Mobile */

@media (max-width:768px){

    .vehicule-block-faq-question{
        padding: 10px 14px;
        font-size: 14px;
    }

    .vehicule-block-faq-item.active .vehicule-block-faq-answer{
        padding: 0 14px 12px;
        font-size: 13px;
    }

    .vehicule-block-faq-chevron{
        width: 24px;
        height: 24px;
        min-width: 24px;
    }

    .vehicule-block-faq-title {
        gap: 8px;
    }

    .vehicule-block-faq-number {
        width: 26px;
        height: 26px;
        font-size: 11px;
    }
}

.annonce-title-mobile {
    font-size: 22px;
    line-height: 1.3;
}

@media (min-width: 768px) {
    .annonce-title-mobile {
        font-size: 42px;
    }
}

.quote-area .section-title h2 {
    font-size: clamp(1.2rem, 2vw, 2.2rem);
    line-height: 1.3;
    word-break: break-word;
    overflow-wrap: anywhere;
}

.quote-area .full-width-title {
    max-width: none;
    margin-left: 0;
    margin-right: 0;
}

@media (max-width: 767px) {
    .quote-area .section-title h2 {
        font-size: 22px !important;
    }

    .annonce-intro,
    .annonce-desc,
    .annonce-content,
    .vehicule-block-text {
        font-size: 14px !important;
        line-height: 1.6 !important;
    }

    .annonce-intro {
        font-style: italic;
        border-left: 4px solid #3498db;
        padding-left: 20px;
        color: #555;
    }

    .annonce-desc {
        color: #444;
    }

    .annonce-content {
        color: #444;
    }

    h1.vehicule-block-heading {
        font-size: 1.35rem !important;
    }

    h2.vehicule-block-heading {
        font-size: 1.15rem !important;
    }

    h3.vehicule-block-heading {
        font-size: 1.05rem !important;
    }

    .vehicule-block-quote p {
        font-size: 15px !important;
    }

    .col-lg-4 h4 {
        font-size: 16px !important;
    }

    .vehicule-block-cta-card h3 {
        font-size: 1.1rem !important;
    }

    .vehicule-block-table-wrapper {
        margin: 1.5rem 0;
        border-radius: 0.5rem;
        -webkit-overflow-scrolling: touch;
    }

    .vehicule-block-table {
        width: auto;
        min-width: 100%;
    }

    .vehicule-block-table th,
    .vehicule-block-table td {
        padding: 0.5rem 0.75rem;
        font-size: 0.875rem;
        white-space: nowrap;
        min-width: 100px;
    }

    .vehicule-block-table th {
        font-size: 0.8125rem;
        letter-spacing: 0.02em;
    }

    .vehicule-block-numbered-item {
        font-size: 1.125rem;
    }
}