/* =================================================================
   ID44 — Design Tokens (variables CSS)
   Modifier ici pour changer la charte graphique globalement.
   ================================================================= */
:root {
    /* Palette primaire */
    --id44-blue: #3b82f6;
    /* Bleu référence boutons */
    --id44-cyan: #00d0ff;
    /* Cyan signature ID44 */
    --id44-green: #10b981;
    /* Validé / succès */
    --id44-pink: #ec4899;
    /* Factures */
    --id44-indigo: #6366f1;
    /* Archives */
    --id44-yellow: #fef08a;
    /* Lettre signée */
    --id44-yellow-dark: #92400e;
    /* Texte sur fond jaune */

    /* Neutrals */
    --id44-slate-50: #f8fafc;
    --id44-slate-100: #f1f5f9;
    --id44-slate-200: #94a3b8;
    --id44-slate-400: #94a3b8;
    --id44-slate-500: #64748b;
    --id44-slate-700: #334155;
    --id44-slate-800: #1e293b;
    --id44-slate-900: #0f172a;

    /* Surfaces */
    --id44-bg: #ffffff;
    --id44-bg-subtle: #f8fafc;
    --id44-border: #94a3b8;
    --id44-shadow-sm: 0 1px 3px rgba(0, 0, 0, .07);
    --id44-shadow-md: 0 4px 6px rgba(0, 0, 0, .08);

    /* Typographie */
    --id44-font: 'Inter', Arial, sans-serif;
    --id44-radius-sm: 8px;
    --id44-radius-md: 12px;
    --id44-radius-pill: 9999px;

    color-scheme: light;
}

/* =================================================================
   ID44 — Feuille de style principale
   Centralise tous les styles du site + admin/espace client
   ================================================================= */

/* ---------------------------------------------------------------
   SECTION 1 : Site public (hero, prix, équipe, sections…)
   --------------------------------------------------------------- */



/* Protection contre le téléchargement et la sélection */
body.ec-protected-mode {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

img {
    pointer-events: none;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

/* Réactiver les clics pour les images de galerie et portraits */
.gallery-img,
.realization-card img,
.team-member img,
.franck-portrait,
.vincent-portrait {
    pointer-events: auto;
}

/* Permettre la sélection dans les formulaires uniquement et normalisation Safari/Chrome/Opera */
input,
textarea,
select {
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    line-height: normal;
    font-family: inherit;
    font-size: inherit;
    box-shadow: none !important;
}

/* Force custom arrow for all selects globally - AGGRESSIVE FIX FOR SAFARI */
select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 0.85rem center !important;
    background-size: 14px !important;
    padding-right: 2.5rem !important;
    cursor: pointer !important;
    -webkit-background-clip: padding-box !important;
    background-clip: padding-box !important;
}

/* Specific fix for Safari/IE to hide native icons completely */
select::-ms-expand {
    display: none;
}
select::-webkit-inner-spin-button,
select::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Global reset for number inputs - remove double arrows */
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none !important;
    margin: 0 !important;
}
input[type="number"] {
    -webkit-appearance: none !important;
    -moz-appearance: textfield !important;
    appearance: textfield !important;
}

/* Fix pour les ancres - compensation du menu sticky */
section[id] {
    scroll-margin-top: 50px;
}

.hero-overlay {
    background: linear-gradient(135deg, rgba(0, 208, 255, 0.8) 10%, rgba(16, 185, 129, 0.8) 50%, rgba(255, 235, 153, 0.8) 90%);
}

.price-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.price-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Console d'historique redesign */

.history-console {
    background: #1e293b;
    color: #94a3b8;
    font-family: inherit;
    padding: 1rem;
    max-height: 500px;
    overflow-y: auto;
    font-size: 0.9rem;
    line-height: 1.6;
}

.history-line {
    display: grid;
    grid-template-columns: 105px 100px 1fr;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 0.5rem;
    border-bottom: 1px solid #1e293b;
    transition: background 0.2s ease;
}

.history-line-global {
    grid-template-columns: 105px 95px 12ch 1fr !important;
}

.history-line:hover {
    background: rgba(255, 255, 255, 0.05);
}

.history-card-date {
    color: #64748b;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Champs sombres pour l'historique */
.ec-history-header .ec-field {
    background-color: rgba(15, 23, 42, 0.6) !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
    color: #fff !important;
    transition: all 0.2s ease;
}

.ec-history-header .ec-field:focus {
    background: rgba(15, 23, 42, 0.8);
    border-color: var(--id44-cyan);
    box-shadow: 0 0 0 3px rgba(0, 208, 255, 0.1);
}

.ec-history-header .ec-field::placeholder {
    color: #64748b;
}

.ec-history-header select.ec-field {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 0.75rem center !important;
    background-size: 12px !important;
    padding-right: 2.2rem !important;
}

.ec-history-header select.ec-field option {
    background: #1e293b;
    color: #fff;
}

.history-card-author {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.025em;
    width: fit-content;
}

.history-author-id44 {
    background: rgba(14, 165, 233, 0.1);
    color: #38bdf8;
    border: 1px solid rgba(14, 165, 233, 0.2);
}

.history-author-admin {
    background: rgba(139, 92, 246, 0.1);
    color: #a78bfa;
    border: 1px solid rgba(139, 92, 246, 0.2);
}



.history-author-client {
    background: rgba(16, 185, 129, 0.1);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.history-card-action {
    color: #94a3b8;
    font-weight: 400;
}

/* Header matching admin */
.ec-history-header {
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, #1e293b, #334155);
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #1e293b;
}

/* Responsive History */
@media (max-width: 768px) {
    .ec-history-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        padding: 1.25rem 1rem;
    }

    .ec-history-header h3 {
        font-size: 1rem !important;
    }

    .ec-history-header>div {
        flex-direction: column;
        align-items: stretch !important;
        width: 100%;
        gap: 0.75rem !important;
    }

    .ec-history-header .ec-field {
        max-width: none !important;
        width: 100%;
        font-size: 0.95rem !important;
    }

    .ec-responsive-grid,
    .ec-form-row {
        grid-template-columns: 1fr !important;
    }

    .ec-form-group,
    .ec-field {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
        display: block !important;
    }

    input[type="date"].ec-field {
        min-width: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        -webkit-appearance: none;
        appearance: none;
        box-sizing: border-box !important;
    }

    .ec-history-close-btn {
        position: absolute !important;
        top: 0.75rem !important;
        right: 0.75rem !important;
        background: rgba(30, 41, 59, 0.8) !important;
        border-radius: 50% !important;
        padding: 6px !important;
        z-index: 10;
    }

    .history-line,
    .history-line-global {
        display: flex !important;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
        padding: 1rem 0.5rem;
    }

    .history-card-date {
        font-size: 0.75rem;
    }

    .history-card-author {
        font-size: 0.7rem !important;
        margin: 2px 0;
    }

    .history-card-action {
        font-size: 0.85rem;
        margin-top: 4px;
        line-height: 1.4;
    }
}

.realization-card {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.realization-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 25px 35px -5px rgba(0, 0, 0, 0.15), 0 15px 15px -5px rgba(0, 0, 0, 0.06);
    background-color: #f5f5f5;
}

@keyframes ec-logo-jump {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-6px);
    }
}

.ec-logo-jump {
    animation: ec-logo-jump 0.5s cubic-bezier(0.18, 0.89, 0.32, 1.28);
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    animation: fadeIn 0.3s ease;
    overflow: auto;
    align-items: center;
    justify-content: center;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.modal-content {
    background-color: white;
    padding: 40px 30px 30px 30px;
    border-radius: 15px;
    width: 80%;
    max-height: 80vh;
    max-width: 1400px;
    animation: slideDown 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.modal-content h2 {
    flex-shrink: 0;
    margin-bottom: 20px;
    line-height: 1.4;
}

.modal-content .flex.items-center {
    line-height: 1.6;
    padding-top: 5px;
}

.modal-content .flex.items-center p {
    line-height: 1.5;
}

.modal-content>div {
    overflow-y: auto;
    padding-right: 10px;
    margin-right: -10px;
}

/* Personnalisation de la scrollbar pour qu'elle soit plus à l'intérieur */
.modal-content>div::-webkit-scrollbar {
    width: 8px;
}

.modal-content>div::-webkit-scrollbar-track {
    background: transparent;
    margin-right: 10px;
}

.modal-content>div::-webkit-scrollbar-thumb {
    background: #94a3b8;
    border-radius: 4px;
}

.modal-content>div::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-fullscreen {
    display: none;
    position: fixed;
    z-index: 1001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    align-items: center;
    justify-content: center;
}

.modal-fullscreen.active {
    display: flex;
}

.fullscreen-message {
    display: none;
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
    z-index: 10;
    text-align: center;
}

@media (max-width: 768px) and (orientation: portrait) {
    .fullscreen-message {
        display: block;
    }
}

.modal-fullscreen-content {
    background-color: transparent;
    border-radius: 15px;
    width: 85%;
    height: 85vh;
    max-width: 1400px;
    max-height: 900px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    animation: slideDown 0.3s ease;
    position: relative;
}

.fullscreen-image-wrapper {
    position: relative;
    width: 95%;
    height: 95%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-fullscreen-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    padding: 0;
    box-sizing: border-box;
    border-radius: 8px;
    background-color: transparent;
    filter: drop-shadow(0 0 0 transparent);
}

.fullscreen-image-wrapper::after {
    content: '';
    position: absolute;
    bottom: calc(10% + 20px);
    left: calc(5% + 20px);
    width: 100px;
    height: 100px;
    background-image: url('images/ID44_logo_blanc.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.7;
    pointer-events: none;
    z-index: 10;
}

.modal-fullscreen-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 15px 20px;
    cursor: pointer;
    font-size: 24px;
    border-radius: 5px;
    transition: background 0.3s;
    z-index: 10;
}

.modal-fullscreen-nav:hover {
    background: rgba(0, 0, 0, 0.8);
}

.modal-fullscreen-nav.prev {
    left: 10px;
}

.modal-fullscreen-nav.next {
    right: 10px;
}

.modal-fullscreen-close {
    position: absolute;
    top: 15px;
    right: 15px;
    color: white;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    z-index: 20;
    background: rgba(0, 0, 0, 0.5);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.3s;
}

.modal-fullscreen-close:hover {
    background: rgba(0, 0, 0, 0.8);
}

.close-modal {
    color: #666;
    font-size: 22px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    position: absolute;
    top: 18px;
    right: 20px;
    z-index: 20;
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.9);
    border: 2px solid #94a3b8;
    border-radius: 50%;
    line-height: 1;
    padding: 0 0 3px 0;
    margin: 0;
}

.close-modal:hover {
    color: #fff;
    background-color: #ff4444;
    border-color: #ff4444;
    transform: rotate(90deg);
}

button.text-left {
    background: none !important;
    border: none !important;
    padding: 0 !important;
}

a[title] {
    position: relative;
}

a[title]:hover::after {
    content: attr(title);
    position: absolute;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    background: #333;
    color: white;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    z-index: 1000;
    animation: tooltipFadeIn 0.3s ease 0.5s both;
}

@keyframes tooltipFadeIn {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(5px);
    }

    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

.legal-link {
    color: #d1d5db !important;
}

.legal-link:hover {
    color: #00d0ffff !important;
}

.linkedin-btn {
    color: white !important;
}

.linkedin-btn:hover {
    color: white !important;
}

.faq-button:hover {
    background-color: #93c5fd !important;
}

.faq-button {
    min-height: 80px;
    display: flex;
    align-items: center;
    color: #1e293b !important;
    padding-left: 45px !important;
    padding-right: 35px !important;
}

.faq-button.sub-category {
    min-height: 40px;
    padding-left: 0px !important;
    padding-right: 15px !important;
}

.faq-button.sub-category span {
    margin-left: 10px;
}

.faq-button.main-category {
    min-height: 80px;
    padding-left: 60px !important;
    padding-right: 20px !important;
}

.faq-button.main-category i[data-feather="chevron-down"] {
    margin-left: 0 !important;
    margin-right: -10px !important;
}

.faq-button span {
    padding-left: 5px;
    margin-right: 5px;
    margin-left: 20px;
}

.faq-button i {
    margin-left: 20px;
}

.faq-button:not(.sub-category)>svg:last-child {
    margin-right: 20px !important;
}

.faq-button span svg {
    transition: none !important;
    transform: none !important;
}

.faq-button.active span svg {
    transform: none !important;
}

.faq-button>svg {
    transition: transform 0.3s ease;
}

.faq-button.active>svg {
    transform: rotate(180deg);
}

.faq-button.active {
    background-color: #93c5fd;
    color: #1e293b !important;
}

.faq-button:hover {
    background-color: rgba(0, 208, 255, 0.1) !important;
    color: #1e293b !important;
}

.bg-white.rounded-lg {
    border: 1px solid #fafafa !important;
}

.price-card {
    border: 2px solid #d1d5db !important;
    background-color: #f9fafb !important;
}

.faq-content.active {
    max-height: 500px !important;
}

.faq-content {
    color: #1e293b !important;
}

.faq-content div {
    color: #1e293b !important;
}

.faq-content h4 {
    color: #0f172a !important;
    font-weight: 700 !important;
}

.faq-content p {
    color: #1e293b !important;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 0;
    overflow-y: auto;
    flex: 1;
    padding-left: 20px;
    padding-right: 20px;
}

.gallery-img-wrapper {
    position: relative;
    width: 100%;
    height: 200px;
}

.gallery-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s, cursor 0.3s;
    cursor: pointer;
}

.gallery-watermark {
    position: absolute;
    bottom: 15px;
    left: 15px;
    width: 15%;
    aspect-ratio: 1;
    background-image: url('images/ID44_logo_blanc.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.7;
    pointer-events: none;
    z-index: 10;
}

.gallery-grid .gallery-img:nth-child(-n+3) {
    margin-top: 10px;
}

.gallery-img-wrapper:hover .gallery-img {
    transform: scale(1.02);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        max-height: 90vh;
        padding: 25px 15px 15px 15px;
    }

    .modal-content h2 {
        font-size: 1.5rem;
        line-height: 1.4;
    }

    .modal-content .gallery-header {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 0.5rem !important;
        padding-right: 40px !important;
        margin-bottom: 1rem !important;
    }

    .modal-content .gallery-instruction {
        font-size: 0.875rem !important;
        line-height: 1.4 !important;
        color: #4b5563 !important;
        display: block !important;
        opacity: 1 !important;
        width: 100% !important;
        max-width: none !important;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        padding-left: 15px;
        padding-right: 15px;
    }

    .gallery-img {
        height: 200px;
    }
}

@media (max-width: 768px) and (orientation: landscape) {
    header {
        display: none !important;
    }

    .landscape-menu-toggle {
        display: flex !important;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-img {
        height: 186px;
    }
}

/* Bouton menu paysage mobile */
.landscape-menu-toggle {
    display: none;
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1001;
    width: 50px;
    height: 50px;
    background-color: rgba(0, 208, 255, 0.9);
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.landscape-menu-toggle:hover {
    background-color: rgba(16, 185, 129, 0.9);
    transform: scale(1.1);
}

.landscape-menu-toggle i {
    color: white;
    font-weight: bold;
}

/* Menu paysage mobile */
.landscape-menu {
    display: none;
    position: fixed;
    top: 0;
    right: -220px;
    width: 220px;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 999;
    padding: 80px 20px 30px;
    overflow-y: auto;
    transition: right 0.3s ease;
}

.landscape-menu.active {
    right: 0;
}

.landscape-menu a {
    display: block;
    color: white;
    padding: 15px 0;
    text-decoration: none;
    font-size: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.landscape-menu a:hover {
    color: #00d0ff;
    padding-left: 10px;
}

.checkboxes-group {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    font-weight: normal;
    cursor: pointer;
    gap: 8px;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin: 0;
    cursor: pointer;
}

.checkbox-label span {
    color: #555;
}

.success-popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2000;
    background: rgba(16, 185, 129, 0.9);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: popupSlideIn 0.5s ease;
    width: 80%;
    max-width: 500px;
}

@keyframes popupSlideIn {
    from {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0;
    }

    to {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
}

.success-popup svg {
    width: 120px;
    height: 120px;
    color: white;
    margin: 0 auto 20px;
    stroke-width: 1.5;
}

.success-popup p {
    color: white;
    font-size: 24px;
    font-weight: 500;
    line-height: 1.6;
}

.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    z-index: 1999;
}

.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    gap: 0;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
    z-index: 40;
    transition: box-shadow 0.3s ease;
}

.mobile-menu.active {
    display: flex;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

.mobile-menu a {
    padding: 16px 24px;
    color: #374151;
    border-bottom: 1px solid #eee;
    transition: background-color 0.2s;
}

.mobile-menu a:hover {
    background-color: #f3f4f6;
    color: var(--primary);
}

.icon-main {
    transition: opacity 0.3s ease;
}

.icon-eye {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.gallery-text {
    transition: opacity 0.3s ease, font-size 0.3s ease;
}

.phone-link {
    cursor: pointer;
}

.phone-link:hover {
    color: #FFEB99 !important;
    font-weight: bold;
}

footer a:hover,
footer button:hover {
    color: #00d0ffff !important;
}

footer .phone-link:hover {
    color: #FFEB99 !important;
    font-weight: bold;
}

footer button {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    color: inherit;
}

/* Newsletter input styles - Light mode */
#footerNewsletterForm input[type="email"] {
    background-color: #1e3a5f !important;
    border-color: #1e3a5f !important;
}

#footerNewsletterForm button {
    background-color: #1e3a5f !important;
    border-color: #1e3a5f !important;
}

#footerNewsletterForm button:hover {
    background-color: #2d5a8f !important;
}

/* Logos carousel */
.logos-slider {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.logos-track {
    display: flex;
    gap: 60px;
    animation: scroll 30s linear infinite;
    width: fit-content;
}

.logos-track:hover {
    animation-play-state: paused;
}

.logo-item {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s ease;
}

.logo-item:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}

.logo-item img {
    max-height: 80px;
    max-width: 200px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.logo-item img[src*="logo1.png"] {
    max-height: 120px;
    max-width: 300px;
}

.logo-item img[src*="logo4.png"] {
    max-height: 64px;
    max-width: 160px;
}

.logo-item img[src*="logo6.png"] {
    max-height: 85px;
    max-width: 213px;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Newsletter input - mode jour */
.newsletter-input-hero {
    background-color: rgba(0, 208, 255, 0.7) !important;
    border: 1px solid rgba(255, 255, 255, 0.5) !important;
}

/* Checkbox hero transparent en mode jour */
#heroNewsletterConsent {
    background-color: rgba(255, 255, 255, 0.2) !important;
    border: 2px solid rgba(255, 255, 255, 0.4) !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    margin-right: 5px;
}

#heroNewsletterConsent:checked {
    background-color: rgba(255, 255, 255, 0.2) !important;
    border: 2px solid rgba(255, 255, 255, 0.8) !important;
    background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e") !important;
    background-size: 100% 100% !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}

/* Portraits Franck et Vincent - Effet zoom au survol */
#apropos .relative.w-20.h-20 {
    transition: all 0.3s ease;
}

#apropos .relative.w-20.h-20 img,
#apropos .relative.w-20.h-20 .absolute {
    transition: transform 0.3s ease;
}

#apropos .relative.w-20.h-20:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

#apropos .relative.w-20.h-20:hover img,
#apropos .relative.w-20.h-20:hover .absolute {
    transform: scale(1.3) translateY(-3px);
}

/* Mode nuit */
@media (prefers-color-scheme: dark) {
    body {
        background-color: #0f172a !important;
    }

    .newsletter-input-hero {
        background-color: rgba(0, 208, 255, 0.7) !important;
        border: 1px solid rgba(0, 208, 255, 0.7) !important;
    }

    #heroNewsletterForm button[type="submit"] {
        background-color: rgba(255, 255, 255, 0.2) !important;
        border: 1px solid rgba(255, 255, 255, 0.4) !important;
        color: #ffffff !important;
    }

    #heroNewsletterForm button[type="submit"]:hover {
        background-color: rgba(255, 255, 255, 0.3) !important;
    }

    /* Checkbox hero transparent en mode nuit */
    #heroNewsletterConsent {
        background-color: rgba(255, 255, 255, 0.2) !important;
        border: 2px solid rgba(255, 255, 255, 0.4) !important;
        appearance: none !important;
        -webkit-appearance: none !important;
        -moz-appearance: none !important;
    }

    #heroNewsletterConsent:checked {
        background-color: rgba(255, 255, 255, 0.2) !important;
        border: 2px solid rgba(255, 255, 255, 0.8) !important;
        background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e") !important;
        background-size: 100% 100% !important;
        background-position: center !important;
        background-repeat: no-repeat !important;
    }

    /* Logos clients plus clairs en mode nuit */
    .logo-item {
        filter: grayscale(100%) brightness(1.8);
        opacity: 0.85;
    }

    .logo-item:hover {
        filter: grayscale(0%) brightness(1.2);
        opacity: 1;
    }

    .bg-white.bg-opacity-20 {
        background-color: rgba(255, 255, 255, 0.2) !important;
    }

    .bg-white.bg-opacity-30 {
        background-color: rgba(255, 255, 255, 0.3) !important;
    }

    .hero-overlay {
        background: linear-gradient(135deg, rgba(0, 180, 230, 0.8) 10%, rgba(16, 160, 120, 0.8) 50%, rgba(220, 200, 130, 0.8) 90%) !important;
    }

    header {
        background-color: #1e293b !important;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.5) !important;
    }

    header a,
    header h1,
    header p {
        color: #94a3b8 !important;
    }

    /* Alternance des fonds de sections en mode nuit */
    #services {
        background-color: #1e293b !important;
    }

    #realisations {
        background-color: #0f172a !important;
    }

    #processus {
        background-color: #1e293b !important;
    }

    /* Étapes du processus en mode nuit */
    #processus .bg-gray-50 {
        background-color: #2d3a4f !important;
    }

    #processus .text-gray-800 {
        color: #f1f5f9 !important;
    }

    #processus .text-gray-600 {
        color: #94a3b8 !important;
    }

    #processus .text-gray-500 {
        color: #94a3b8 !important;
    }

    #processus .bg-gray-100 {
        background-color: #334155 !important;
    }

    #apropos {
        background-color: #0f172a !important;
    }

    #tarifs {
        background-color: #0f172a !important;
    }

    #faq {
        background-color: #1e293b !important;
    }

    #contact {
        background-color: #0f172a !important;
    }

    section.bg-gray-50 {
        background-color: #1e293b !important;
    }

    section.bg-white {
        background-color: #0f172a !important;
    }

    /* FAQ et cartes de prix en mode nuit */
    #faq .bg-white {
        background-color: #2d3a4f !important;
    }

    #faq .bg-gray-50 {
        background-color: #1e293b !important;
    }

    #faq .hover\:bg-gray-50:hover {
        background-color: #334155 !important;
    }

    #faq .hover\:bg-gray-100:hover {
        background-color: #334155 !important;
    }

    .text-gray-800 {
        color: #94a3b8 !important;
    }

    .text-gray-600 {
        color: #94a3b8 !important;
    }

    .text-gray-700 {
        color: #94a3b8 !important;
    }

    .text-gray-300 {
        color: #94a3b8 !important;
    }

    .bg-gray-100 {
        background-color: #2d3a4f !important;
    }

    .border-gray-300 {
        border-color: #334155 !important;
    }

    .border-gray-700 {
        border-color: #334155 !important;
    }

    .hover\:text-primary:hover {
        color: #00d0ffff !important;
    }

    .price-card {
        background-color: #2d3a4f !important;
        border: 1px solid #2d3a4f !important;
    }

    .bg-white.rounded-lg {
        background-color: #2d3a4f !important;
        border: 1px solid #2d3a4f !important;
    }

    .mobile-menu {
        background-color: #1e293b !important;
    }

    .mobile-menu a {
        color: #94a3b8 !important;
        border-bottom-color: #334155 !important;
    }

    .mobile-menu a:hover {
        background-color: #334155 !important;
    }

    .modal-content {
        background-color: #1e293b !important;
        color: #94a3b8 !important;
    }

    .modal-fullscreen-content {
        background-color: #1e293b !important;
    }

    input,
    select,
    textarea {
        background-color: #334155 !important;
        border-color: #475569 !important;
        color: #94a3b8 !important;
    }

    input::placeholder,
    textarea::placeholder {
        color: #94a3b8 !important;
    }

    button.text-left {
        color: #94a3b8 !important;
        background: none !important;
    }

    button.text-left:hover {
        color: #00d0ffff !important;
    }

    .bg-white {
        background-color: #1e293b !important;
    }

    .faq-content {
        background-color: #1a2332 !important;
        color: #f1f5f9 !important;
    }

    .faq-content p {
        color: #f1f5f9 !important;
    }

    .faq-content h4 {
        color: #ffffff !important;
        font-weight: 700 !important;
    }

    .faq-button {
        background-color: #1e293b !important;
        color: #f1f5f9 !important;
        border: none !important;
    }

    .faq-button.active {
        background-color: #334155 !important;
        color: #ffffff !important;
    }

    .faq-content p {
        color: #94a3b8 !important;
    }

    .faq-content h4 {
        color: #f1f5f9 !important;
    }

    .faq-button.active {
        color: #94a3b8 !important;
        background-color: #334155 !important;
    }

    .faq-content .border-t {
        border-top-color: transparent !important;
    }

    .hover\:text-paleYellow:hover {
        color: #FFEB99 !important;
    }

    .checkbox-label span {
        color: white !important;
    }

    footer {
        background-color: #0f172a !important;
    }

    footer h3 {
        color: #94a3b8 !important;
    }

    footer p {
        color: #94a3b8 !important;
    }

    /* Newsletter input styles - Dark mode */
    #footerNewsletterForm input[type="email"] {
        background-color: #1e3a5f !important;
        border-color: #1e3a5f !important;
    }

    #footerNewsletterForm button {
        background-color: #1e3a5f !important;
        border-color: #1e3a5f !important;
    }

    #footerNewsletterForm button:hover {
        background-color: #2d5a8f !important;
    }

    /* Hero newsletter - Dark mode */
    #heroNewsletterForm input[type="email"] {
        background-color: rgba(0, 208, 255, 0.3) !important;
        color: white !important;
    }

    #heroNewsletterForm input[type="email"]::placeholder {
        color: rgba(255, 255, 255, 0.7) !important;
    }

    #heroNewsletterForm button {
        background-color: rgba(100, 116, 139, 0.3) !important;
        border-color: rgba(100, 116, 139, 0.5) !important;
    }

    #heroNewsletterForm button:hover {
        background-color: rgba(100, 116, 139, 0.4) !important;
    }

}


/* ---- Shared modal overlay ---- */
/* ---- Shared modal overlay ---- */
.ec-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

#ecPaymentOverlay {
    z-index: 11000;
}

.ec-overlay.active {
    display: flex;
}


/* ---------------------------------------------------------------
   COMPOSANTS PARTAGÉS (Admin + Espace Client)
   .ec-field, .ec-badge, animations pulse, drop zones, expand btn
   --------------------------------------------------------------- */

/* ---- Champ de formulaire commun ---- */
.ec-field {
    width: 100%;
    background: #ffffff;
    border: 1px solid #94a3b8;
    border-radius: 8px;
    padding: 0.5rem 0.75rem;
    font-size: 0.85rem;
    color: #1e293b;
    transition: all 0.2s;
}


/* ---- Badges statuts ---- */
.ec-badge {
    display: inline-flex;
    align-items: center;
    gap: 0;
    padding: 0 1rem;
    height: 31px;
    border-radius: 15.5px;
    font-size: 0.9rem;
    font-weight: 700;
    white-space: nowrap;
    line-height: normal;
    border: none !important;
}

.ec-badge-attente {
    background: #fef3c7;
    color: #92400e;
}

.ec-badge-paye {
    background: #d1fae5;
    color: #065f46;
}

.ec-badge-envoyer {
    background: #fef9c3;
    color: #854d0e;
    padding: 0.4rem 1rem;
    font-size: 0.9rem;
    border-radius: 999px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    white-space: nowrap;
}

@keyframes ec-chevron-bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(3.5px);
    }
}

@keyframes ec-pulse-blue {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 208, 255, 0.9);
    }

    70% {
        box-shadow: 0 0 0 12px rgba(0, 208, 255, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(0, 208, 255, 0);
    }
}

@keyframes ec-pulse-cyan {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 208, 255, 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(0, 208, 255, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(0, 208, 255, 0);
    }
}

@keyframes ec-pulse-indigo {
    0% {
        box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.5);
    }

    70% {
        box-shadow: 0 0 0 8px rgba(99, 102, 241, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(99, 102, 241, 0);
    }
}

@keyframes ec-pulse-pink {
    0% {
        box-shadow: 0 0 0 0 rgba(236, 72, 153, 0.5);
    }

    70% {
        box-shadow: 0 0 0 8px rgba(236, 72, 153, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(236, 72, 153, 0);
    }
}

@keyframes ec-pulse-amber {
    0% {
        box-shadow: 0 0 0 0 rgba(251, 191, 36, 0.5);
    }

    70% {
        box-shadow: 0 0 0 8px rgba(251, 191, 36, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(251, 191, 36, 0);
    }
}

@keyframes ec-pulse-teal {
    0% {
        box-shadow: 0 0 0 0 rgba(20, 184, 166, 0.5);
    }

    70% {
        box-shadow: 0 0 0 8px rgba(20, 184, 166, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(20, 184, 166, 0);
    }
}

@keyframes ec-pulse-purple {
    0% {
        box-shadow: 0 0 0 0 rgba(168, 85, 247, 0.5);
    }

    70% {
        box-shadow: 0 0 0 8px rgba(168, 85, 247, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(168, 85, 247, 0);
    }
}

/* ---- Animations pulse ---- */
.ec-pulse-blue {
    animation: ec-pulse-blue 2s infinite;
    background: #00D0FF !important;
}

.ec-pulse-indigo {
    animation: ec-pulse-indigo 2.5s infinite;
}

.ec-pulse-pink {
    animation: ec-pulse-pink 2.5s infinite;
}

.ec-pulse-amber {
    animation: ec-pulse-amber 2.5s infinite;
}

.ec-pulse-cyan {
    animation: ec-pulse-cyan 2.5s infinite;
}

.ec-pulse-teal {
    animation: ec-pulse-teal 2.5s infinite;
}

.ec-pulse-purple {
    animation: ec-pulse-purple 2.5s infinite;
}

/* ---- Drop zones & upload ---- */
.ec-drop-zone .feather,
.ec-upload-icon-frame .feather,
.ec-upload-icon-box .feather {
    stroke-width: 2.5px !important;
}

.ec-upload-icon-frame,
.ec-upload-icon-box {
    border-width: 0.5px !important;
}

.ec-drop-zone {
    border: 1px dashed #94a3b8;
    border-radius: 12px;
    padding: 10px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    background: transparent;
    height: 86px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

/* Hover indigo pour archive */
.ec-drop-zone-indigo {
    border-color: #6366f1;
    background: rgba(99, 102, 241, 0.03) !important;
}

.ec-drop-zone-indigo:hover {
    border-color: #6366f1;
    background: rgba(99, 102, 241, 0.07) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.15);
    animation: ec-pulse-indigo 2.5s infinite;
}

/* Hover blue pour signature */
.ec-drop-zone-blue {
    border-color: #3b82f6;
    background: rgba(59, 130, 246, 0.03) !important;
}

.ec-drop-zone-blue:hover {
    border-color: #3b82f6;
    background: rgba(59, 130, 246, 0.07) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
    animation: ec-pulse-blue 2.5s infinite;
}


/* Hover rose pour facture */
.ec-drop-zone-pink {
    border-color: #ec4899;
    background: rgba(236, 72, 153, 0.03) !important;
}

.ec-drop-zone-pink:hover {
    border-color: #ec4899;
    background: rgba(236, 72, 153, 0.07) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(236, 72, 153, 0.15);
    animation: ec-pulse-pink 2.5s infinite;
}

/* Hover ambre pour lettre signée */
.ec-drop-zone-amber {
    border-color: #fbbf24;
    background: rgba(251, 191, 36, 0.03) !important;
}

.ec-drop-zone-amber:hover {
    border-color: #fbbf24;
    background: rgba(251, 191, 36, 0.07) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(251, 191, 36, 0.15);
    animation: ec-pulse-amber 2.5s infinite;
}

/* Hover teal pour correspondance */
.ec-drop-zone-teal {
    border-color: #14b8a6;
    background: rgba(20, 184, 166, 0.03) !important;
}

.ec-drop-zone-teal:hover {
    border-color: #14b8a6;
    background: rgba(20, 184, 166, 0.07) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(20, 184, 166, 0.15);
    animation: ec-pulse-teal 2.5s infinite;
}

/* Hover purple pour documentation */
.ec-drop-zone-purple {
    border-color: #a855f7;
    background: rgba(168, 85, 247, 0.03) !important;
}

.ec-drop-zone-purple:hover {
    border-color: #a855f7;
    background: rgba(168, 85, 247, 0.07) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(168, 85, 247, 0.15);
    animation: ec-pulse-purple 2.5s infinite;
}

.ec-upload-icon-frame {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 8px;
    position: relative;
    flex-shrink: 0;
}

.ec-upload-icon-frame-indigo {
    background: rgba(99, 102, 241, 0.07);
    color: #6366f1;
    border: 1px solid #6366f1;
}

.ec-upload-icon-frame-blue {
    background: rgba(59, 130, 246, 0.07);
    color: #3b82f6;
    border: 1px solid #3b82f6;
}

.ec-upload-icon-frame-pink {
    background: rgba(236, 72, 153, 0.07);
    color: #ec4899;
    border: 1px solid #ec4899;
}

.ec-upload-icon-frame-amber {
    background: rgba(251, 191, 36, 0.07);
    color: #fbbf24;
    border: 1px solid #fbbf24;
}

.ec-upload-icon-frame-teal {
    background: rgba(20, 184, 166, 0.07);
    color: #14b8a6;
    border: 1px solid #14b8a6;
}

.ec-upload-icon-frame-purple {
    background: rgba(168, 85, 247, 0.07);
    color: #a855f7;
    border: 1px solid #a855f7;
}

.ec-check-badge {
    position: absolute;
    bottom: -4px;
    right: -4px;
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    z-index: 2;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.ec-upload-icon-frame-teal .ec-check-badge {
    background: #f0fdfa;
    border: 1.5px solid #14b8a6;
}

.ec-upload-icon-frame-purple .ec-check-badge {
    background: #faf5ff;
    border: 1.5px solid #a855f7;
}

.ec-upload-icon-frame-indigo .ec-check-badge {
    background: #eef2ff;
    border: 1.5px solid #6366f1;
}

.ec-upload-icon-frame-pink .ec-check-badge {
    background: #fdf2f8;
    border: 1.5px solid #ec4899;
}


.ec-upload-icon-frame-amber .ec-check-badge {
    background: #fffbeb;
    border: 1.5px solid #fbbf24;
}

/* ---- Download Badge (Admin) ---- */
.ec-download-badge {
    position: absolute;
    top: -12px;
    right: -12px;
    background: #4338ca;
    color: white;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    border: 2px solid #fff;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    z-index: 20;
}

.ec-download-badge-pink {
    background: #db2777;
}


.ec-dz-inner {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
}

@media (max-width: 640px) {
    .ec-dz-inner {
        flex-direction: column;
        align-items: center;
        gap: 6px;
        text-align: center;
    }

    .ec-upload-icon-frame {
        margin-right: 0 !important;
    }
}

.ec-progress-bar {
    height: 6px;
    background: #94a3b8;
    border-radius: 3px;
    overflow: hidden;
    margin-top: 8px;
    display: none;
}

.ec-progress-bar-inner {
    height: 100%;
    background: #6366f1;
    width: 0%;
    transition: width 0.1s;
}

/* ---- Bouton expand / collapse ---- */
.ec-expand-btn {
    position: relative;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: none;
    color: #6b7280;
    z-index: 10;
    width: 31px;
    height: 31px;
    border-radius: 50%;
}



.ec-expand-btn:hover {
    color: #4f46e5;
}

.ec-expand-btn.ec-expanded {
    transform: rotate(180deg);
    background: transparent;
    border-color: transparent;
    box-shadow: none;
    color: #64748b;
}

/* ---------------------------------------------------------------
   SECTION 3 : Animations modal / composants secondaires
   --------------------------------------------------------------- */
/* STYLES BANDEAU DÉFILANT - ACTIVÉS */
@keyframes scrollText {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.banner-scroll {
    overflow: hidden;
    background: rgba(255, 235, 153, 0.5);
    padding: 0.75rem;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 30;
}

.banner-scroll-text {
    white-space: nowrap;
    color: black;
    font-size: 1rem;
    animation: scrollText 50s linear infinite;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    z-index: 0;
}

.banner-icon {
    width: 1.25rem;
    height: 1.25rem;
    color: black;
    flex-shrink: 0;
}

@media (min-width: 769px) {
    .hero-content-mobile {
        transform: translateY(6.25rem) !important;
    }

    .hero-newsletter-form-mobile {
        margin-top: 6.25rem !important;
    }
}

@media (min-width: 769px) {
    .hero-logo-mobile {
        width: 150px !important;
        height: 150px !important;
    }
}

@media (max-width: 768px) {
    .hero-content-mobile {
        margin-top: 23vh !important;
        transform: translateY(-3.125rem) !important;
    }

    .hero-logo-mobile {
        width: 100px !important;
        height: 100px !important;
    }

    .hero-title-mobile {
        font-size: 1.875rem !important;
        margin-bottom: 0.75rem !important;
    }

    .realisations-watermark {
        width: 9vw !important;
        height: 9vw !important;
        bottom: 20px !important;
        left: 20px !important;
    }

    .hero-consent-container {
        max-width: 300px !important;
        justify-content: center !important;
    }

    .hero-consent-checkbox {
        margin-right: 0px !important;
        margin-left: 0px !important;
    }

    .hero-consent-label {
        max-width: 185px !important;
        line-height: 1.1 !important;
    }

    .hero-consent-table {
        width: 240px !important;
    }

    .hero-content-mobile p {
        margin-bottom: 1.5rem !important;
    }

    .hero-buttons-mobile {
        padding-top: 0.8rem !important;
        padding-bottom: 0.8rem !important;
    }

    .hero-newsletter-form-mobile {
        margin-top: 4.625rem !important;
    }

    .hero-newsletter-form-mobile p {
        margin-bottom: 0.4rem !important;
    }

    .hero-button-text {
        display: none !important;
    }

    .hero-button-text-mobile {
        display: inline !important;
    }

    .hero-newsletter-form-mobile input[type="email"] {
        width: 180px !important;
        padding: 0.4rem 0.6rem !important;
        font-size: 0.8rem !important;
    }

    .hero-newsletter-form-mobile button {
        padding: 0.4rem 0.8rem !important;
        font-size: 0.8rem !important;
    }

    .hero-newsletter-form-mobile form div {
        gap: 0.5rem !important;
    }
}

/* Effet hover sur les boutons hero */
.hero-buttons-mobile:hover span:first-of-type {
    opacity: 0.15 !important;
}

/* Effet dynamique subtil sur le titre hero */
.hero-title-animated {
    color: #ffffff;
    animation: hero-title-glow 4s ease-in-out infinite;
    letter-spacing: 0.02em;
}

@keyframes hero-title-glow {

    0%,
    100% {
        text-shadow: 0 0 20px rgba(255, 255, 255, 0.3),
            0 0 40px rgba(96, 165, 250, 0.2);
        transform: scale(1);
    }

    50% {
        text-shadow: 0 0 30px rgba(255, 255, 255, 0.5),
            0 0 60px rgba(96, 165, 250, 0.4),
            0 0 80px rgba(96, 165, 250, 0.2);
        transform: scale(1.02);
    }
}

/* Animation des icônes processus */
.processus-step-icon {
    opacity: 0;
    transition: opacity 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.processus-step-icon.animate-in {
    opacity: 1;
}

.processus-step-icon i,
.processus-step-icon svg {
    transform: scale(0.5) rotate(-180deg);
    transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.3));
}

.processus-step-icon.animate-in i,
.processus-step-icon.animate-in svg {
    transform: scale(1) rotate(0deg);
}

/* Animation en onde d'inclinaison pour les icônes centrales */
@keyframes wave-tilt {

    0%,
    100% {
        transform: rotate(0deg);
    }

    50% {
        transform: rotate(15deg);
    }
}

/* Animation du bandeau/ring autour des cercles */
@keyframes wave-ring {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4),
            0 0 0 0 rgba(255, 255, 255, 0.2);
    }

    50% {
        box-shadow: 0 0 0 8px rgba(255, 255, 255, 0.2),
            0 0 0 16px rgba(255, 255, 255, 0.1);
    }
}

/* Application de l'animation aux icônes (i et svg) à l'intérieur des cercles */
#processus-icon-1 i,
#processus-icon-1 svg {
    animation: wave-tilt 1.8s ease-in-out infinite;
    animation-delay: 0s;
    transform-origin: center;
}

#processus-icon-1 {
    animation: wave-ring 1.8s ease-in-out infinite;
    animation-delay: 0s;
}

#processus-icon-2 i,
#processus-icon-2 svg {
    animation: wave-tilt 1.8s ease-in-out infinite;
    animation-delay: 0.25s;
    transform-origin: center;
}

#processus-icon-2 {
    animation: wave-ring 1.8s ease-in-out infinite;
    animation-delay: 0.25s;
}

#processus-icon-3 i,
#processus-icon-3 svg {
    animation: wave-tilt 1.8s ease-in-out infinite;
    animation-delay: 0.5s;
    transform-origin: center;
}

#processus-icon-3 {
    animation: wave-ring 1.8s ease-in-out infinite;
    animation-delay: 0.5s;
}

#processus-icon-4 i,
#processus-icon-4 svg {
    animation: wave-tilt 1.8s ease-in-out infinite;
    animation-delay: 0.75s;
    transform-origin: center;
}

#processus-icon-4 {
    animation: wave-ring 1.8s ease-in-out infinite;
    animation-delay: 0.75s;
}

#processus-icon-5 i,
#processus-icon-5 svg {
    animation: wave-tilt 1.8s ease-in-out infinite;
    animation-delay: 1.0s;
    transform-origin: center;
}

#processus-icon-5 {
    animation: wave-ring 1.8s ease-in-out infinite;
    animation-delay: 1.0s;
}

#processus-icon-6 i,
#processus-icon-6 svg {
    animation: wave-tilt 1.8s ease-in-out infinite;
    animation-delay: 1.25s;
    transform-origin: center;
}

#processus-icon-6 {
    animation: wave-ring 1.8s ease-in-out infinite;
    animation-delay: 1.25s;
}

#processus-icon-7 i,
#processus-icon-7 svg {
    animation: wave-tilt 1.8s ease-in-out infinite;
    animation-delay: 1.5s;
    transform-origin: center;
}

#processus-icon-7 {
    animation: wave-ring 1.8s ease-in-out infinite;
    animation-delay: 1.5s;
}

/* ---------------------------------------------------------------
   SECTION 4 : Styles PDF / impression / divers
   --------------------------------------------------------------- */
.cta-sticky-container {
    position: fixed;
    bottom: 150px;
    right: -8px;
    z-index: 1000;
    transition: right 0.3s ease;
}

.cta-sticky-container:hover {
    right: 0;
}

.cta-sticky-container.expanded {
    right: 0;
}

.cta-sticky {
    width: 56px;
    height: 56px;
    background: rgba(0, 208, 255, 0.9);
    border-radius: 28px 0 0 28px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: -4px 0 12px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    transition: all 0.4s ease;
    animation: pulse-discrete 3s ease-in-out infinite;
    opacity: 1;
    transform: scale(1);
}

.cta-sticky-container.expanded .cta-sticky {
    opacity: 0;
    transform: scale(0.5);
    pointer-events: none;
}

.cta-sticky i,
.cta-sticky svg {
    width: 24px;
    height: 24px;
    color: white !important;
    stroke: white !important;
}

@keyframes pulse-discrete {

    0%,
    100% {
        box-shadow: -4px 0 12px rgba(0, 0, 0, 0.15);
        background: rgba(0, 208, 255, 0.9);
        transform: scale(1);
    }

    50% {
        box-shadow: -4px 0 12px rgba(0, 0, 0, 0.15),
            0 0 0 8px rgba(0, 208, 255, 0.4),
            0 0 0 14px rgba(0, 208, 255, 0.3);
        background: rgba(0, 208, 255, 1);
        transform: scale(1.1);
    }
}

.cta-menu {
    position: absolute;
    bottom: -30px;
    right: 0;
    background: white;
    border-radius: 28px 0 0 28px;
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.15);
    padding: 0;
    min-width: 56px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.cta-menu.active {
    opacity: 1;
    visibility: visible;
    min-width: 280px;
    padding: 12px;
}

.cta-menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    color: #1f2937;
    opacity: 0;
    transform: translateX(20px);
    pointer-events: none;
}

.cta-menu.active .cta-menu-item {
    opacity: 1;
    transform: translateX(0);
}

.cta-menu.clickable .cta-menu-item {
    pointer-events: auto;
}

.cta-menu.active .cta-menu-item:nth-child(1) {
    transition-delay: 0.1s;
}

.cta-menu.active .cta-menu-item:nth-child(3) {
    transition-delay: 0.15s;
}

.cta-menu.active .cta-menu-item:nth-child(5) {
    transition-delay: 0.2s;
}

.cta-menu-item:hover {
    background: #f3f4f6;
}

.cta-menu-item i,
.cta-menu-item svg {
    width: 20px;
    height: 20px;
    color: #00D0FF !important;
    stroke: #00D0FF !important;
    flex-shrink: 0;
}

.cta-menu-item-content {
    flex: 1;
}

.cta-menu-item-title {
    font-weight: 600;
    font-size: 14px;
    color: #1f2937;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.cta-menu-item-subtitle {
    font-size: 12px;
    color: #6b7280;
    margin-top: 2px;
}

/* Mode nuit pour le menu CTA - Media Query */
@media (prefers-color-scheme: dark) {
    .cta-menu {
        background: #1f2937;
        box-shadow: -4px 0 24px rgba(0, 0, 0, 0.4);
    }

    .cta-menu-item {
        color: #f3f4f6;
    }

    .cta-menu-item:hover {
        background: #374151;
    }

    .cta-menu-item-title {
        color: #f3f4f6;
    }

    .cta-menu-item-subtitle {
        color: #9ca3af;
    }

    .cta-menu-divider {
        background: #4b5563;
    }
}

.cta-phone-link.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

.cta-phone-link.disabled .cta-menu-item-subtitle::after {
    content: " (Fermé)";
    font-style: italic;
    color: #ef4444;
}

.cta-menu-divider {
    height: 1px;
    background: #94a3b8;
    margin: 8px 0;
}

/* Responsive mobile */
@media (max-width: 768px) {
    .cta-sticky-container {
        bottom: 170px;
        right: 0;
    }

    .cta-sticky-container.expanded {
        right: 0;
    }

    .cta-sticky {
        width: 48px;
        height: 48px;
        border-radius: 24px 0 0 24px;
    }

    .cta-sticky i,
    .cta-sticky svg {
        width: 22px;
        height: 22px;
    }

    .cta-menu {
        min-width: 48px;
        bottom: 0 !important;
        right: 0 !important;
        border-radius: 24px 0 0 24px !important;
    }

    .cta-menu.active {
        min-width: 220px !important;
        padding: 6px !important;
        pointer-events: none;
    }

    .cta-menu.active.clickable {
        pointer-events: auto;
    }

    .cta-menu-item {
        padding: 8px 10px;
        gap: 8px;
    }

    .cta-menu-item i,
    .cta-menu-item svg {
        width: 18px;
        height: 18px;
    }

    .cta-menu-item-title {
        font-size: 13px;
    }

    .cta-menu-item-subtitle {
        font-size: 11px;
    }

    .cta-menu-divider {
        margin: 6px 0;
    }
}