/* TEST-SIGNATURE-OLIV-2026 */

/**
 * ═══════════════════════════════════════════════════════════════
 * MAISONS CTL - CSS Landing Page Modèle
 * ═══════════════════════════════════════════════════════════════
 * 
 * 📄 Fichier : landing-modele.css
 * 📂 Chemin : /public_html/assets/css/landing-modele.css
 * 🔢 Version : 1.0.4
 * 📅 Date : 09/01/2026
 * 
 * ═══════════════════════════════════════════════════════════════
 * 🆕 NOUVEAUTÉS VERSION 1.0.4
 * ═══════════════════════════════════════════════════════════════
 * 
 * ✅ OPTION 1 : Maison entière visible (mode contain)
 * ✅ Image non rognée, toit visible
 * ✅ Overlay léger pour lisibilité
 * 
 * ═══════════════════════════════════════════════════════════════
 */

/* ═══════════════════════════════════════════════════════════════
   1️⃣ VARIABLES CSS
   ═══════════════════════════════════════════════════════════════ */

:root {
    /* Couleurs principales */
    --color-primary: #1976d2;
    --color-primary-dark: #1565c0;
    --color-primary-light: #42a5f5;
    
    /* Couleurs secondaires */
    --color-secondary: #ff9800;
    --color-secondary-dark: #f57c00;
    
    /* Couleurs neutres */
    --color-text: #333333;
    --color-text-light: #666666;
    --color-text-lighter: #999999;
    --color-bg: #ffffff;
    --color-bg-light: #f5f5f5;
    --color-bg-lighter: #fafafa;
    --color-border: #e0e0e0;
    
    /* Couleurs état */
    --color-success: #4caf50;
    --color-error: #f44336;
    --color-warning: #ff9800;
    
    /* Typographie */
    --font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --font-size-base: 16px;
    --font-size-small: 14px;
    --font-size-large: 18px;
    --line-height: 1.6;
    
    /* Espacements */
    --spacing-xs: 8px;
    --spacing-sm: 16px;
    --spacing-md: 24px;
    --spacing-lg: 32px;
    --spacing-xl: 48px;
    --spacing-xxl: 64px;
    
    /* Bordures */
    --border-radius: 8px;
    --border-radius-sm: 4px;
    --border-radius-lg: 12px;
    
    /* Ombres */
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 8px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 16px rgba(0,0,0,0.15);
    --shadow-xl: 0 12px 24px rgba(0,0,0,0.2);
    
    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 350ms ease;
}

/* ═══════════════════════════════════════════════════════════════
   2️⃣ RESET & BASE
   ═══════════════════════════════════════════════════════════════ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body.landing-modele {
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    line-height: var(--line-height);
    color: var(--color-text);
    background: var(--color-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--color-primary-dark);
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* ═══════════════════════════════════════════════════════════════
   A11Y : FOCUS VISIBLE
   ═══════════════════════════════════════════════════════════════ */

button:focus-visible,
a:focus-visible,
.tab-btn:focus-visible,
.btn-download-pdf:focus-visible,
.btn-toggle-description:focus-visible,
.btn-cta-final:focus-visible,
.btn-submit:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid rgba(25, 118, 210, 0.35);
    outline-offset: 3px;
}

/* ═══════════════════════════════════════════════════════════════
   A11Y : PREFERS REDUCED MOTION
   ═══════════════════════════════════════════════════════════════ */

/* ✅ Décalage du formulaire vers la droite (desktop) */
@media (min-width: 1024px) {

  /* 1) décale la colonne du formulaire dans la grille */
  .hero-form-container{
    justify-self: end;          /* colle la colonne à droite */
    margin-left: 30px;          /* crée de l’air entre texte et formulaire */
  }

  /* 2) décale la carte elle-même vers la droite (léger) */
  .hero-form-card{
    transform: translateX(60px); /* ajuste 30 → 90 selon rendu */
    max-width: 420px;            /* garde un formulaire pas trop large */
  }
}

/* ═══════════════════════════════════════════════════════════════
   3️⃣ UTILITAIRES
   ═══════════════════════════════════════════════════════════════ */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.section-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: var(--spacing-lg);
    text-align: center;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0,0,0,0);
    border: 0;
}

/* ═══════════════════════════════════════════════════════════════
   4️⃣ HERO SECTION + FORMULAIRE - OPTION 1 : MAISON ENTIÈRE VISIBLE
   ═══════════════════════════════════════════════════════════════ */

.hero-modele {
    position: relative;
    padding: var(--spacing-xl) 0;
    background-size: contain;
    background-position: center bottom;
    background-repeat: no-repeat;
    background-color: #f0f0f0;
    min-height: 600px;
}

/* Overlay léger pour lisibilité du texte */
.hero-modele::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.75) 0%, rgba(255,255,255,0.60) 50%, rgba(255,255,255,0.75) 100%);
    z-index: 1;
}

.hero-modele .container {
    position: relative;
    z-index: 2;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
    align-items: start;
}

/* Hero texte */
.hero-text {
    order: 2;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-xs);
    margin-bottom: var(--spacing-md);
}

.hero-badges .badge {
    display: inline-block;
    padding: 6px 12px;
    background: var(--color-secondary);
    color: white;
    font-size: var(--font-size-small);
    font-weight: 600;
    border-radius: var(--border-radius-sm);
}

.hero-title {
    font-size: 36px;
    font-weight: 800;
    line-height: 1.2;
    color: var(--color-text);
    margin-bottom: var(--spacing-sm);
}

.hero-subtitle {
    display: block;
    font-size: 20px;
    font-weight: 400;
    color: var(--color-text-light);
    margin-top: var(--spacing-xs);
}

.hero-price {
    background: white;
    padding: var(--spacing-md);
    border-radius: var(--border-radius);
    margin: var(--spacing-md) 0;
    box-shadow: var(--shadow-md);

    /* ⬇️ AJOUTS / AJUSTEMENTS */
    max-width: 520px;
    width: fit-content;
}
@media (min-width: 1024px) {
    .hero-price {
        max-width: 500px;
    }
}


.price-value {
    display: block;
    font-size: 32px;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: var(--spacing-xs);
}

.price-mention {
    display: block;
    font-size: 20px;
    font-weight: 900;
    color: #222;
    margin-bottom: 6px;
    letter-spacing: -0.01em;
}

.price-options {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #666;
    line-height: 1.4;
    margin-bottom: var(--spacing-xs);
}

.price-detail {
    display: block;
    font-size: 13px;
    color: var(--color-text-lighter);
}

.hero-benefits {
    list-style: none;
    margin: var(--spacing-md) 0;
}

.hero-benefits li {
    padding: var(--spacing-xs) 0;
    font-size: 16px;
    color: var(--color-text);
}

/* ================================
   HERO - MINI DESCRIPTIF (BENEFITS)
   Plus visible : gras + légèrement plus gros
================================ */

.hero-benefits {
    margin: 18px 0 10px 0;
}

.hero-benefits li {
    font-size: 17px;
    font-weight: 700;
    line-height: 1.55;
    padding: 4px 0;
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: var(--spacing-md);
}

.trust-badge {
    padding: 10px 18px;
    background: #ffffff;
    color: var(--color-primary);
    font-size: 15px;              /* ⬆️ un peu plus gros */
    font-weight: 700;             /* ⬆️ bien lisible */
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
    border-left: 4px solid var(--color-primary);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}
.trust-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.18);
    transition: all 0.2s ease;
}

/* Formulaire */
.hero-form-container {
    order: 1;
}

.hero-form-card {
    background: white;
    padding: 32px;
    border-radius: 16px;
    box-shadow: 
        0 12px 40px rgba(0,0,0,0.25),
        0 0 0 4px rgba(211,47,47,0.08);
    border-top: 6px solid #d32f2f;
}

.hero-form-card.is-sticky {
    position: fixed;
    top: 20px;
    right: clamp(10px, 2vw, 30px);
    max-width: 400px;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    z-index: 100;
    animation: slideInRight 0.3s ease;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.form-title {
    font-size: 26px;
    font-weight: 900;
    color: #d32f2f;
}

.form-subtitle {
    display: block;
    font-size: 16px;
    font-weight: 400;
    color: var(--color-text-light);
}

.lead-form {
    margin-top: var(--spacing-md);
}

.form-group {
    margin-bottom: var(--spacing-sm);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-sm);
    font-size: 15px;
    color: var(--color-text);
    transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(25, 118, 210, 0.15);
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-xs);
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 14px;
    color: var(--color-text-light);
}

.checkbox-input {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    flex-shrink: 0;
    cursor: pointer;
}

.checkbox-text {
    line-height: 1.5;
}

.checkbox-text a {
    text-decoration: underline;
}

.btn-submit {
    width: 100%;
    padding: 16px 24px;
    background: var(--color-primary);
    color: white;
    font-size: 18px;
    font-weight: 700;
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-xs);
    transition: all var(--transition-base);
    margin-top: var(--spacing-md);
}

.btn-submit:hover:not(:disabled) {
    background: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-icon {
    font-size: 20px;
}

.form-disclaimer {
    text-align: center;
    margin-top: var(--spacing-sm);
    font-size: 13px;
    color: var(--color-text-lighter);
}

/* ═══════════════════════════════════════════════════════════════
   5️⃣ GALERIE SIMPLIFIÉE (2 IMAGES CÔTE À CÔTE)
   ═══════════════════════════════════════════════════════════════ */

.gallery-section {
    padding: var(--spacing-xxl) 0;
    background: var(--color-bg);
}

/* Grille 2 colonnes - FORCÉ */
.gallery-simple-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px !important;
    margin-bottom: 48px !important;
    max-width: 700px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Mobile : 1 colonne */
@media (max-width: 767px) {
    .gallery-simple-grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }
}

/* Item de galerie */
.gallery-simple-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: all 0.25s ease;
    background: white;
    display: flex;
    flex-direction: column;
    max-width: 100%;
}

.gallery-simple-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.gallery-simple-img {
    width: 100% !important;
    height: 100px !important;
    object-fit: cover !important;
    display: block !important;
    transition: transform 0.35s ease;
}

@media (min-width: 768px) {
    .gallery-simple-img {
        height: 120px !important;
    }
}

@media (min-width: 1024px) {
    .gallery-simple-img {
        height: 130px !important;
    }
}

.gallery-simple-item:hover .gallery-simple-img {
    transform: scale(1.05);
}

/* Overlay au survol */
.gallery-simple-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 35px;
    background: rgba(0, 0, 0, 0);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    opacity: 0;
    transition: all 0.25s ease;
    pointer-events: none;
}

.gallery-simple-item:hover .gallery-simple-overlay {
    background: rgba(0, 0, 0, 0.75);
    opacity: 1;
}

.gallery-simple-icon {
    font-size: 28px;
    color: white;
}

.gallery-simple-text {
    color: white;
    font-size: 11px;
    font-weight: 600;
}

/* Caption */
.gallery-simple-caption {
    padding: 10px;
    font-size: 12px;
    font-weight: 600;
    color: var(--color-text);
    text-align: center;
    background: white;
    line-height: 1.3;
}

/* Modal Lightbox */
.gallery-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.gallery-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    cursor: pointer;
}

.gallery-modal-content {
    position: relative;
    z-index: 10000;
    max-width: 90vw;
    max-height: 90vh;
    padding: var(--spacing-sm);
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-modal-image {
    max-width: 90vw;
    max-height: 85vh;
    width: auto;
    height: auto;
    display: block;
    border-radius: var(--border-radius);
    box-shadow: 0 8px 32px rgba(0,0,0,0.4);
    object-fit: contain;
}

.gallery-modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    width: 40px;
    height: 40px;
    background: white;
    color: var(--color-text);
    border: none;
    border-radius: 50%;
    font-size: 24px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-fast);
}

.gallery-modal-close:hover {
    background: var(--color-error);
    color: white;
    transform: rotate(90deg);
}

/* CTA Galerie */
.gallery-cta {
    margin-top: var(--spacing-xl);
    text-align: center;
}

.btn-download-pdf {
    padding: 16px 32px;
    background: var(--color-secondary);
    color: white;
    font-size: 18px;
    font-weight: 700;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
}

.btn-download-pdf:hover {
    background: var(--color-secondary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.gallery-cta-hint {
    margin-top: var(--spacing-sm);
    font-size: 14px;
    color: var(--color-text-lighter);
}

/* ═══════════════════════════════════════════════════════════════
   6️⃣ SPECS TECHNIQUES
   ═══════════════════════════════════════════════════════════════ */

.specs-section {
    padding: var(--spacing-xxl) 0;
    background: var(--color-bg-light);
}

.specs-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-sm);
}

.spec-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-md);
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}

.spec-label {
    font-weight: 600;
    color: var(--color-text);
}

.spec-value {
    font-weight: 400;
    color: var(--color-text-light);
    text-align: right;
}

/* ═══════════════════════════════════════════════════════════════
   7️⃣ DESCRIPTION
   ═══════════════════════════════════════════════════════════════ */

.description-section {
    padding: var(--spacing-xxl) 0;
    background: white;
}

.description-content {
    max-width: 800px;
    margin: 0 auto;
}

.description-short {
    font-size: 18px;
    line-height: 1.8;
    color: var(--color-text);
    margin-bottom: var(--spacing-md);
}

.description-long {
    font-size: 16px;
    line-height: 1.8;
    color: var(--color-text-light);
    margin-top: var(--spacing-md);
}

.btn-toggle-description {
    display: block;
    margin: var(--spacing-md) auto 0;
    padding: 10px 24px;
    background: var(--color-bg-light);
    color: var(--color-primary);
    font-weight: 600;
    border-radius: var(--border-radius);
    transition: all var(--transition-fast);
}

.btn-toggle-description:hover {
    background: var(--color-primary);
    color: white;
}

/* ═══════════════════════════════════════════════════════════════
   8️⃣ FEATURES
   ═══════════════════════════════════════════════════════════════ */

.features-section {
    padding: var(--spacing-xxl) 0;
    background: var(--color-bg-light);
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
}

.feature-card {
    padding: var(--spacing-lg);
    background: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: all var(--transition-base);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: var(--spacing-sm);
}

.feature-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: var(--spacing-xs);
}

.feature-text {
    font-size: 15px;
    color: var(--color-text-light);
    line-height: 1.6;
}

/* ═══════════════════════════════════════════════════════════════
   9️⃣ PRICING
   ═══════════════════════════════════════════════════════════════ */

.pricing-section {
    padding: var(--spacing-xxl) 0;
    background: white;
}

.pricing-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

.pricing-col {
    padding: var(--spacing-lg);
    background: var(--color-bg-light);
    border-radius: var(--border-radius-lg);
}

.pricing-col-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    text-align: center;
}

.pricing-list {
    list-style: none;
}

.pricing-list li {
    padding: var(--spacing-xs) 0 var(--spacing-xs) 28px;
    position: relative;
    font-size: 15px;
    color: var(--color-text);
}

.pricing-list li::before {
    content: '•';
    position: absolute;
    left: 8px;
    color: var(--color-primary);
    font-weight: bold;
}

.pricing-legal {
    padding: var(--spacing-md);
    background: var(--color-bg-lighter);
    border-left: 4px solid var(--color-warning);
    border-radius: var(--border-radius-sm);
    margin-top: var(--spacing-lg);
    font-size: 14px;
    color: var(--color-text-light);
}

/* ═══════════════════════════════════════════════════════════════
   🔟 TARGET
   ═══════════════════════════════════════════════════════════════ */

.target-section {
    padding: var(--spacing-xxl) 0;
    background: var(--color-bg-light);
}

.target-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
}

.target-card {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    padding: var(--spacing-md);
    background: white;
    border-radius: var(--border-radius);
    transition: all var(--transition-fast);
}

.target-card:hover {
    background: var(--color-primary);
    color: white;
    transform: translateX(4px);
}

.target-icon {
    font-size: 32px;
    flex-shrink: 0;
}

.target-text {
    font-size: 16px;
}

/* ═══════════════════════════════════════════════════════════════
   1️⃣1️⃣ FAQ
   ═══════════════════════════════════════════════════════════════ */

.faq-section {
    padding: var(--spacing-xxl) 0;
    background: white;
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    padding: var(--spacing-lg);
    background: var(--color-bg-light);
    border-radius: var(--border-radius);
    margin-bottom: var(--spacing-md);
    box-shadow: var(--shadow-sm);
}

.faq-question {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: var(--spacing-sm);
}

.faq-answer {
    font-size: 15px;
    color: var(--color-text-light);
    line-height: 1.7;
}

/* ═══════════════════════════════════════════════════════════════
   1️⃣2️⃣ CTA FINAL
   ═══════════════════════════════════════════════════════════════ */

.cta-final-section {
    padding: var(--spacing-xxl) 0;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: white;
    text-align: center;
}

.cta-urgency {
    display: inline-block;
    padding: 8px 16px;
    background: var(--color-warning);
    color: white;
    font-size: 14px;
    font-weight: 700;
    border-radius: var(--border-radius-sm);
    margin-bottom: var(--spacing-md);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.cta-final-title {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: var(--spacing-md);
}

.cta-final-text {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto var(--spacing-lg);
    opacity: 0.95;
}

.btn-cta-final {
    display: inline-block;
    padding: 18px 40px;
    background: white;
    color: var(--color-primary);
    font-size: 20px;
    font-weight: 700;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-xl);
    transition: all var(--transition-base);
}

.btn-cta-final:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px rgba(0,0,0,0.3);
}

.cta-contact {
    margin-top: var(--spacing-lg);
    opacity: 0.9;
}

.cta-contact a {
    color: white;
    text-decoration: underline;
}

/* ═══════════════════════════════════════════════════════════════
   1️⃣3️⃣ MESSAGES FORMULAIRE
   ═══════════════════════════════════════════════════════════════ */

#formMessages {
    margin-bottom: var(--spacing-md);
}

.form-message {
    padding: var(--spacing-md);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    line-height: 1.5;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.message-success {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.message-error {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

.message-icon {
    font-size: 20px;
    flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════════════
   1️⃣4️⃣ LOADING STATES
   ═══════════════════════════════════════════════════════════════ */

.btn-submit.btn-loading {
    opacity: 0.7;
    cursor: not-allowed;
    position: relative;
    padding-right: 52px;
}

.btn-submit.btn-loading::after {
    content: '';
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    to { transform: translateY(-50%) rotate(360deg); }
}

/* ═══════════════════════════════════════════════════════════════
   1️⃣5️⃣ RESPONSIVE
   ═══════════════════════════════════════════════════════════════ */

/* Tablet (768px+) */
@media (min-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr 400px;
        gap: var(--spacing-xl);
    }
    
    .hero-text {
        order: 1;
    }
    
    .hero-form-container {
        order: 2;
    }
    
    .hero-title {
        font-size: 42px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .specs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .target-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Desktop (1024px+) */
@media (min-width: 1024px) {
    .hero-title {
        font-size: 48px;
    }
    
    .section-title {
        font-size: 40px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .features-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Large Desktop (1280px+) */
@media (min-width: 1280px) {
    .container {
        max-width: 1280px;
    }
}

/* Mobile only */
@media (max-width: 767px) {
    .hero-form-card.is-sticky {
        position: static;
        max-width: 100%;
    }
}

/**
 * Styles pour les alertes de formulaire
 * À ajouter à landing-modele.css
 */

/* ═══════════════════════════════════════════════════════════
   ALERTES FORMULAIRE
═══════════════════════════════════════════════════════════ */

.form-alert {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    margin: 20px 0;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    animation: slideIn 0.3s ease-out;
    transition: opacity 0.3s ease;
}

.form-alert.success {
    background: #d4edda;
    border-left: 5px solid #28a745;
    color: #155724;
}

.form-alert.error {
    background: #f8d7da;
    border-left: 5px solid #dc3545;
    color: #721c24;
}

.form-alert .alert-icon {
    font-size: 32px;
    line-height: 1;
    flex-shrink: 0;
}

.form-alert .alert-message {
    flex: 1;
    font-size: 16px;
    line-height: 1.5;
    font-weight: 500;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Bouton submit en cours d'envoi */
button[type="submit"]:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* ═══════════════════════════════════════════════════════════════
   HERO HIGHLIGHTS (liste avantages + badges) - VISIBILITÉ MAX
   ═══════════════════════════════════════════════════════════════ */

.hero-highlights{
    margin-top: 18px;
    padding: 16px 18px;
    border-radius: 14px;
    background: rgba(255,255,255,0.90);
    border: 1px solid rgba(0,0,0,0.06);
    box-shadow: 0 10px 28px rgba(0,0,0,0.14);
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
    max-width: 560px;
}

/* Liste */
.hero-highlights__list{
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 9px;
}

.hero-highlights__list li{
    font-size: 16px;
    font-weight: 800;
    color: #1f2a37;
    line-height: 1.35;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    text-shadow: 0 1px 0 rgba(255,255,255,0.6);
}

/* Icône check */
.hero-highlights__list li::before{
    content: "✓";
    font-weight: 900;
    line-height: 1;
    margin-top: 2px;
    color: var(--color-primary);
}

/* Badges */
.hero-highlights__badges{
    margin-top: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.highlight-badge{
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 12px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 900;
    letter-spacing: 0.2px;
    box-shadow: 0 6px 14px rgba(0,0,0,0.10);
}

.highlight-badge--gold{
    background: rgba(255,193,7,0.18);
    border: 1px solid rgba(255,193,7,0.45);
    color: #6b4e00;
}

.highlight-badge--green{
    background: rgba(46,125,50,0.12);
    border: 1px solid rgba(46,125,50,0.30);
    color: #1b5e20;
}

/* Mobile : un peu plus compact */
@media (max-width: 767px){
    .hero-highlights{
        max-width: 100%;
        padding: 14px 14px;
    }
    .hero-highlights__list li{
        font-size: 15px;
    }
}

/* ================================
   FIX LAYOUT HERO : texte à gauche / formulaire à droite
================================ */
@media (min-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr 400px !important;
        align-items: start !important;
    }
    .hero-form-container {
        align-self: start !important;
    }
}
/* ==========================================================
   PRIX – Rouge enseigne CTL + typographie impactante
========================================================== */
.hero-price .price-value{
  color: #d32f2f !important;
}

@media (min-width: 768px) {
    .hero-price .price-value {
        font-size: 38px;
    }
    .hero-price .price-mention {
        font-size: 22px;
    }
}

@media (min-width: 1024px) {
    .hero-price .price-value {
        font-size: 40px;
    }
    .hero-price .price-mention {
        font-size: 24px;
    }
}

/* =====================================================
   HEADER – Téléphone (BLEU PREMIUM)
===================================================== */
.header-landing a[href^="tel"],
header a[href^="tel"] {
  background: linear-gradient(135deg, #1976d2, #0d47a1) !important;
  color: #ffffff !important;
  padding: 11px 18px !important;
  border-radius: 999px !important;
  font-weight: 800 !important;
  font-size: 16px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  text-decoration: none !important;
  box-shadow: 0 10px 22px rgba(25,118,210,0.35) !important;
  transition: transform 0.15s ease, box-shadow 0.15s ease !important;
}

.header-landing a[href^="tel"]:hover,
header a[href^="tel"]:hover {
  transform: translateY(-1px) !important;
  box-shadow: 0 14px 28px rgba(25,118,210,0.45) !important;
}

/* Icône téléphone */
.header-landing a[href^="tel"] svg,
header a[href^="tel"] svg {
  fill: #ffffff !important;
  color: #ffffff !important;
}

/* =====================================================
   FORMULAIRE – STYLE PREMIUM BLEU
===================================================== */
.hero-form-card {
  background: #ffffff !important;
  border: 2px solid #1976d2 !important;
  border-radius: 16px !important;
  box-shadow: 0 20px 40px rgba(0,0,0,0.12) !important;
}

/* Titre formulaire */
.hero-form-card .form-title {
  color: #0d47a1 !important;
  font-weight: 800 !important;
}

/* Sous-titre */
.hero-form-card .form-subtitle {
  color: #555 !important;
}

/* =====================================================
   FORMULAIRE – CHAMPS & FOCUS
===================================================== */
.lead-form input,
.lead-form select,
.lead-form textarea {
  border: 1px solid #ddd !important;
  border-radius: 10px !important;
  padding: 12px 14px !important;
  font-size: 15px !important;
  transition: border-color 0.15s ease, box-shadow 0.15s ease !important;
}

.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
  outline: none !important;
  border-color: #1976d2 !important;
  box-shadow: 0 0 0 3px rgba(25,118,210,0.18) !important;
}

/* =====================================================
   HEADER – CTA "Je démarre mon projet" : blanc + texte bleu
===================================================== */

.header-landing .header-landing-cta {
  background: #ffffff !important;
  color: #1976d2 !important;
  border: 2px solid #1976d2 !important;
  box-shadow: 0 10px 22px rgba(0,0,0,0.10) !important;
}

.header-landing .header-landing-cta:hover {
  background: rgba(25,118,210,0.08) !important;
  color: #1565c0 !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 14px 28px rgba(0,0,0,0.12) !important;
}

/* Si le CTA contient du texte dans un span */
.header-landing .header-landing-cta span {
  color: inherit !important;
}

/* ==========================================================
   HERO – LAYOUT SAFE (ZÉRO OVERFLOW)
========================================================== */

/* Filet de sécurité global */
body.landing-modele {
  overflow-x: hidden;
}

@media (min-width: 1024px) {

  .hero-modele .container {
    max-width: 1280px;
    padding-left: 24px;
    padding-right: 24px;
  }

  .hero-content {
    grid-template-columns: 1fr 420px;
    gap: 48px;
    align-items: start;
  }

  .hero-text {
    padding-right: var(--spacing-md);
  }

  .hero-form-container {
    justify-self: end;
  }

  .hero-form-card {
    max-width: 420px;
  }

  .hero-form-card.is-sticky {
    right: clamp(10px, 2vw, 30px);
  }
}

/* ==========================================================
   GRANDS ÉCRANS (1440px+)
========================================================== */
@media (min-width: 1440px) {

  .hero-content {
    gap: 64px;
  }

  .hero-form-card.is-sticky {
    right: clamp(10px, 2vw, 40px);
  }
}
