/* offres.css - Design des offres dans l'esprit "Well" */

/* Correction pour le débordement horizontal */
html, body {
    overflow-x: hidden;
    max-width: 100%;
    width: 100%;
}

* {
    box-sizing: border-box;
}

/* === SECTION DES ESPACES === */
.section-espaces {
    padding: var(--espace-xl) var(--espace-md);
    position: relative;
}

.section-espaces .container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    width: 100%;
    padding: 0 var(--espace-md);
}

/* === CONTENEUR DES OFFRES === */
.offres-immersive {
    max-width: 1200px;
    margin: 0 auto var(--espace-xl);
    padding: 0 var(--espace-md);
    display: flex;
    flex-direction: column;
    gap: var(--espace-lg);
    width: 100%;
}

/* === CARTE OFFRE INDIVIDUELLE === */
.offre-immersive-item {
    background: var(--blanc-pur);
    border: 1px solid var(--gris-moyen);
    border-radius: 2px;
    padding: var(--espace-lg);
    position: relative;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    opacity: 0;
    transform: translateY(20px);
    animation: apparitionOffre 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    animation-play-state: paused;
}

/* Délais d'animation en cascade */
.offre-immersive-item:nth-child(1) { animation-delay: 0.1s; }
.offre-immersive-item:nth-child(2) { animation-delay: 0.2s; }
.offre-immersive-item:nth-child(3) { animation-delay: 0.3s; }

.offre-immersive-item.visible {
    animation-play-state: running;
}

/* Effet au survol */
.offre-immersive-item:hover {
    transform: translateY(-8px);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.08),
        0 0 0 1px var(--pilier-1);
    border-color: var(--pilier-1);
}

/* === EN-TÊTE DE L'OFFRE === */
.offre-header-immersive {
    margin-bottom: var(--espace-lg);
    padding-bottom: var(--espace-md);
    border-bottom: 1px solid var(--gris-leger);
    position: relative;
}

.offre-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--pilier-1);
    background: var(--pilier-1-light);
    padding: 0.25rem 0.75rem;
    border-radius: 2px;
    margin-bottom: var(--espace-sm);
}

/* Couleurs spécifiques pour chaque offre */
.offre-immersive-item[data-offre="1"] .offre-badge {
    color: var(--pilier-1);
    background: var(--pilier-1-light);
}

.offre-immersive-item[data-offre="2"] .offre-badge {
    color: var(--pilier-2);
    background: var(--pilier-2-light);
}

.offre-immersive-item[data-offre="3"] .offre-badge {
    color: var(--pilier-5);
    background: var(--pilier-5-light);
}

.offre-title-immersive {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: var(--espace-sm);
    color: var(--noir-profond);
}

.offre-description-immersive {
    font-size: 1.125rem;
    color: rgba(26, 26, 26, 0.7);
    font-style: italic;
    max-width: 40ch;
    margin: 0;
}

/* === GRILLE DES FEATURES (2 colonnes) === */
.offre-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--espace-lg);
    margin-bottom: var(--espace-lg);
}

.feature-item-immersive {
    background: var(--gris-leger);
    padding: var(--espace-md);
    border-radius: 2px;
    border: 1px solid transparent;
    transition: all 0.3s ease;
    position: relative;
}

.feature-item-immersive:hover {
    transform: translateY(-4px);
    background: var(--blanc-pur);
    border-color: var(--gris-moyen);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

.feature-item-immersive.large {
    grid-column: span 2;
    background: linear-gradient(135deg, var(--gris-leger) 0%, transparent 100%);
    border: 1px solid var(--gris-moyen);
    position: relative;
}

.feature-item-immersive.large::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--pilier-1);
}

/* Couleurs pour la grande feature selon l'offre */
.offre-immersive-item[data-offre="1"] .feature-item-immersive.large::before {
    background: var(--pilier-1);
}

.offre-immersive-item[data-offre="2"] .feature-item-immersive.large::before {
    background: var(--pilier-2);
}

.offre-immersive-item[data-offre="3"] .feature-item-immersive.large::before {
    background: var(--pilier-5);
}

/* Icônes des features */
.feature-icon-wrapper {
    width: 48px;
    height: 48px;
    background: var(--blanc-pur);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--espace-sm);
    border: 1px solid var(--gris-moyen);
    transition: all 0.3s ease;
}

.feature-item-immersive:hover .feature-icon-wrapper {
    transform: scale(1.1) rotate(5deg);
}

/* Icônes avec couleurs spécifiques pour chaque offre */

/* ===== OFFRES 1 - VITRINE CONVERTISSANTE ===== */
.offre-immersive-item[data-offre="1"] .feature-icon-wrapper {
    border-color: var(--pilier-1-light);
}

/* Toutes les icônes de l'offre 1 en sarcelle */
.offre-immersive-item[data-offre="1"] .feature-icon-wrapper i {
    color: var(--pilier-1);
}

.offre-immersive-item[data-offre="1"] .feature-item-immersive:hover .feature-icon-wrapper {
    border-color: var(--pilier-1);
    background: var(--pilier-1);
}

.offre-immersive-item[data-offre="1"] .feature-item-immersive:hover .feature-icon-wrapper i {
    color: var(--blanc-pur);
}

/* ===== OFFRES 2 - CROISSANCE CLÉ ===== */
.offre-immersive-item[data-offre="2"] .feature-icon-wrapper {
    border-color: var(--pilier-2-light);
}

/* Toutes les icônes de l'offre 2 en corail */
.offre-immersive-item[data-offre="2"] .feature-icon-wrapper i {
    color: var(--pilier-2);
}

.offre-immersive-item[data-offre="2"] .feature-item-immersive:hover .feature-icon-wrapper {
    border-color: var(--pilier-2);
    background: var(--pilier-2);
}

.offre-immersive-item[data-offre="2"] .feature-item-immersive:hover .feature-icon-wrapper i {
    color: var(--blanc-pur);
}

/* ===== OFFRES 3 - CV ÉLÉGANT ===== */
.offre-immersive-item[data-offre="3"] .feature-icon-wrapper {
    border-color: var(--pilier-5-light);
}

/* Toutes les icônes de l'offre 3 en violet */
.offre-immersive-item[data-offre="3"] .feature-icon-wrapper i {
    color: var(--pilier-5);
}

.offre-immersive-item[data-offre="3"] .feature-item-immersive:hover .feature-icon-wrapper {
    border-color: var(--pilier-5);
    background: var(--pilier-5);
}

.offre-immersive-item[data-offre="3"] .feature-item-immersive:hover .feature-icon-wrapper i {
    color: var(--blanc-pur);
}

.feature-item-immersive h4 {
    font-size: 1.125rem;
    margin-bottom: var(--espace-xs);
    color: var(--noir-profond);
}

.feature-item-immersive p {
    font-size: 0.95rem;
    color: rgba(26, 26, 26, 0.7);
    margin: 0;
    line-height: 1.5;
}

/* Complément de feature */
.feature-complement {
    display: flex;
    align-items: center;
    gap: var(--espace-xs);
    margin-top: var(--espace-sm);
    padding-top: var(--espace-sm);
    border-top: 1px dashed var(--gris-moyen);
    font-size: 0.9rem;
}

/* Couleurs du complément selon l'offre */
.offre-immersive-item[data-offre="1"] .feature-complement {
    color: var(--pilier-1);
}

.offre-immersive-item[data-offre="2"] .feature-complement {
    color: var(--pilier-2);
}

.offre-immersive-item[data-offre="3"] .feature-complement {
    color: var(--pilier-5);
}

.feature-complement i {
    font-size: 0.9rem;
}

/* === PIED DE PAGE DE L'OFFRE === */
.offre-footer-immersive {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--espace-md);
    border-top: 1px solid var(--gris-leger);
}

.timeline-indicator {
    display: flex;
    align-items: center;
    gap: var(--espace-xs);
    font-size: 0.95rem;
    color: rgba(26, 26, 26, 0.7);
}

/* Couleurs de l'icône timeline selon l'offre */
.offre-immersive-item[data-offre="1"] .timeline-indicator i {
    color: var(--pilier-1);
}

.offre-immersive-item[data-offre="2"] .timeline-indicator i {
    color: var(--pilier-2);
}

.offre-immersive-item[data-offre="3"] .timeline-indicator i {
    color: var(--pilier-5);
}

.offre-actions-immersive {
    display: flex;
    gap: var(--espace-sm);
}

/* === BOUTONS IMMERSIFS === */
.btn-immersive {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: none;
    cursor: pointer;
}

.btn-immersive-primary {
    background: var(--pilier-1);
    color: var(--blanc-pur);
    border: 1.5px solid var(--pilier-1);
}

/* Couleurs des boutons primaires selon l'offre */
.offre-immersive-item[data-offre="1"] .btn-immersive-primary {
    background: var(--pilier-1);
    border-color: var(--pilier-1);
}

.offre-immersive-item[data-offre="2"] .btn-immersive-primary {
    background: var(--pilier-2);
    border-color: var(--pilier-2);
}

.offre-immersive-item[data-offre="3"] .btn-immersive-primary {
    background: var(--pilier-5);
    border-color: var(--pilier-5);
}

.btn-immersive-primary:hover {
    background: var(--noir-profond);
    border-color: var(--noir-profond);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.btn-immersive-secondary {
    background: transparent;
    color: var(--noir-profond);
    border: 1.5px solid var(--noir-profond);
}

.btn-immersive-secondary:hover {
    background: var(--noir-profond);
    color: var(--blanc-pur);
    transform: translateY(-2px);
}

/* === PROGRESS INDICATOR (décoratif) === */
.progress-indicator {
    position: absolute;
    top: var(--espace-md);
    right: var(--espace-md);
    width: 40px;
    height: 40px;
    color: var(--gris-moyen);
    transition: color 0.3s ease;
}

/* Couleurs du progress indicator selon l'offre */
.offre-immersive-item[data-offre="1"]:hover .progress-indicator {
    color: var(--pilier-1);
}

.offre-immersive-item[data-offre="2"]:hover .progress-indicator {
    color: var(--pilier-2);
}

.offre-immersive-item[data-offre="3"]:hover .progress-indicator {
    color: var(--pilier-5);
}

.progress-indicator svg {
    width: 100%;
    height: 100%;
}

.progress-indicator circle {
    transition: stroke-dashoffset 2s ease;
}

/* === SECTION EXEMPLE === */
.section-exemple {
    padding: var(--espace-xl) var(--espace-md);
    background: var(--gris-leger);
}

.exemple-visuel {
    max-width: 1200px;
    margin: var(--espace-lg) auto 0;
    background: var(--blanc-pur);
    border: 1px solid var(--gris-moyen);
    border-radius: 2px;
    padding: var(--espace-xl);
    text-align: center;
}

.exemple-placeholder {
    padding: var(--espace-lg);
}

.exemple-placeholder p {
    font-size: 1.25rem;
    color: rgba(26, 26, 26, 0.6);
    margin-bottom: var(--espace-md);
}

/* === SECTION CONTACT SIMPLIFIÉE ET ÉLÉGANTE === */
.section-contact {
    padding: var(--espace-xl) var(--espace-md);
    background: var(--gris-leger);
    position: relative;
}

.section-contact .container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    padding: 0 var(--espace-md);
}

.contact-container {
    display: grid;
    grid-template-columns: 1.2fr 1fr; /* PLUS D'ESPACE POUR LA COLONNE GAUCHE */
    gap: var(--espace-lg);
    margin-top: var(--espace-lg);
    background: var(--blanc-pur);
    border: 1px solid var(--gris-moyen);
    border-radius: 2px;
    padding: var(--espace-xl);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.04);
    width: 100%;
}

/* Colonne gauche - Information */
.contact-info-side {
    padding-right: var(--espace-lg);
    border-right: 1px solid var(--gris-leger);
}

.contact-tagline {
    margin-bottom: var(--espace-lg);
}

.contact-tagline h3 {
    font-size: 1.75rem;
    margin-bottom: var(--espace-sm);
    color: var(--noir-profond);
    line-height: 1.2;
}

.contact-tagline p {
    font-size: 1.125rem;
    color: rgba(26, 26, 26, 0.7);
    line-height: 1.6;
}

/* Carte email */
.email-card {
    background: var(--pilier-1-light);
    border: 1px solid var(--pilier-1-light);
    border-radius: 2px;
    padding: var(--espace-lg);
    margin-top: var(--espace-xl);
    transition: all 0.3s ease;
    position: relative;
}

.email-card:hover {
    transform: translateY(-2px);
    border-color: var(--pilier-1);
    box-shadow: 0 8px 24px rgba(42, 157, 143, 0.1);
}

.email-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--pilier-1);
}

.email-icon {
    width: 56px;
    height: 56px;
    background: var(--blanc-pur);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--espace-md);
    border: 2px solid var(--pilier-1);
    color: var(--pilier-1);
}

.email-icon i {
    font-size: 1.5rem;
}

.email-card h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--noir-profond);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* EMAIL AFFICHÉ ENTIÈREMENT - CORRIGÉ */
.email-address {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--noir-profond);
    margin-bottom: 0.75rem;
    word-break: break-all; /* Permet de casser l'email si nécessaire */
    overflow-wrap: break-word; /* Alternative moderne */
}

.email-address a {
    color: var(--pilier-1);
    text-decoration: none;
    transition: color 0.2s ease;
    display: inline;
    font-family: 'Inter', monospace;
    font-weight: 500;
    letter-spacing: -0.01em;
}

.email-address a:hover {
    color: var(--noir-profond);
}

.response-time {
    display: flex;
    align-items: center;
    gap: var(--espace-xs);
    font-size: 0.95rem;
    color: rgba(26, 26, 26, 0.6);
    flex-wrap: wrap;
}

.response-time i {
    color: var(--pilier-1);
    font-size: 0.9rem;
}

/* Réseaux sociaux simplifiés */
.contact-social-minimal {
    margin-top: var(--espace-xl);
}

.contact-social-minimal h5 {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--noir-profond);
    margin-bottom: var(--espace-sm);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.social-icons-minimal {
    display: flex;
    gap: var(--espace-sm);
}

.social-icons-minimal a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--gris-leger);
    border-radius: 50%;
    color: var(--noir-profond);
    transition: all 0.3s ease;
    border: 1px solid var(--gris-moyen);
}

.social-icons-minimal a:hover {
    background: var(--pilier-1);
    color: var(--blanc-pur);
    border-color: var(--pilier-1);
    transform: translateY(-2px);
}

/* Colonne droite - Formulaire */
.contact-form-side h3 {
    font-size: 1.5rem;
    margin-bottom: var(--espace-md);
    color: var(--noir-profond);
    font-weight: 600;
    line-height: 1.2;
}

.form-description {
    font-size: 0.95rem;
    color: rgba(26, 26, 26, 0.7);
    margin-bottom: var(--espace-lg);
    line-height: 1.5;
}

.contact-form-improved {
    display: flex;
    flex-direction: column;
    gap: var(--espace-md);
}

.form-group-improved {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group-improved label {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--noir-profond);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.form-group-improved input,
.form-group-improved select,
.form-group-improved textarea {
    padding: 0.875rem 1rem;
    border: 1px solid var(--gris-moyen);
    border-radius: 2px;
    font-family: inherit;
    font-size: 1rem;
    background: var(--blanc-pur);
    transition: all 0.3s ease;
    color: var(--noir-profond);
    width: 100%;
}

.form-group-improved input:focus,
.form-group-improved select:focus,
.form-group-improved textarea:focus {
    outline: none;
    border-color: var(--pilier-1);
    box-shadow: 0 0 0 3px var(--pilier-1-light);
}

.form-group-improved input::placeholder,
.form-group-improved textarea::placeholder {
    color: rgba(26, 26, 26, 0.4);
}

.form-row-improved {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--espace-md);
}

.form-group-improved textarea {
    min-height: 140px;
    resize: vertical;
    line-height: 1.5;
}

/* Bouton de soumission */
.btn-submit-improved {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--espace-xs);
    padding: 1rem 2rem;
    background: var(--pilier-1);
    color: var(--blanc-pur);
    border: none;
    border-radius: 2px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    margin-top: var(--espace-sm);
    width: 100%;
}

.btn-submit-improved:hover {
    background: var(--noir-profond);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(42, 157, 143, 0.3);
}

.btn-submit-improved i {
    transition: transform 0.3s ease;
}

.btn-submit-improved:hover i {
    transform: translateX(4px);
}

/* Message de confirmation */
.form-success-message {
    font-size: 0.875rem;
    color: rgba(26, 26, 26, 0.6);
    margin-top: var(--espace-sm);
    padding: var(--espace-sm) var(--espace-md);
    background: var(--gris-leger);
    border-radius: 2px;
    border-left: 3px solid var(--pilier-1);
    display: flex;
    align-items: flex-start;
    gap: var(--espace-sm);
}

.form-success-message i {
    color: var(--pilier-1);
    margin-top: 0.125rem;
    flex-shrink: 0;
}

/* === ANIMATIONS KEYFRAMES === */
@keyframes apparitionOffre {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* === RESPONSIVE === */
@media (max-width: 1200px) {
    .contact-container {
        gap: var(--espace-lg);
        padding: var(--espace-lg);
    }
    
    .contact-info-side {
        padding-right: var(--espace-lg);
    }
}

@media (max-width: 992px) {
    .contact-container {
        grid-template-columns: 1fr;
        gap: var(--espace-xl);
        padding: var(--espace-xl);
    }
    
    .contact-info-side {
        padding-right: 0;
        border-right: none;
        border-bottom: 1px solid var(--gris-leger);
        padding-bottom: var(--espace-xl);
    }
    
    .contact-tagline h3 {
        font-size: 1.5rem;
    }
    
    .contact-form-side h3 {
        font-size: 1.35rem;
    }
    
    .form-row-improved {
        grid-template-columns: 1fr;
        gap: var(--espace-md);
    }
    
    /* Ajustement email sur tablette */
    .email-address {
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .section-espaces,
    .section-exemple,
    .section-contact,
    .section-architecte {
        padding: var(--espace-lg) var(--espace-sm);
    }
    
    .offre-features-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-item-immersive.large {
        grid-column: span 1;
    }
    
    .offre-footer-immersive {
        flex-direction: column;
        gap: var(--espace-md);
        align-items: flex-start;
    }
    
    .offre-actions-immersive {
        width: 100%;
        flex-direction: column;
    }
    
    .btn-immersive {
        width: 100%;
        text-align: center;
    }
    
    .offre-title-immersive {
        font-size: 1.75rem;
    }
    
    .exemple-visuel {
        padding: var(--espace-md);
    }
    
    .contact-container {
        padding: var(--espace-lg);
    }
    
    .contact-tagline h3 {
        font-size: 1.4rem;
    }
    
    .email-card {
        padding: var(--espace-md);
    }
    
    .email-address {
        font-size: 1.15rem;
    }
    
    .btn-submit-improved {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .offre-immersive-item {
        padding: var(--espace-md);
    }
    
    .feature-item-immersive {
        padding: var(--espace-sm);
    }
    
    .offre-header-immersive {
        margin-bottom: var(--espace-md);
    }
    
    .progress-indicator {
        display: none;
    }
    
    .contact-container {
        padding: var(--espace-md);
    }
    
    .email-card {
        padding: var(--espace-sm);
    }
    
    .email-address {
        font-size: 1.1rem;
    }
    
    .contact-form-side h3 {
        font-size: 1.25rem;
    }
    
    .section-label {
        font-size: 0.8rem;
    }
    
    h1 {
        font-size: clamp(2rem, 6vw, 4rem);
    }
    
    h2 {
        font-size: clamp(1.5rem, 4vw, 2.5rem);
    }
}

/* Correction pour les très petits écrans */
@media (max-width: 360px) {
    .email-address {
        font-size: 1rem;
        word-break: break-word;
    }
    
    .contact-container {
        padding: var(--espace-sm);
    }
}