/* ============================================================
   VIN EN VACANCES — CSS Personnalisé v2
   Divi 5 Child Theme
   Ambiance : Campagne chic · Vignes · Soleil du Sud · 50 ans+
   ============================================================ */


/* ============================================================
   1. TYPOGRAPHIE GLOBALE
   ============================================================ */

body,
.et_pb_text,
.et_pb_blurb_description,
.et_pb_accordion_item p,
.et_pb_tab p {
    font-family: var(--vev-font-corps) !important;
    font-weight: 300 !important;
    color: var(--vev-brun-doux) !important;
    font-size: 17px !important;
    line-height: 1.85 !important;
}

h1, h2, h3, h4, h5, h6,
.et_pb_title_container h1,
.et_pb_slide_title,
.et_pb_blurb_title,
.et_pb_testimonial_author,
.et_pb_module_header {
    font-family: var(--vev-font-titre) !important;
    font-weight: 400 !important;
    color: var(--vev-brun-doux) !important;
    letter-spacing: 0.02em;
    line-height: 1.2;
}

h1 { font-size: 54px !important; }
h2 { font-size: 40px !important; }
h3 { font-size: 28px !important; }
h4 { font-size: 22px !important; }

/* Sous-titres / captions */
.et_pb_title_meta_container,
.et_pb_post_meta,
.et-pb-meta-data,
small {
    font-family: var(--vev-font-corps) !important;
    font-weight: 400 !important;
    color: var(--vev-brun-pale) !important;
    font-size: 12px !important;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

a {
    color: var(--vev-terracotta) !important;
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--vev-abricot) !important;
}


/* ============================================================
   2. FOND GÉNÉRAL
   ============================================================ */

body,
#page-container,
.et_pb_section {
    background-color: var(--vev-ivoire) !important;
}

/* Sections alternées */
.et_pb_section.vev-section-creme,
.et_pb_section:nth-child(even) {
    background-color: var(--vev-creme) !important;
}

.et_pb_section.vev-section-brun {
    background-color: var(--vev-brun-doux) !important;
}


/* ============================================================
   3. HEADER & NAVIGATION DIVI
   ============================================================ */

#main-header,
#main-header.et-fixed-header {
    background-color: rgba(250, 246, 238, 0.97) !important;
    border-bottom: 1px solid var(--vev-creme) !important;
    box-shadow: 0 2px 24px rgba(74, 55, 40, 0.06) !important;
}

/* Liens nav */
#main-header .nav li a,
#et-top-navigation .nav li a {
    font-family: var(--vev-font-corps) !important;
    font-weight: 400 !important;
    color: var(--vev-brun-doux) !important;
    font-size: 12px !important;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

#main-header .nav li a:hover,
#et-top-navigation .nav li.current-menu-item > a {
    color: var(--vev-terracotta) !important;
}

/* Dropdown */
#main-header .nav li ul {
    background-color: var(--vev-ivoire) !important;
    border-top: 2px solid var(--vev-terracotta) !important;
    box-shadow: 0 8px 32px rgba(74, 55, 40, 0.10) !important;
}

#main-header .nav li ul li a {
    font-weight: 300 !important;
    font-size: 13px !important;
    color: var(--vev-brun-doux) !important;
    padding: 10px 20px !important;
}

#main-header .nav li ul li a:hover {
    color: var(--vev-terracotta) !important;
    background-color: var(--vev-creme) !important;
}

/* CTA header */
.et_pb_button.vev-cta-header,
#et-top-navigation .et_pb_button {
    background-color: transparent !important;
    border: 1.5px solid var(--vev-terracotta) !important;
    color: var(--vev-terracotta) !important;
    font-family: var(--vev-font-corps) !important;
    font-weight: 500 !important;
    font-size: 11px !important;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border-radius: 2px !important;
    padding: 10px 22px !important;
    transition: all 0.25s ease;
}

.et_pb_button.vev-cta-header:hover {
    background-color: var(--vev-terracotta) !important;
    color: var(--vev-blanc) !important;
}


/* ============================================================
   4. BOUTONS DIVI
   ============================================================ */

.et_pb_button,
.et_pb_promo_button,
.et_pb_more_button {
    font-family: var(--vev-font-corps) !important;
    font-weight: 500 !important;
    letter-spacing: 0.12em !important;
    text-transform: uppercase !important;
    font-size: 12px !important;
    border-radius: 2px !important;
    padding: 14px 34px !important;
    transition: all 0.25s ease !important;
}

/* Bouton principal terracotta */
.et_pb_button,
.et_pb_button_0 {
    background-color: var(--vev-terracotta) !important;
    color: var(--vev-blanc) !important;
    border: none !important;
    box-shadow: 0 4px 16px rgba(184, 92, 56, 0.18) !important;
}

.et_pb_button:hover,
.et_pb_button_0:hover {
    background-color: var(--vev-abricot) !important;
    box-shadow: 0 6px 22px rgba(250, 118, 84, 0.25) !important;
    border: none !important;
}

/* Bouton ghost (contour) */
.et_pb_button.vev-btn-ghost {
    background-color: transparent !important;
    border: 1.5px solid var(--vev-terracotta) !important;
    color: var(--vev-terracotta) !important;
    box-shadow: none !important;
}

.et_pb_button.vev-btn-ghost:hover {
    background-color: var(--vev-terracotta) !important;
    color: var(--vev-blanc) !important;
}

/* Bouton sur fond sombre */
.et_pb_button.vev-btn-light {
    background-color: var(--vev-ivoire) !important;
    color: var(--vev-brun-doux) !important;
    border: none !important;
}

.et_pb_button.vev-btn-light:hover {
    background-color: var(--vev-blanc) !important;
}


/* ============================================================
   5. HERO / FULLWIDTH HEADER
   ============================================================ */

.et_pb_fullwidth_header,
.et_pb_section.vev-hero {
    position: relative;
}

/* Overlay très doux sur les images hero */
.et_pb_fullwidth_header::before,
.et_pb_section.vev-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        160deg,
        rgba(74, 55, 40, 0.15) 0%,
        rgba(74, 55, 40, 0.45) 100%
    );
    pointer-events: none;
    z-index: 1;
}

.et_pb_fullwidth_header .et_pb_fullwidth_header_subhead,
.et_pb_fullwidth_header h1 {
    position: relative;
    z-index: 2;
    color: var(--vev-blanc) !important;
    text-shadow: 0 1px 18px rgba(0,0,0,0.18);
}

.et_pb_fullwidth_header h1 {
    font-family: var(--vev-font-titre) !important;
    font-weight: 300 !important;
    letter-spacing: 0.04em;
}


/* ============================================================
   6. CARDS / BLURBS DIVI
   ============================================================ */

.et_pb_blurb,
.et_pb_blog_grid .et_pb_post,
.et_pb_portfolio_item {
    background-color: var(--vev-blanc) !important;
    border-radius: 4px !important;
    box-shadow: 0 2px 16px rgba(74, 55, 40, 0.07) !important;
    border: 1px solid rgba(184, 204, 186, 0.25) !important;
    transition: box-shadow 0.35s ease, transform 0.35s ease;
    overflow: hidden;
}

.et_pb_blurb:hover,
.et_pb_blog_grid .et_pb_post:hover,
.et_pb_portfolio_item:hover {
    box-shadow: 0 6px 28px rgba(74, 55, 40, 0.13) !important;
    transform: translateY(-4px);
}

/* Icônes blurb en sauge */
.et_pb_blurb .et_pb_icon,
.et_pb_blurb .et-pb-icon {
    color: var(--vev-sauge) !important;
}

/* Titre des cards */
.et_pb_blurb_title,
.et_pb_post_title a {
    font-family: var(--vev-font-titre) !important;
    font-size: 22px !important;
    font-weight: 400 !important;
    color: var(--vev-brun-doux) !important;
}

.et_pb_blurb_title:hover,
.et_pb_post_title a:hover {
    color: var(--vev-terracotta) !important;
}


/* ============================================================
   7. SÉPARATEURS & ACCENTS DÉCORATIFS
   ============================================================ */

/* Ligne terracotta sous les titres de section */
.et_pb_text h2::after,
.vev-titre-section::after {
    content: '';
    display: block;
    width: 40px;
    height: 1.5px;
    background-color: var(--vev-terracotta);
    margin-top: 16px;
    opacity: 0.7;
}

hr,
.et_pb_divider_internal {
    border: none !important;
    border-top: 1px solid var(--vev-creme) !important;
    margin: 48px 0 !important;
}

/* Blockquote pour le blog */
blockquote {
    border-left: 3px solid var(--vev-terracotta) !important;
    border-radius: 0 4px 4px 0;
    background-color: var(--vev-creme) !important;
    font-family: var(--vev-font-titre) !important;
    font-style: italic;
    font-size: 22px !important;
    font-weight: 300 !important;
    color: var(--vev-brun-doux) !important;
    padding: 24px 32px !important;
    line-height: 1.6 !important;
}

/* Badge / Tag */
.vev-badge {
    display: inline-block;
    background-color: var(--vev-sauge-pale) !important;
    color: var(--vev-brun-doux) !important;
    font-family: var(--vev-font-corps) !important;
    font-size: 10px !important;
    font-weight: 400 !important;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    border-radius: 2px;
    padding: 4px 10px;
}

.vev-badge.vev-badge-vin {
    background-color: rgba(184, 92, 56, 0.12) !important;
    color: var(--vev-terracotta) !important;
}

.vev-badge.vev-badge-visite {
    background-color: rgba(122, 158, 126, 0.15) !important;
    color: #3d6e41 !important;
}


/* ============================================================
   8. TESTIMONIALS / AVIS
   ============================================================ */

.et_pb_testimonial {
    background-color: var(--vev-blanc) !important;
    border-radius: 4px !important;
    box-shadow: 0 2px 16px rgba(74, 55, 40, 0.07) !important;
    border: 1px solid rgba(184, 204, 186, 0.2) !important;
}

.et_pb_testimonial_quote_icon {
    color: var(--vev-terracotta) !important;
    opacity: 0.35;
}

.et_pb_testimonial_author {
    color: var(--vev-brun-doux) !important;
}

.et_pb_testimonial_company,
.et_pb_testimonial_meta {
    color: var(--vev-brun-pale) !important;
    font-size: 12px !important;
    letter-spacing: 0.06em;
}


/* ============================================================
   9. FOOTER DIVI
   ============================================================ */

#main-footer,
#footer-widgets {
    background-color: #2E1F14 !important;
}

#main-footer .footer-widget h4,
#main-footer .footer-widget .widget-title {
    font-family: var(--vev-font-titre) !important;
    font-weight: 400 !important;
    font-size: 20px !important;
    color: var(--vev-ivoire) !important;
    letter-spacing: 0.03em;
}

#main-footer .footer-widget p,
#main-footer .footer-widget li,
#main-footer .footer-widget a {
    font-family: var(--vev-font-corps) !important;
    font-weight: 300 !important;
    font-size: 14px !important;
    color: var(--vev-brun-pale) !important;
    line-height: 1.9 !important;
}

#main-footer .footer-widget a:hover {
    color: var(--vev-abricot) !important;
}

#et-footer-nav,
#footer-bottom {
    background-color: #1E1108 !important;
    color: #6B5C52 !important;
    font-family: var(--vev-font-corps) !important;
    font-size: 12px !important;
    letter-spacing: 0.06em;
}


/* ============================================================
   10. INTÉGRATION TICKETINGHUB
   ============================================================ */

/* Conteneur widget TicketingHub */
.vev-booking-widget {
    background-color: var(--vev-blanc);
    border-radius: 4px;
    border: 1px solid rgba(184, 204, 186, 0.25);
    box-shadow: 0 2px 16px rgba(74, 55, 40, 0.07);
    padding: 32px;
    margin: 40px 0;
}

.vev-booking-widget h3 {
    font-family: var(--vev-font-titre) !important;
    font-size: 28px !important;
    color: var(--vev-brun-doux) !important;
    margin-bottom: 24px;
}


/* ============================================================
   11. FORMULAIRES DE CONTACT DIVI
   ============================================================ */

.et_pb_contact_form input,
.et_pb_contact_form textarea,
.et_pb_contact_form select {
    background-color: var(--vev-ivoire) !important;
    border: 1px solid rgba(140, 123, 110, 0.3) !important;
    border-radius: 3px !important;
    color: var(--vev-brun-doux) !important;
    font-family: var(--vev-font-corps) !important;
    font-weight: 300 !important;
    font-size: 16px !important;
    padding: 14px 18px !important;
    transition: border-color 0.2s ease;
}

.et_pb_contact_form input:focus,
.et_pb_contact_form textarea:focus {
    border-color: var(--vev-terracotta) !important;
    outline: none;
}

.et_pb_contact_form label {
    font-family: var(--vev-font-corps) !important;
    font-weight: 400 !important;
    font-size: 12px !important;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--vev-brun-pale) !important;
}


/* ============================================================
   12. RESPONSIVE — MOBILE (50 ans+, confort de lecture)
   ============================================================ */

@media (max-width: 980px) {
    h1 { font-size: 38px !important; }
    h2 { font-size: 30px !important; }
    h3 { font-size: 24px !important; }

    body, p, li {
        font-size: 17px !important;
        line-height: 1.9 !important;
    }

    .et_pb_button {
        padding: 16px 28px !important;
        font-size: 13px !important;
    }

    #main-header .nav {
        background-color: var(--vev-ivoire) !important;
    }
}

@media (max-width: 767px) {
    h1 { font-size: 32px !important; }
    h2 { font-size: 26px !important; }

    .et_pb_button {
        width: 100%;
        text-align: center;
        padding: 18px !important;
    }

    .vev-booking-widget {
        padding: 20px;
    }
}
