/* ============================================
   PAGE CONTACT - STYLES SPÉCIFIQUES
   Ce fichier contient uniquement les styles
   spécifiques à la page contact
   ============================================ */

/* ============================================
   HERO - SANS DÉMARCATION (Option 1)
   ============================================ */
.contact-hero {
    position: relative;
    width: 100%;
    padding: 120px 0;
    /* Fond beige uniforme */
    background: linear-gradient(135deg, var(--beige-clair) 0%, var(--beige-moyen) 100%);
    overflow: hidden;
}

.contact-hero-overlay {
    position: absolute;
    top: 0;
    right: 0;
    width: 65%; /* Reouvre davantage l'image à droite */
    height: 100%;
    background: url('../assets/contact/banniere.jpeg') center/cover no-repeat;
    z-index: 1;

    /* Masque CSS : fond parfaitement l'image de la gauche (transparente) vers la droite (visible) */
    -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.4) 20%, black 60%);
    mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.4) 20%, black 60%);
}

/* On n'a plus besoin du ::before qui créait la démarcation solide */
.contact-hero-overlay::before {
    display: none;
}

.contact-hero-content {
    position: relative;
    z-index: 3;
}

.contact-hero-text {
    max-width: 50%;
}

/* ============================================
   SECTION PRINCIPALE
   ============================================ */
.contact-main {
    width: 100%;
    padding: 80px 0;
    background: var(--blanc);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

/* ============================================
   COLONNE GAUCHE - ACTIONS
   ============================================ */
.contact-actions {
    display: flex;
    flex-direction: column;
    gap: 50px;
    height: 100%;
}

.action-block h2 {
    font-size: 24px;
    color: var(--gris-sombre);
    margin-bottom: 30px;
    font-weight: 400;
}

/* Conteneur des boutons d'action */
.action-buttons-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Boutons d'action */
.action-button {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px 30px;
    background: var(--blanc);
    border: 1px solid var(--beige-moyen);
    border-radius: 12px;
    text-decoration: none;
    color: var(--vert-khaki);
    transition: all 0.3s ease;
    cursor: pointer;
}

.action-button:hover {
    border-color: var(--vert-khaki);
    box-shadow: 0 8px 25px rgba(66, 100, 69, 0.15);
    transform: translateY(-3px);
}

.button-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

.button-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--vert-khaki-fonce);
}

.button-desc {
    font-size: 13px;
    color: var(--gris-clair);
    line-height: 1.5;
}

.button-icon {
    flex-shrink: 0;
}

.button-arrow {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
}

.action-button:hover .button-arrow {
    transform: translateX(5px);
}

/* Variantes boutons action */
.action-primary .button-icon {
    background: linear-gradient(135deg, var(--vert-khaki) 0%, var(--vert-khaki-fonce) 100%);
}

.action-primary .button-icon svg {
    stroke: var(--blanc);
}

.action-secondary .button-icon {
    background: linear-gradient(135deg, var(--beige-fonce) 0%, var(--beige-ombre) 100%);
}

.action-secondary .button-icon svg {
    stroke: var(--blanc);
}

.action-tertiary .button-icon {
    background: linear-gradient(135deg, var(--gris-moyen) 0%, var(--gris-clair) 100%);
}

.action-tertiary .button-icon svg {
    stroke: var(--blanc);
}

/* Contact Direct */
.contact-direct {
    background: var(--beige-clair);
    padding: 35px;
    border-radius: 12px;
}

.contact-direct h3 {
    font-size: 18px;
    color: var(--gris-sombre);
    margin-bottom: 25px;
    font-weight: 500;
}

/* Boutons téléphone / e-mail */
.contact-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-buttons .direct-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    letter-spacing: 0.5px;
}

/* ============================================
   COLONNE DROITE - VISUEL & CALENDRIER
   ============================================ */
.contact-visual {
    display: flex;
    flex-direction: column;
    gap: 30px;
    height: 100%;
}

.visual-image {
    flex-shrink: 0;
    width: 100%;
    height: 320px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(36, 51, 49, 0.08);
}

.visual-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.visual-image .image-placeholder {
    height: 100%;
}

/* Widget Calendrier */
.calendar-widget {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: var(--blanc);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(36, 51, 49, 0.1);
    border: 1px solid var(--beige-moyen);
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    background: var(--beige-clair);
    border-bottom: 1px solid var(--beige-moyen);
}

.calendar-header h3 {
    font-size: 16px;
    color: var(--gris-sombre);
    font-weight: 500;
}

.calendar-nav {
    display: flex;
    align-items: center;
    gap: 15px;
}

.current-month {
    font-size: 14px;
    color: var(--gris-moyen);
    font-weight: 500;
}

.nav-btn {
    width: 32px;
    height: 32px;
    border: 1px solid var(--beige-fonce);
    background: var(--blanc);
    border-radius: 50%;
    cursor: pointer;
    font-size: 14px;
    color: var(--gris-moyen);
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-btn:hover {
    background: var(--vert-khaki);
    border-color: var(--vert-khaki);
    color: var(--blanc);
}

.calendar-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 25px;
}

.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
    margin-bottom: 15px;
}

.calendar-weekdays span {
    text-align: center;
    font-size: 12px;
    color: var(--gris-clair);
    font-weight: 500;
    padding: 8px 0;
}

.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
}

.calendar-days .day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    color: var(--gris-sombre);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s ease;
}

.calendar-days .day:hover:not(.prev-month):not(.next-month) {
    background: var(--beige-clair);
}

.calendar-days .day.prev-month,
.calendar-days .day.next-month {
    color: var(--beige-ombre);
}

.calendar-days .day.available {
    background: linear-gradient(135deg, var(--vert-khaki) 0%, var(--vert-khaki-fonce) 100%);
    color: var(--blanc);
    font-weight: 600;
}

.calendar-days .day.available:hover {
    background: linear-gradient(135deg, var(--vert-khaki-fonce) 0%, var(--vert-olive) 100%);
    transform: scale(1.1);
}

.calendar-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 25px;
    background: var(--beige-clair);
    border-top: 1px solid var(--beige-moyen);
}

.legend-available {
    font-size: 12px;
    color: var(--gris-clair);
    display: flex;
    align-items: center;
    gap: 6px;
}

.dot-legend {
    width: 8px;
    height: 8px;
    background: var(--vert-khaki);
    border-radius: 50%;
}

.view-all-btn {
    background: none;
    border: none;
    color: var(--vert-khaki);
    font-size: 13px;
    cursor: pointer;
    font-weight: 500;
    transition: color 0.2s ease;
}

.view-all-btn:hover {
    color: var(--vert-khaki-fonce);
    text-decoration: underline;
}

/* ============================================
   SECTION PARTENAIRES (bulles de métiers)
   ============================================ */
.partners-section {
    width: 100%;
    padding: 100px 0;
    background: var(--beige-clair);
}

.partners-head {
    max-width: 680px;
    margin: 0 auto 64px;
    text-align: center;
}

.partners-title {
    margin-bottom: 16px;
    font-size: 32px;
    font-weight: 300;
    line-height: 1.3;
    letter-spacing: 0.5px;
    color: var(--gris-sombre);
}

.partners-sub {
    font-size: 16px;
    line-height: 1.7;
    color: var(--gris-moyen);
}

.partners-bubbles {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: 28px;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 0 40px;
}

.bubble {
    --size: 128px;
    width: 160px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    text-align: center;
}

.bubble--lg { --size: 152px; }
.bubble--sm { --size: 108px; }

/* Décalage en zigzag : les bulles ne sont pas alignées sur une même ligne */
.bubble:nth-child(even) { margin-top: 46px; }
.bubble:nth-child(4n + 3) { margin-top: 20px; }

.bubble-circle {
    width: var(--size);
    height: var(--size);
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--blanc);
    border: 1px solid var(--beige-moyen);
    color: var(--vert-khaki);
    box-shadow: 0 6px 22px rgba(36, 51, 49, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.bubble-icon {
    width: calc(var(--size) * 0.36);
    height: calc(var(--size) * 0.36);
}

/* Une bulle sur trois est pleine, pour rythmer l'ensemble */
.bubble:nth-child(3n + 1) .bubble-circle {
    background: linear-gradient(135deg, var(--vert-khaki) 0%, var(--vert-khaki-fonce) 100%);
    border-color: transparent;
    color: var(--blanc);
}

.bubble-label {
    font-size: 15px;
    font-weight: 500;
    line-height: 1.35;
    color: var(--gris-sombre);
    transition: color 0.3s ease;
}

.bubble:hover .bubble-circle {
    transform: scale(1.08);
    box-shadow: 0 14px 34px rgba(36, 51, 49, 0.16);
}

.bubble:hover .bubble-label {
    color: var(--vert-khaki-fonce);
}

@media (max-width: 768px) {
    .partners-head {
        margin-bottom: 40px;
    }

    .partners-title {
        font-size: 26px;
    }

    .partners-bubbles {
        gap: 20px 12px;
    }

    .bubble {
        --size: 104px;
        width: 148px;
    }

    .bubble--lg { --size: 120px; }
    .bubble--sm { --size: 90px; }

    .bubble:nth-child(even) { margin-top: 28px; }
    .bubble:nth-child(4n + 3) { margin-top: 12px; }
}

@media (prefers-reduced-motion: reduce) {
    .bubble-circle,
    .bubble-label {
        transition: none;
    }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .contact-hero-overlay {
        width: 50%;
    }
    
    .contact-hero-text {
        max-width: 60%;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
}

@media (max-width: 768px) {
    .contact-hero {
        padding: 80px 0;
    }
    
    .contact-hero-overlay {
        width: 100%;
        opacity: 0.3;
    }
    
    .contact-hero-text {
        max-width: 100%;
    }
    
    .contact-hero h1 {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .contact-main,
    .partners-section {
        padding: 50px 0;
    }
    
    .action-button {
        padding: 20px;
    }
    
    .button-icon {
        width: 50px;
        height: 50px;
    }
    
    .button-title {
        font-size: 14px;
    }
    
    .button-desc {
        font-size: 12px;
    }
}