/* NAVAL Production - thème : sombre */

/* =====================================================================
   Thème "Sombre" - NAVAL Production (fichier généré, ne pas éditer)
   Couches : actuel.css + sombre.overrides.css
   Régénérer avec : php naval_prive/outils/build_themes.php sombre
   ===================================================================== */

/* ---- actuel.css ---- */
/* =====================================================================
   Thème "Actuel" - NAVAL Production
   Habillage d'origine du site : fond clair, dégradé de la marque, cartes arrondies.
   Chargé via assets/theme.css (voir includes/theme.php).
   ===================================================================== */

:root {
    --naval-orange: #ff6b35;
    --naval-pink: #e91e63;
    --naval-purple: #9c27b0;
    --naval-blue: #2196f3;
    --naval-dark: #2c2c54;
    --naval-gradient: linear-gradient(135deg, #ff6b35, #e91e63, #9c27b0, #2196f3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

header {
    background: var(--naval-dark);
    color: white;
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(44, 44, 84, 0.3);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.8rem;
    font-weight: bold;
    background: var(--naval-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-icon {
    width: 72px;
    height: 72px;
    background: transparent;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    background-image: url('../logo-nav.png');
    background-image: image-set(url('../logo-nav.webp') type('image/webp'), url('../logo-nav.png') type('image/png'));
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.logo-icon.no-logo {
    background-image: none;
    background: var(--naval-gradient);
    width: 50px;
    height: 50px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.nav-links a:hover {
    background: var(--naval-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.admin-btn {
    background: var(--naval-gradient) !important;
    padding: 0.5rem 1rem !important;
    border-radius: 20px !important;
    color: white !important;
    -webkit-text-fill-color: white !important;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: white;
    margin: 3px 0;
    transition: 0.3s;
}

.hero {
    background: var(--naval-dark);
    background-image: url('../fond1.jpg');
    background-image: -webkit-image-set(url('../fond1.webp') 1x, url('../fond1.jpg') 1x);
    background-image: image-set(url('../fond1.webp') type('image/webp'), url('../fond1.jpg') type('image/jpeg'));
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(44, 44, 84, 0.6);
    animation: gradientShift 8s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% { opacity: 0.1; }
    50% { opacity: 0.2; }
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 0 1.5rem;
    max-width: 100%;
    box-sizing: border-box;
}

.hero-logo {
    display: block;
    width: 180px;
    height: 180px;
    margin: 0 auto 1.2rem;
    filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.45));
}
.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: bold;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

.cta-button.cta-secondary {
    background: rgba(255, 255, 255, 0.12);
    border: 2px solid rgba(255, 255, 255, 0.8);
    margin-left: 0.8rem;
}

.hero-tagline {
    display: block;
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 0.75rem;
    color: #fff;
}

.section-intro {
    max-width: 850px;
    margin: -1.5rem auto 2.5rem;
    text-align: center;
    color: #555;
    font-size: 1.1rem;
    line-height: 1.7;
}

#faq {
    background: #f5f6fa;
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 15px;
    margin-bottom: 1rem;
    box-shadow: 0 5px 20px rgba(44, 44, 84, 0.08);
    overflow: hidden;
}

.faq-item summary {
    cursor: pointer;
    padding: 1.2rem 3rem 1.2rem 1.5rem;
    font-weight: bold;
    font-size: 1.1rem;
    color: var(--naval-dark);
    list-style: none;
    position: relative;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.6rem;
    color: var(--naval-orange);
}

.faq-item[open] summary::after {
    content: '−';
}

.faq-item p {
    padding: 0 1.5rem 1.2rem;
    color: #555;
    line-height: 1.7;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    font-weight: bold;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

.cta-button {
    display: inline-block;
    background: var(--naval-gradient);
    color: white;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: all 0.3s;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.4);
}

section {
    padding: 4rem 2rem;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
}

h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--naval-dark);
    position: relative;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--naval-gradient);
    border-radius: 2px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(44, 44, 84, 0.1);
    text-align: center;
    transition: all 0.3s;
    position: relative;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--naval-gradient);
    border-radius: 20px 20px 0 0;
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(44, 44, 84, 0.2);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--naval-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 2rem;
    color: white;
}

/* Barre de Recherche */
.search-container {
    max-width: 600px;
    margin: 0 auto 2rem;
}

.search-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background: white;
    border: 2px solid var(--naval-blue);
    border-radius: 30px;
    padding: 0.5rem 1rem;
    transition: all 0.3s;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.search-wrapper:focus-within {
    border-color: var(--naval-orange);
    box-shadow: 0 5px 20px rgba(255, 107, 53, 0.3);
    transform: translateY(-2px);
}

.search-icon {
    font-size: 1.2rem;
    margin-right: 0.5rem;
    color: var(--naval-blue);
}

.search-input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 1rem;
    padding: 0.5rem;
    background: transparent;
    color: var(--naval-dark);
}

.search-input::placeholder {
    color: #999;
}

.clear-search {
    background: var(--naval-gradient);
    color: white;
    border: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    font-weight: bold;
}

.clear-search:hover {
    transform: rotate(90deg) scale(1.1);
    box-shadow: 0 3px 10px rgba(255, 107, 53, 0.4);
}

.search-results {
    text-align: center;
    margin-top: 0.75rem;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.1), rgba(233, 30, 99, 0.1));
    border-radius: 20px;
    color: var(--naval-dark);
    font-weight: bold;
    animation: slideUp 0.3s ease;
}

.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: #f8f9fa;
    border: 2px solid var(--naval-blue);
    color: var(--naval-blue);
    padding: 0.7rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: bold;
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--naval-gradient);
    color: white;
    border-color: transparent;
    transform: translateY(-2px);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    aspect-ratio: 1;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    background: white;
}

.gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(255, 107, 53, 0.3);
}

.gallery-item img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    position: relative;
    z-index: 1;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.5s ease;
}

.gallery-item img.lazy-loading {
    opacity: 0;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

.gallery-caption-sr {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.gallery-item img.lazy-loaded {
    opacity: 1 !important;
}

@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.92), rgba(233, 30, 99, 0.92), rgba(156, 39, 176, 0.92), rgba(33, 150, 243, 0.92));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
    color: white;
    text-align: center;
    padding: 1.5rem;
    z-index: 2;
    pointer-events: none;
    cursor: pointer;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay h3 {
    font-size: 1.3rem;
    margin: 0;
    font-weight: bold;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    animation: slideUp 0.4s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Slider Comparatif Avant/Après */
.comparison-slider {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 15px;
    background: #f0f0f0;  /* Fond neutre pour voir si les images se chargent */
}

.comparison-slider .before-image,
.comparison-slider .after-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.comparison-slider .after-image {
    clip-path: inset(0 0 0 50%);
}

.comparison-slider-handle {
    position: absolute;
    top: 0;
    left: 50%;
    width: 4px;
    height: 100%;
    background: white;
    cursor: ew-resize;
    z-index: 10;
    transform: translateX(-50%);
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
}

.comparison-slider-handle::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.comparison-slider-handle::after {
    content: '⬌';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.5rem;
    color: var(--naval-dark);
    font-weight: bold;
    z-index: 1;
}

.comparison-badge {
    position: absolute;
    top: 15px;
    background: linear-gradient(135deg, #ff6b35, #e91e63);
    color: white;
    padding: 0.5rem 1rem;
    font-weight: bold;
    font-size: 0.9rem;
    z-index: 5;
    border-radius: 25px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.comparison-badge.before {
    left: 15px;
}

.comparison-badge.after {
    right: 15px;
}

.comparison-labels {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
    z-index: 5;
}

.comparison-label {
    background: rgba(44, 44, 84, 0.9);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: bold;
    backdrop-filter: blur(5px);
}

.comparison-label.before {
    background: rgba(220, 53, 69, 0.9);
}

.comparison-label.after {
    background: rgba(40, 167, 69, 0.9);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(44, 44, 84, 0.1);
    position: relative;
}

.contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--naval-gradient);
    border-radius: 20px 20px 0 0;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.form-group textarea {
    height: 120px;
    resize: vertical;
}

.submit-btn {
    background: var(--naval-gradient);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: bold;
    transition: all 0.3s;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4);
}

.contact-info h3 {
    color: var(--naval-dark);
    margin-bottom: 1rem;
}

.contact-info p {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

footer {
    background: var(--naval-dark);
    color: white;
    padding: 3rem 2rem 2rem;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    background: var(--naval-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-section p,
.footer-section a {
    color: #ccc;
    text-decoration: none;
    line-height: 1.8;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: white;
    background: var(--naval-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
}

.footer-links a {
    padding: 0.3rem 0;
    border-bottom: 1px solid transparent;
}

.footer-links a:hover {
    border-bottom-color: var(--naval-orange);
}

.footer-bottom {
    border-top: 1px solid #444;
    padding-top: 1rem;
    text-align: center;
    color: #999;
    font-size: 0.9rem;
}

.footer-bottom p {
    margin-bottom: 0.5rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-icons a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: var(--naval-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    transition: transform 0.3s;
}

.social-icons a:hover {
    transform: translateY(-3px);
}

/* Lightbox Améliorée */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.95);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease;
}

.lightbox-content {
    max-width: 95vw;
    max-height: 95vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.lightbox img#lightboxImg {
    max-width: 90vw;
    max-height: 75vh;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 10px 50px rgba(0,0,0,0.5);
    animation: zoomIn 0.3s ease;
}

/* Slider comparatif dans la lightbox */
.lightbox .comparison-slider {
    width: 90vw;
    height: 75vh;
    max-width: 1200px;
    border-radius: 10px;
    box-shadow: 0 10px 50px rgba(0,0,0,0.5);
}

.lightbox .comparison-slider img {
    max-width: none !important;
    max-height: none !important;
    animation: none !important;
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.lightbox-info {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.95), rgba(233, 30, 99, 0.95), rgba(156, 39, 176, 0.95));
    color: white;
    padding: 1.5rem 2rem;
    border-radius: 15px;
    margin-top: 1.5rem;
    max-width: 90vw;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
}

.lightbox-info h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.5rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.lightbox-info p {
    margin: 0 0 0.5rem 0;
    font-size: 1rem;
    opacity: 0.95;
}

#lightboxCounter {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 3rem;
    cursor: pointer;
    background: rgba(255,255,255,0.1);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transition: all 0.3s;
    z-index: 10001;
}

.lightbox-close:hover {
    background: rgba(255, 107, 53, 0.9);
    transform: rotate(90deg);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.1);
    color: white;
    border: none;
    font-size: 3rem;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
}

.lightbox-nav:hover {
    background: linear-gradient(135deg, #ff6b35, #e91e63);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

@media (max-width: 768px) {
    .lightbox-nav {
        width: 45px;
        height: 45px;
        font-size: 2rem;
    }

    .lightbox-close {
        width: 40px;
        height: 40px;
        font-size: 2rem;
        top: 10px;
        right: 10px;
    }

    .lightbox-info {
        padding: 1rem;
        margin-top: 1rem;
    }

    .lightbox-info h3 {
        font-size: 1.2rem;
    }

    .lightbox-info p {
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--naval-dark);
        flex-direction: column;
        padding: 1rem;
    }

    .nav-links.active {
        display: flex;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-logo {
        width: 120px;
        height: 120px;
        margin-bottom: 0.8rem;
    }
    .hero-tagline {
        font-size: 1.1rem;
    }

    .search-container {
        max-width: 100%;
        padding: 0 1rem;
    }

    .search-wrapper {
        padding: 0.4rem 0.8rem;
    }

    .search-input {
        font-size: 0.9rem;
    }

    .search-icon {
        font-size: 1rem;
    }

    .search-results {
        font-size: 0.9rem;
        padding: 0.4rem 0.8rem;
    }

    .contact-container {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
    }
}

/* ===== Pages secondaires (peinture à distance, devis en ligne) ===== */
.hero.hero-small {
    height: auto;
    min-height: 52vh;
    padding: 8rem 2rem 4rem;
}

.hero-small .hero-content {
    max-width: 900px;
}

.breadcrumb {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem 0;
    font-size: 0.95rem;
    color: #666;
}

.breadcrumb ol {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.breadcrumb li + li::before {
    content: "›";
    margin-right: 0.4rem;
    color: #999;
}

.breadcrumb a {
    color: var(--naval-purple);
    text-decoration: none;
}

.content-narrow {
    max-width: 900px;
    margin: 0 auto;
}

.content-narrow p,
.content-narrow li {
    color: #444;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.content-narrow ul {
    padding-left: 1.4rem;
}

.content-narrow h3 {
    color: var(--naval-dark);
    margin: 2rem 0 1rem;
    font-size: 1.4rem;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    counter-reset: etape;
}

.step-card {
    background: white;
    border-radius: 20px;
    padding: 2rem 1.8rem 1.8rem;
    box-shadow: 0 10px 30px rgba(44, 44, 84, 0.1);
    position: relative;
}

.step-card::before {
    counter-increment: etape;
    content: counter(etape);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--naval-gradient);
    color: white;
    font-weight: bold;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.step-card h3 {
    color: var(--naval-dark);
    margin-bottom: 0.6rem;
    font-size: 1.15rem;
}

.step-card p {
    color: #555;
    line-height: 1.7;
}

.service-card a.card-link {
    display: inline-block;
    margin-top: 1rem;
    color: var(--naval-pink);
    font-weight: bold;
    text-decoration: none;
}

.checklist {
    list-style: none;
    padding: 0;
}

.checklist li {
    padding-left: 2rem;
    position: relative;
}

.checklist li::before {
    content: "✔";
    position: absolute;
    left: 0;
    color: var(--naval-orange);
    font-weight: bold;
}

.cta-band {
    background: var(--naval-dark);
    color: white;
    text-align: center;
}

.cta-band h2 {
    color: white;
    margin-bottom: 1rem;
}

.cta-band p {
    max-width: 700px;
    margin: 0 auto 2rem;
    color: #d8d8e6;
    font-size: 1.1rem;
}

.section-alt {
    background: #f5f6fa;
}

/* Formulaire de devis */
.devis-form {
    max-width: 900px;
    margin: 0 auto;
}

.devis-form fieldset {
    border: none;
    background: white;
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 10px 30px rgba(44, 44, 84, 0.1);
}

.devis-form legend {
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--naval-dark);
    padding: 0 0.5rem;
}

.devis-form .form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem 1.5rem;
}

.choice-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 0.8rem;
    margin-bottom: 1.2rem;
}

.choice-grid label {
    display: block;
    border: 2px solid #e4e4ee;
    border-radius: 15px;
    padding: 1rem 0.6rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    font-weight: 600;
    color: var(--naval-dark);
}

.choice-grid label .choice-icon {
    display: block;
    font-size: 1.8rem;
    margin-bottom: 0.3rem;
}

.choice-grid input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.choice-grid input:checked + label,
.choice-grid label:has(input:checked) {
    border-color: var(--naval-pink);
    background: #fff4f8;
    box-shadow: 0 5px 15px rgba(233, 30, 99, 0.15);
}

.choice-grid input:focus-visible + label,
.choice-grid label:has(input:focus-visible) {
    outline: 3px solid var(--naval-blue);
}

.check-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 0.5rem 1rem;
    margin-bottom: 1.2rem;
}

.check-list label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #444;
    cursor: pointer;
}

.check-list input {
    width: 18px;
    height: 18px;
    accent-color: var(--naval-pink);
}

.form-help {
    font-size: 0.9rem;
    color: #777;
    margin-top: -0.4rem;
    margin-bottom: 1rem;
}

.rgpd-line {
    display: flex;
    gap: 0.6rem;
    align-items: flex-start;
    font-size: 0.95rem;
    color: #555;
    margin: 1rem 0 1.5rem;
}

.rgpd-line input {
    margin-top: 0.3rem;
    width: 18px;
    height: 18px;
    accent-color: var(--naval-pink);
}

.form-message {
    display: none;
    padding: 1rem 1.2rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    font-weight: bold;
}

.form-message.success {
    display: block;
    background: #e8f7ee;
    color: #1d6b3a;
}

.form-message.error {
    display: block;
    background: #fdecec;
    color: #8a1c1c;
}

.photo-list {
    font-size: 0.9rem;
    color: #555;
    margin-top: 0.5rem;
}

@media (max-width: 768px) {
    .hero.hero-small {
        min-height: 0;
        padding: 7rem 1.5rem 3rem;
    }

    .devis-form fieldset {
        padding: 1.4rem;
    }
}

/* Ajustements pages secondaires */
.steps-grid {
    max-width: 1150px;
    margin-left: auto;
    margin-right: auto;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

section[id] {
    scroll-margin-top: 90px;
}

.devis-form legend {
    float: left;
    width: 100%;
    margin-bottom: 1.2rem;
    padding: 0;
}

.devis-form fieldset > *:not(legend) {
    clear: both;
}

.notice-box {
    background: #fff4f0;
    border-left: 5px solid var(--naval-orange);
    border-radius: 12px;
    padding: 1rem 1.3rem;
    color: #4a2c1a;
}

/* ===== Icônes SVG (remplacent les emojis, communes à tous les thèmes) ===== */
.icon {
    display: inline-block;
    vertical-align: middle;
    flex-shrink: 0;
}

.service-icon svg {
    color: #ffffff;
}

.search-icon {
    display: inline-flex;
    align-items: center;
}

.clear-search svg,
.lightbox-nav svg {
    display: block;
    margin: 0 auto;
}

.lightbox-nav {
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-line svg {
    color: var(--naval-pink);
}

.social-icons a svg {
    color: #ffffff;
}

.choice-grid label .choice-icon {
    display: flex;
    justify-content: center;
    color: var(--naval-pink);
}

/* ========================================
   AVIS CLIENTS
   ======================================== */
.avis-section { background: #fff; }
.avis-resume { display: flex; align-items: center; justify-content: center; gap: 0.6rem; flex-wrap: wrap; }
.etoiles { display: inline-flex; gap: 2px; vertical-align: middle; }
.etoiles svg { width: 18px; height: 18px; fill: #f5b301; }
.etoiles svg.vide { fill: #d8dbe3; }
.avis-grille { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; margin-top: 2rem; }
.avis-carte { background: #f8f9fa; border-radius: 15px; padding: 1.5rem; border-left: 4px solid var(--naval-orange); display: flex; flex-direction: column; gap: 0.8rem; }
.avis-texte { color: #333; font-style: italic; line-height: 1.6; flex: 1; }
.avis-auteur { color: #555; font-size: 0.92rem; }
.avis-piece { color: var(--naval-purple); font-weight: 600; }
.avis-date { color: #888; }
.avis-cta { text-align: center; margin-top: 2rem; }

/* ========================================
   RÉSEAUX SOCIAUX (publications)
   ======================================== */
.reseaux-grille { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 330px)); justify-content: center; gap: 1.5rem; margin-top: 2rem; }
.reseau-carte { background: #fff; border-radius: 15px; overflow: hidden; box-shadow: 0 5px 20px rgba(44, 44, 84, 0.08); display: flex; flex-direction: column; }
.reseau-charger { flex: 1; min-height: 240px; border: none; cursor: pointer; background: var(--naval-dark); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.5rem; padding: 2rem 1rem; font-family: inherit; transition: background 0.3s; }
.reseau-charger:hover { background: #3d3d75; }
.reseau-logo svg { width: 42px; height: 42px; }
.reseau-nom { font-weight: bold; font-size: 1.05rem; }
.reseau-charger.avec-vignette { position: relative; justify-content: flex-end; text-align: left; align-items: flex-start; padding: 1rem 1.2rem; min-height: 300px; overflow: hidden; }
.reseau-vignette { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.reseau-charger.avec-vignette::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 35%, rgba(0, 0, 0, 0.82) 100%); }
.reseau-charger.avec-vignette:hover .reseau-vignette { transform: scale(1.05); }
.reseau-charger.avec-vignette .reseau-logo, .reseau-charger.avec-vignette .reseau-nom, .reseau-charger.avec-vignette .reseau-aide { position: relative; z-index: 1; text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6); }
.reseau-charger.avec-vignette .reseau-logo { position: absolute; top: 0.9rem; right: 0.9rem; }
.reseau-charger.avec-vignette .reseau-nom { font-size: 0.95rem; font-weight: 600; line-height: 1.35; }
.reseau-lecture { position: absolute; top: 50%; left: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; background: rgba(255, 255, 255, 0.9); color: var(--naval-dark); display: flex; align-items: center; justify-content: center; z-index: 1; box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35); transition: transform 0.2s ease; }
.reseau-charger.avec-vignette:hover .reseau-lecture { transform: scale(1.08); }
.reseau-aide { font-size: 0.8rem; opacity: 0.75; }
.reseau-embed { padding: 0.5rem; background: #fff; min-height: 240px; }
.reseau-embed iframe, .reseau-embed blockquote { width: 100% !important; }
.reseau-lien { display: block; text-align: center; padding: 0.7rem; color: var(--naval-blue); text-decoration: none; font-weight: 600; font-size: 0.9rem; border-top: 1px solid #eef0f5; }
.reseau-lien:hover { color: var(--naval-orange); }
.reseau-video { background: #0d0d14; }
.reseau-video video { display: block; width: 100%; aspect-ratio: 9 / 16; max-height: 600px; object-fit: contain; background: #0d0d14; }
.reseau-titre { padding: 0.7rem 0.9rem; font-size: 0.9rem; color: #fff; background: #0d0d14; margin: 0; line-height: 1.35; }
.reseaux-suivre { justify-content: center; margin-top: 2rem; flex-wrap: wrap; }
.reseaux-suivre a { display: inline-flex; align-items: center; gap: 0.5rem; background: var(--naval-dark); color: #fff; padding: 0.6rem 1.2rem; border-radius: 25px; text-decoration: none; font-weight: 600; width: auto; height: auto; }
.reseaux-suivre a:hover { background: var(--naval-purple); transform: none; }
.reseaux-suivre a svg { width: 20px; height: 20px; }

/* ========================================
   CONTACT : délai de réponse, barre mobile
   ======================================== */
.delai-reponse { margin-top: 0.8rem; color: #444; font-size: 0.9rem; text-align: center; }
.devis-rapide { display: none; }
@media (max-width: 900px) {
    .devis-rapide { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 990; gap: 0; box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.18); }
    .devis-rapide a { flex: 1; display: flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.9rem 0.6rem; font-weight: bold; text-decoration: none; color: #fff; font-size: 0.98rem; }
    .devis-rapide-tel { background: var(--naval-dark); }
    .devis-rapide-devis { background: var(--naval-gradient); }
    body { padding-bottom: 64px; }
    #cookieConsent { bottom: 64px !important; }
}


/* ---- sombre.overrides.css ---- */
/* =====================================================================
   Thème "Sombre" - surcharges appliquées par-dessus le thème Actuel
   Source : assets/themes/src/sombre.overrides.css
   Fichier généré : assets/themes/sombre.css (voir naval_prive/outils/build_theme_sombre.php)
   Direction : maquette "Option D" - fond sombre uni, structure du site conservée,
   dégradé de la marque réservé aux boutons, filtres actifs et soulignements.
   ===================================================================== */

:root {
    --bg: #12131a;
    --bg-alt: #15161e;
    --surface: #1b1c26;
    --surface-2: #20222e;
    --line: #262837;
    --line-strong: #2c2e3c;
    --text: #f2f2f5;
    --text-soft: #c7c9d6;
    --muted: #a0a3b5;
    --faint: #7f8296;
    --orange: #ff7a4a;
    --pink: #f0568a;
    --blue: #5aaaf5;
    --purple: #b06ad6;
    --font-body: Manrope, "Segoe UI", Helvetica, Arial, sans-serif;
    --font-title: Outfit, "Segoe UI", Helvetica, Arial, sans-serif;
    color-scheme: dark;
}

/* ---------- Base ---------- */
body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    font-family: var(--font-title);
    font-weight: 600;
}

h2 {
    color: var(--text);
    font-size: 2.4rem;
}

section {
    background: transparent;
}

.section-alt,
#faq {
    background: var(--bg-alt);
}

.section-intro,
.content-narrow p,
.content-narrow li {
    color: var(--muted);
}

.content-narrow h3 {
    color: var(--text);
}

/* ---------- En-tête ---------- */
header {
    background: rgba(18, 19, 26, 0.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #22242f;
    box-shadow: none;
}

.logo {
    background: none;
    -webkit-background-clip: initial;
    background-clip: initial;
    -webkit-text-fill-color: initial;
    color: var(--text);
    font-family: var(--font-title);
    font-weight: 600;
    font-size: 1.35rem;
}

.logo-icon {
    background: transparent;
    background-image: url('../logo-nav.png');
    background-image: image-set(url('../logo-nav.webp') type('image/webp'), url('../logo-nav.png') type('image/png'));
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 10px;
    width: 64px;
    height: 64px;
}

.nav-links a {
    color: var(--text-soft);
    font-weight: 500;
}

.nav-links a:hover {
    color: var(--text);
}

@media (max-width: 768px) {
    .nav-links {
        background: var(--surface);
        border-top: 1px solid var(--line);
    }
}

/* ---------- Hero ---------- */
.hero {
    background-color: var(--bg);
}

.hero::before {
    background: linear-gradient(180deg, rgba(18, 19, 26, 0.55) 0%, rgba(18, 19, 26, 0.72) 55%, var(--bg) 100%);
    animation: none;
}

.hero-content h1 {
    font-weight: 700;
    letter-spacing: -0.01em;
    text-shadow: none;
}

.hero-tagline {
    color: var(--text-soft);
    font-weight: 500;
}

.hero-content p {
    color: var(--text-soft);
    text-shadow: none;
    font-weight: 500;
}

.cta-button.cta-secondary {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.35);
}

/* ---------- Cartes (services, atouts, processus) ---------- */
.service-card {
    background: var(--surface);
    border: 1px solid var(--line);
    box-shadow: none;
    color: var(--text);
}

.service-card::before {
    display: none;
}

.service-card:hover {
    border-color: var(--line-strong);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.service-card h3 {
    color: var(--text);
}

.service-card p {
    color: var(--muted);
}

.service-icon {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    background: rgba(255, 122, 74, 0.14);
    color: var(--orange);
}

.service-icon svg {
    color: inherit;
}

.services-grid .service-card:nth-child(2) .service-icon {
    background: rgba(240, 86, 138, 0.14);
    color: var(--pink);
}

.services-grid .service-card:nth-child(3) .service-icon {
    background: rgba(90, 170, 245, 0.14);
    color: var(--blue);
}

.services-grid .service-card:nth-child(4) .service-icon {
    background: rgba(176, 106, 214, 0.14);
    color: var(--purple);
}

/* ---------- Galerie ---------- */
.search-wrapper {
    background: var(--surface);
    border: 1px solid var(--line-strong);
    box-shadow: none;
}

.search-wrapper:focus-within {
    border-color: var(--pink);
    box-shadow: 0 0 0 3px rgba(240, 86, 138, 0.15);
}

.search-icon {
    color: var(--faint);
}

.search-input {
    background: transparent;
    color: var(--text);
}

.search-input::placeholder {
    color: var(--faint);
}

.clear-search {
    color: var(--muted);
}

.search-results {
    color: var(--muted);
}

.filter-btn {
    background: transparent;
    border: 1px solid var(--line-strong);
    color: var(--text-soft);
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--naval-gradient);
    border-color: transparent;
    color: #ffffff;
}

.gallery-item {
    border-radius: 18px;
    background: var(--surface);
    box-shadow: none;
}

.gallery-item:hover {
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}

.gallery-overlay {
    background: linear-gradient(180deg, rgba(18, 19, 26, 0) 35%, rgba(18, 19, 26, 0.92) 100%);
    align-items: flex-end;
    justify-content: flex-start;
    text-align: left;
    padding: 1.2rem;
}

.gallery-overlay h4 {
    font-size: 1.05rem;
    color: var(--text);
}

.gallery-overlay p {
    color: var(--text-soft);
    font-size: 0.85rem;
}

.comparison-badge {
    background: var(--naval-gradient);
    font-size: 0.75rem;
    letter-spacing: 0.04em;
}

.comparison-label {
    background: rgba(18, 19, 26, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.comparison-slider-handle {
    background: #ffffff;
}

/* ---------- FAQ ---------- */
.faq-item {
    background: var(--surface);
    border: 1px solid var(--line);
    box-shadow: none;
}

.faq-item summary {
    color: var(--text);
}

.faq-item summary::after {
    color: var(--orange);
}

.faq-item p {
    color: var(--muted);
}

/* ---------- Contact ---------- */
.contact-form {
    background: var(--surface);
    border: 1px solid var(--line);
    box-shadow: none;
}

.contact-form::before {
    display: none;
}

.contact-form h3,
.contact-info h3 {
    color: var(--text);
}

.form-group label {
    color: var(--text-soft);
}

.delai-reponse {
    color: var(--text-soft);
}

.form-group input,
.form-group textarea,
.form-group select,
.devis-form button,
.submit-btn {
    font-family: inherit;
}

.form-group input,
.form-group textarea,
.form-group select {
    background: var(--bg);
    border: 1px solid var(--line-strong);
    color: var(--text);
    border-radius: 12px;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--pink);
    outline: none;
    box-shadow: 0 0 0 3px rgba(240, 86, 138, 0.15);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--faint);
}

.contact-info {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 2rem;
    color: var(--text-soft);
}

.info-line svg {
    color: var(--orange);
}

/* ---------- Pied de page ---------- */
footer {
    background: #0e0f14;
    border-top: 1px solid #22242f;
    color: var(--muted);
}

.footer-section h4 {
    background: none;
    -webkit-background-clip: initial;
    background-clip: initial;
    -webkit-text-fill-color: initial;
    color: var(--text);
    font-size: 1.05rem;
}

.footer-section p,
.footer-section a,
.footer-links a {
    color: var(--muted);
}

.footer-section a:hover,
.footer-links a:hover {
    color: var(--text);
}

.footer-bottom {
    border-top: 1px solid #22242f;
    color: var(--faint);
}

.footer-bottom p {
    color: var(--faint);
}

.social-icons a {
    background: transparent;
    border: 1px solid var(--line-strong);
    color: var(--text);
}

.social-icons a:hover {
    background: var(--naval-gradient);
    border-color: transparent;
}

/* ---------- Pages secondaires ---------- */
.breadcrumb,
.breadcrumb li + li::before {
    color: var(--faint);
}

.breadcrumb a {
    color: var(--text-soft);
}

.step-card {
    background: var(--surface);
    border: 1px solid var(--line);
    box-shadow: none;
}

.step-card h3 {
    color: var(--text);
}

.step-card p {
    color: var(--muted);
}

.service-card a.card-link {
    color: var(--orange);
}

.checklist li::before {
    color: var(--orange);
}

.cta-band {
    background: var(--surface);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.cta-band p {
    color: var(--muted);
}

.notice-box {
    background: rgba(255, 122, 74, 0.1);
    border-left-color: var(--orange);
    color: #ffd9c9;
}

/* ---------- Formulaire de devis ---------- */
.devis-form fieldset {
    background: var(--surface);
    border: 1px solid var(--line);
    box-shadow: none;
}

.devis-form legend {
    color: var(--text);
}

.choice-grid label {
    border-color: var(--line-strong);
    color: var(--text-soft);
    background: var(--bg);
}

.choice-grid label .choice-icon {
    color: var(--muted);
}

.choice-grid input:checked + label,
.choice-grid label:has(input:checked) {
    border-color: var(--pink);
    background: rgba(240, 86, 138, 0.12);
    box-shadow: none;
    color: var(--text);
}

.choice-grid label:has(input:checked) .choice-icon {
    color: var(--pink);
}

.check-list label,
.rgpd-line {
    color: var(--text-soft);
}

.form-help,
.photo-list {
    color: var(--muted);
}

.form-message.success {
    background: rgba(40, 167, 69, 0.15);
    color: #8fe0a6;
}

.form-message.error {
    background: rgba(220, 53, 69, 0.15);
    color: #ff9aa6;
}

.form-group input[type="file"] {
    color: var(--text-soft);
}

/* ---------- Avis clients et réseaux ---------- */
.avis-section {
    background: var(--bg-alt);
}

.avis-carte,
.reseau-carte {
    background: var(--surface);
    border: 1px solid var(--line);
    box-shadow: none;
}

.avis-texte {
    color: var(--text-soft);
}

.avis-auteur {
    color: var(--muted);
}

.avis-auteur strong {
    color: var(--text);
}

.reseau-lien {
    border-top-color: var(--line);
}

.etoiles svg.vide {
    fill: var(--line-strong, #3a3c4a);
}


