:root {
    --bg-dark: #0a0a0c;
    --bg-card: #141419;
    --bg-card-hover: #1e1e26;
    --text-light: #ffffff;
    --text-muted: #a0a0ab;
    --accent-orange: #ff9f1c;
    --accent-purple: #9d4edd;
    --accent-pink: #ff007f;
    --gradient-primary: linear-gradient(135deg, #ff9f1c 0%, #ff007f 50%, #9d4edd 100%);
    --font-title: 'Outfit', sans-serif;
    --font-body: 'Montserrat', sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
    -webkit-tap-highlight-color: transparent;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-light);
    font-family: var(--font-body);
    line-height: 1.5;
    overflow-x: hidden;
    width: 100%;
}

h1, h2, h3, h4 {
    font-family: var(--font-title);
    font-weight: 700;
    letter-spacing: -0.01em;
}

a, button, select, input, textarea, .service-card, .pack-card {
    cursor: pointer;
}

a {
    text-decoration: none;
    color: inherit;
}

/* NAVIGATION MOBILE & DESKTOP */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 10, 12, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 12px 6%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container img {
    height: 50px;
    width: auto;
    display: block;
    transition: var(--transition);
}

.logo-container img:hover {
    transform: scale(1.05);
}

.burger-menu {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 19px;
    z-index: 1100;
}

.burger-bar {
    width: 100%;
    height: 2px;
    background-color: var(--text-light);
    transition: var(--transition);
    border-radius: 2px;
}

.burger-menu.open .burger-bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.burger-menu.open .burger-bar:nth-child(2) {
    opacity: 0;
}

.burger-menu.open .burger-bar:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background: #0f0f14;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 25px;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -10px 0 30px rgba(0,0,0,0.5);
    z-index: 1050;
    padding: 40px;
}

nav.open {
    right: 0;
}

.nav-link {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 10px 0;
    width: 100%;
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,0.02);
    transition: var(--transition);
    position: relative;
}

.nav-link:hover, .nav-link.active {
    color: var(--text-light);
    background: rgba(255,255,255,0.02);
}

/* MAIN VIEW */
.app-view {
    display: block;
}

.app-view.hidden {
    display: none;
}

/* HERO SECTION */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 6% 60px;
    background: radial-gradient(circle at top right, rgba(157, 78, 221, 0.12), transparent 50%),
                radial-gradient(circle at bottom left, rgba(255, 159, 28, 0.08), transparent 50%);
    text-align: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://images.unsplash.com/photo-1516450360452-9312f5e86fc7?auto=format&fit=crop&q=80&w=800') center/cover no-repeat;
    opacity: 0.12;
    z-index: -1;
}

.hero-content {
    width: 100%;
    max-width: 600px;
    z-index: 2;
}

.hero-logo-large {
    width: 85%;
    max-width: 320px;
    height: auto;
    margin: 0 auto 15px;
    display: block;
}

.location-tag-top {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 159, 28, 0.08);
    border: 1px solid rgba(255, 159, 28, 0.25);
    color: var(--accent-orange);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 25px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-light);
    font-weight: 600;
    margin-bottom: 35px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.hero-cta-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
}

.btn-primary, .btn-secondary, .btn-submit {
    width: 100%;
    min-height: 52px;
    padding: 14px 24px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: var(--transition);
    border: none;
    text-align: center;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--text-light);
    box-shadow: 0 4px 12px rgba(255, 159, 28, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 159, 28, 0.4);
    filter: brightness(1.1);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-light);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.btn-primary:active, .btn-secondary:active, .service-card:active, .pack-card:active {
    transform: scale(0.98);
    opacity: 0.9;
}

/* SECTIONS GÉNÉRALES */
.section {
    padding: 70px 6%;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-tag {
    display: inline-block;
    background: linear-gradient(90deg, var(--accent-orange), var(--accent-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    margin-bottom: 8px;
}

.section-title {
    font-size: 1.8rem;
    margin-bottom: 15px;
    text-transform: uppercase;
    line-height: 1.2;
}

.section-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* GRILLES DE CARTES UNIQUE SUR MOBILE */
.services-grid, .packs-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 16px;
    padding: 25px 20px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: var(--transition);
}

.service-card:hover {
    background: var(--bg-card-hover);
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.service-icon {
    font-size: 2rem;
    margin-bottom: 15px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    transform: scale(1.1);
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.view-gallery-btn {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--accent-orange);
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
    transition: var(--transition);
}

.service-card:hover .view-gallery-btn {
    color: var(--text-light);
    gap: 10px;
}

/* PACKS COUCHE ACCUEIL */
.packs-container {
    background: rgba(20, 20, 25, 0.5);
}

.pack-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 20px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.pack-card:hover {
    background: var(--bg-card-hover);
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.pack-photo-frame {
    width: 100%;
    aspect-ratio: 16/10;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: #0d0d11;
    position: relative;
    margin-bottom: 20px;
}

.pack-photo-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.pack-card:hover .pack-photo-frame img {
    transform: scale(1.05);
}

.pack-photo-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: rgba(255, 255, 255, 0.2);
    font-size: 0.8rem;
    padding: 10px;
}

.pack-photo-placeholder i {
    font-size: 1.8rem;
    margin-bottom: 6px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.pack-name {
    font-size: 1.25rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.pack-desc {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 20px;
}

.pack-price-box {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.pack-price {
    font-size: 1.75rem;
    font-weight: 800;
}

.pack-price span {
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--text-muted);
}

/* PAGES FILLES */
.subpage-view {
    display: none;
    padding: 90px 6% 60px;
    min-height: 100vh;
    background: var(--bg-dark);
    width: 100%;
}

.subpage-view.active {
    display: block;
    animation: fadeIn 0.3s ease-out;
}

.btn-back-container {
    margin-bottom: 25px;
}

.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.05);
    padding: 10px 20px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: var(--transition);
}

.btn-back:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateX(-3px);
}

.split-showcase {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-top: 20px;
}

.split-row {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.split-text h3 {
    font-size: 1.4rem;
    text-transform: uppercase;
    margin-bottom: 12px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.split-text p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.split-features {
    list-style: none;
    margin-bottom: 20px;
}

.split-features li {
    font-size: 0.9rem;
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.split-features li i {
    color: var(--accent-pink);
    margin-top: 3px;
}

.split-visual {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    aspect-ratio: 16/10;
    background: #0d0d11;
    position: relative;
    width: 100%;
}

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

.split-visual-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: rgba(255, 255, 255, 0.15);
    padding: 15px;
    text-align: center;
    font-size: 0.8rem;
}

.split-visual-placeholder i {
    font-size: 2.2rem;
    margin-bottom: 10px;
}

/* FORMULAIRE DE DEVIS */
.devis-container {
    width: 100%;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 20px;
    padding: 25px 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    padding-left: 2px;
}

.form-row {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-group input, .form-group select, .form-group textarea {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 14px;
    color: var(--text-light);
    font-family: var(--font-body);
    font-size: 0.95rem;
    width: 100%;
    transition: var(--transition);
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--accent-orange);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 8px rgba(255, 159, 28, 0.15);
}

/* CASE RGPD STYLE */
.form-group-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 5px;
}

.form-group-checkbox input {
    width: 18px;
    height: 18px;
    accent-color: var(--accent-orange);
    margin-top: 3px;
    cursor: pointer;
}

.form-group-checkbox label {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.4;
}

.form-group-checkbox label a {
    color: var(--accent-orange);
    text-decoration: underline;
}

.btn-submit {
    background: var(--gradient-primary);
    color: var(--text-light);
    box-shadow: 0 4px 12px rgba(255, 0, 127, 0.2);
    border-radius: 10px;
    margin-top: 5px;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 0, 127, 0.4);
    filter: brightness(1.1);
}

/* NOTIFICATION SUCCESS / ERROR */
.notification {
    position: fixed;
    top: 90px;
    left: 50%;
    transform: translateX(-50%);
    padding: 15px 25px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    z-index: 2000;
    box-shadow: 0 8px 30px rgba(0,0,0,0.5);
    text-align: center;
    width: 90%;
    max-width: 500px;
    animation: fadeIn 0.4s ease-out;
}

.notification.success {
    background: #00b159;
    color: white;
}

.notification.error {
    background: #df1b35;
    color: white;
}

/* CONTACTS */
.contact-section-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-cards-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-card-info {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 16px;
    padding: 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: var(--transition);
}

.contact-card-info:hover {
    background: var(--bg-card-hover);
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

.contact-card-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--accent-orange);
    transition: var(--transition);
}

.contact-card-info:hover .contact-card-icon {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.06);
}

.contact-card-info h3 {
    font-size: 1rem;
    text-transform: uppercase;
}

.contact-card-info p, .contact-card-info a {
    color: var(--text-muted);
    font-size: 0.9rem;
    word-break: break-all;
    transition: var(--transition);
}

.contact-card-info:hover p, .contact-card-info:hover a {
    color: var(--text-light);
}

/* MAPBOX */
.map-container-dedicated {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.map-frame-wrapper {
    position: relative;
    width: 100%;
    height: 250px;
}

.map-frame-wrapper iframe {
    border: 0;
    width: 100%;
    height: 100%;
}

.map-btn-dedicated {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.04);
    padding: 15px 10px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    line-height: 1.3;
    transition: var(--transition);
}

.map-btn-dedicated:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--accent-orange);
}

/* FOOTER */
footer {
    background-color: #050507;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 40px 6% 30px;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 35px;
    margin-bottom: 35px;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 12px;
}

.footer-links h4 {
    font-size: 1rem;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.9rem;
    display: inline-block;
    padding: 4px 0;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--text-light);
    transform: translateX(4px);
}

.social-icons {
    display: flex;
    gap: 12px;
}

.social-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 1.1rem;
    transition: var(--transition);
}

.social-icon:hover {
    background: var(--text-light);
    color: var(--bg-dark);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.8rem;
}

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

/* RESPONSIVE IPAD & PC */
@media (min-width: 768px) {
    header { 
        padding: 15px 8%; 
    }
    .burger-menu { 
        display: none; 
    }
    nav {
        position: static;
        width: auto;
        height: auto;
        background: transparent;
        flex-direction: row;
        gap: 30px; 
        box-shadow: none;
        padding: 0;
    }
    .nav-link { 
        font-size: 0.9rem; 
        padding: 6px 0; 
        border: none; 
        width: auto; 
    }
    
    .nav-link::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 0;
        height: 2px;
        background: var(--gradient-primary);
        transition: var(--transition);
        border-radius: 2px;
    }
    .nav-link:hover::after, .nav-link.active::after {
        width: 100%;
    }
    .nav-link:hover, .nav-link.active {
        color: var(--text-light);
        background: transparent; 
    }
    
    .hero-cta-group { 
        flex-direction: row; 
        justify-content: center; 
    }
    .btn-primary, .btn-secondary { 
        width: auto; 
    }
    .services-grid { 
        display: grid; 
        grid-template-columns: repeat(2, 1fr); 
        gap: 25px; 
    }
    .packs-grid { 
        display: grid; 
        grid-template-columns: repeat(3, 1fr); 
        gap: 25px; 
    }
    .split-row { 
        grid-template-columns: 1fr 1fr; 
        flex-direction: row; 
        gap: 50px; 
        align-items: center; 
    }
    .split-row:nth-child(even) .split-text { 
        order: 2; 
    }
    .split-row:nth-child(even) .split-visual { 
        order: 1; 
    }
    .form-row { 
        flex-direction: row; 
    }
    .contact-section-grid { 
        display: grid;
        grid-template-columns: 1.2fr 1fr; 
        gap: 40px;
    }
    .contact-cards-grid { 
        display: grid; 
        grid-template-columns: 1fr 1fr; 
        gap: 20px;
    }
    .footer-content { 
        display: grid; 
        grid-template-columns: 1.5fr 1fr 1fr; 
        gap: 40px; 
    }
    .footer-bottom { 
        flex-direction: row; 
        justify-content: space-between; 
                text-align: left; 
    }
}