/* ==========================================================================
   T-EVENT.CH - CHARTE GRAPHIQUE DE PRESTIGE (OBSIDIENNE & OR CHAMPAGNE MAT)
   Design ultra-haut de gamme s'inspirant de la rigueur et du luxe éditorial suisse.
   Répartition colorimétrique 60-30-10 avec profondeur spatiale et contrastes certifiés.
   ========================================================================== */

/* --- Variables de Design (Obsidian & Matte Gold) --- */
:root {
    /* Échelle des Fonds (60% de l'espace visuel) - Température Chaude/Bronze */
    --bg-white: #0a0a0c;       /* Noir Obsidienne profond, velouté - Fond principal */
    --bg-light: #111115;       /* Anthracite de Scène - Sections alternatives */
    --bg-dark: #18181f;        /* Ardoise d'Or - Surélévation des cartes (Profondeur) */
    --bg-pure-black: #050506;  /* Noir absolu pour les contrastes de base */
    
    /* Échelle des Textes & Détails (30% de l'espace visuel) */
    --text-primary: #f4f4f6;   /* Blanc Soie - Confort de lecture optimal, non agressif */
    --text-secondary: #9da0b0; /* Gris Brume - Pour les descriptions et textes de corps */
    --text-light: #6a6c7a;     /* Bronze Muted - Pour les sous-titres et légendes */
    --text-white: #ffffff;     /* Blanc pur de contraste */
    
    /* Bordures & Délimitations Luxueuses */
    --border-light: #1d1d26;   /* Finesse extrême pour dessiner les cartes sans séparer brusquement */
    --border-dark: #323242;    /* Bordures actives pour les états interactifs */
    
    /* Couleur d'Accent de Prestige (10% de l'espace visuel) */
    --accent: #FFE226;         /* Or Champagne Mat / Jaune Velours - Chaleureux, haut de gamme */
    --accent-glow: rgba(226, 177, 60, 0.15); /* Halogène glow pour les ombres portées */
    
    /* Typographies & Rythme Étoilé */
    --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --font-mono: SFMono-Regular, Consolas, "Liberation Mono", Menlo, Courier, monospace;
    
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
    
    --container-max-width: 1200px;
    --header-height: 80px;
}

/* --- Reset & Base Styles --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-white);
    color: var(--text-primary);
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* --- Layout Containers --- */
.section-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 7rem 2rem;
}

@media (max-width: 768px) {
    .section-container {
        padding: 5rem 1.5rem;
    }
}

/* --- Typography & Hiérarchie --- */
h1, h2, h3, h4 {
    color: var(--text-white);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.03em;
}

p {
    margin-bottom: 1.25rem;
    color: var(--text-secondary);
}

p.lead {
    font-size: 1.25rem;
    line-height: 1.6;
    color: var(--text-primary);
    font-weight: 400;
}

@media (max-width: 768px) {
    p.lead {
        font-size: 1.15rem;
    }
}

strong {
    color: var(--text-white);
    font-weight: 600;
}

a {
    color: var(--text-primary);
    text-decoration: none;
    transition: var(--transition-smooth);
}

/* --- Buttons (Premium Pill-Shape / Luxueusement Arrondis) --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.95rem 2.35rem;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 50px; /* Courbure organique de prestige */
    cursor: pointer;
    transition: var(--transition-smooth);
    border: 1.5px solid transparent;
    text-align: center;
    letter-spacing: -0.01em;
}

.btn-primary {
    background-color: var(--accent);
    color: var(--bg-pure-black);
    border-color: var(--accent);
    box-shadow: 0 4px 15px rgba(226, 177, 60, 0.2);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--accent);
    border-color: var(--accent);
    box-shadow: 0 4px 20px var(--accent-glow);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-primary);
    border-color: var(--border-dark);
}

.btn-secondary:hover {
    background-color: var(--text-white);
    color: var(--bg-pure-black);
    border-color: var(--text-white);
}

.btn-block {
    display: flex;
    width: 100%;
}

/* --- Ticket d'Événement Badge (Sémantique de scène & ligne de prédécoupe) --- */
.event-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.45rem 1.25rem;
    background-color: var(--bg-light);
    border: 1.5px dashed var(--accent); /* Prédécoupe pointillés */
    color: var(--accent); /* Titrage couleur Or */
    border-radius: 4px;
    margin-bottom: 1.5rem;
    position: relative;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Encoches de ticket de cinéma sur les côtés gauche et droite */
.event-badge::before,
.event-badge::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 8px;
    height: 8px;
    background-color: var(--bg-white); /* Trou virtuel en imitant le fond */
    border-radius: 50%;
    transform: translateY(-50%);
}

.event-badge::before {
    left: -5px;
    border-right: 1.5px solid var(--accent);
}

.event-badge::after {
    right: -5px;
    border-left: 1.5px solid var(--accent);
}

/* Adaptabilité de la couleur d'encoche selon le fond de la section */
.propos-section .event-badge::before,
.propos-section .event-badge::after,
.seo-section .event-badge::before,
.seo-section .event-badge::after,
.contact-section .event-badge::before,
.contact-section .event-badge::after {
    background-color: var(--bg-light);
}

.ticket-icon {
    font-size: 0.85rem;
    color: var(--accent);
}

.section-title {
    font-size: 2.85rem;
    margin-bottom: 1.55rem;
    letter-spacing: -0.04em;
    color: var(--text-white);
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2.25rem;
    }
}

/* --- HEADER / NAVIGATION --- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: rgba(10, 10, 12, 0.85); /* Obsidian transparent */
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-light);
    height: var(--header-height);
    transition: var(--transition-smooth);
}

.header-container {
    max-width: var(--container-max-width);
    height: 100%;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 1.25rem;
    letter-spacing: -0.02em;
}

.logo-bold {
    font-weight: 900;
    color: var(--text-white);
}

.logo-light {
    font-weight: 300;
    color: var(--text-light);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.main-nav a {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    letter-spacing: 0.02em;
}

.main-nav a:hover {
    color: var(--accent);
}

.main-nav .nav-cta {
    background-color: var(--accent);
    color: var(--bg-pure-black);
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(226, 177, 60, 0.15);
}

.main-nav .nav-cta:hover {
    background-color: transparent;
    color: var(--accent);
    box-shadow: inset 0 0 0 1.5px var(--accent);
}

/* Menu Burger Mobile */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 16px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 110;
}

.mobile-menu-toggle span {
    display: block;
    width: 100%;
    height: 1.5px;
    background-color: var(--text-primary);
    transition: var(--transition-smooth);
}

@media (max-width: 900px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        max-width: 300px;
        height: 100vh;
        background-color: var(--bg-light);
        border-left: 1px solid var(--border-light);
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        padding: 5rem 2.5rem;
        gap: 2.5rem;
        transition: var(--transition-smooth);
        z-index: 105;
    }
    
    .main-nav.active {
        right: 0;
    }
    
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }
    
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }
}

/* --- HERO SECTION --- */
.hero-section {
    position: relative;
    background-color: var(--bg-white);
    overflow: hidden;
    border-bottom: 1px solid var(--border-light);
}

.hero-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 8rem 2rem;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 5rem;
    align-items: center;
}

.hero-content {
    max-width: 600px;
}

.hero-title {
    font-size: 3.95rem;
    margin-bottom: 1.55rem;
    line-height: 1.1;
    letter-spacing: -0.04em;
    color: var(--text-white);
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 2.75rem;
    line-height: 1.65;
}

.hero-actions {
    display: flex;
    gap: 1.25rem;
}

/* Hero Image Container (Anthony Zanuttini) */
.hero-image-wrapper {
    width: 100%;
    display: flex;
    justify-content: flex-end;
}

.hero-image-container {
    width: 100%;
    max-width: 380px;
    aspect-ratio: 4 / 5;
    background-color: var(--bg-light);
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius-md);
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.5);
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: grayscale(10%) contrast(102%);
    transition: var(--transition-smooth);
}

.hero-image-container:hover .hero-img {
    filter: grayscale(0%);
    transform: scale(1.02);
}

/* Légende moderne superposée sur l'image */
.hero-img-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(5,5,6,0.95) 0%, rgba(5,5,6,0.4) 70%, transparent 100%);
    padding: 2rem 1.5rem 1.5rem 1.5rem;
    display: flex;
    flex-direction: column;
}

.caption-title {
    color: var(--text-white);
    font-weight: 700;
    font-size: 1.1rem;
}

.caption-subtitle {
    color: var(--text-secondary);
    font-size: 0.8rem;
    margin-top: 0.15rem;
}

@media (max-width: 900px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 4rem;
        padding: 5rem 1.5rem;
        text-align: center;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .hero-title {
        font-size: 2.95rem;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-image-wrapper {
        justify-content: center;
    }
    
    .hero-image-container {
        max-width: 340px;
    }
}

/* --- SECTION À PROPOS --- */
.propos-section {
    background-color: var(--bg-light);
    border-bottom: 1px solid var(--border-light);
}

.propos-grid {
    display: grid;
    grid-template-columns: 0.75fr 1.25fr;
    gap: 4rem;
}

.propos-body p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.propos-body p:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .propos-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

/* --- SECTION SERVICES --- */
.services-section {
    background-color: var(--bg-white);
    border-bottom: 1px solid var(--border-light);
}

.services-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 5rem auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
    margin-bottom: 5rem;
}

.service-card {
    background-color: var(--bg-light);
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.service-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4), 0 0 15px var(--accent-glow);
}

.service-image-container {
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background-color: var(--bg-pure-black);
    border-bottom: 1px solid var(--border-light);
}

.service-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: brightness(85%);
    transition: var(--transition-smooth);
}

.service-card:hover .service-img {
    filter: brightness(100%);
    transform: scale(1.03);
}

.service-content {
    padding: 2.25rem;
    flex-grow: 1;
}

.service-title {
    font-size: 1.35rem;
    margin-bottom: 1rem;
    color: var(--text-white);
}

.service-description {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.65;
}

/* Forfaits & Tarifs */
.pricing-notice {
    background-color: var(--bg-light);
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius-md);
    padding: 3.5rem;
    text-align: center;
    max-width: 850px;
    margin: 0 auto;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.pricing-notice-title {
    font-size: 1.45rem;
    margin-bottom: 2.5rem;
    color: var(--text-white);
}

.pricing-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3.5rem;
    margin-bottom: 2.5rem;
}

.pricing-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.pricing-label {
    font-size: 0.75rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.pricing-value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent); /* Warm Gold */
    letter-spacing: -0.02em;
}

.pricing-divider {
    width: 1px;
    height: 60px;
    background-color: var(--border-light);
}

.pricing-footer {
    font-size: 0.85rem;
    color: var(--text-secondary);
    max-width: 580px;
    margin: 0 auto;
}

@media (max-width: 600px) {
    .pricing-grid {
        flex-direction: column;
        gap: 2rem;
    }
    
    .pricing-divider {
        width: 80px;
        height: 1px;
    }
    
    .pricing-notice {
        padding: 2.5rem 1.5rem;
    }
}

/* --- SECTION SEO / GEO (Typographie ultra-propre, sans carte lourde) --- */
.seo-section {
    background-color: var(--bg-light);
    border-bottom: 1px solid var(--border-light);
}

.seo-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 5rem;
    align-items: center;
}

.seo-text p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

/* Index Typographique des régions (Solution Premium sans Slop) */
.seo-regions-panel {
    background-color: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius-md);
    padding: 2.5rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.regions-list-minimal {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.region-row {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.region-num {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--accent); /* Warm Gold */
    font-family: var(--font-mono);
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 0.25rem;
    line-height: 1;
}

.region-info h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
    color: var(--text-white);
}

.region-info p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 0;
}

@media (max-width: 900px) {
    .seo-grid {
        grid-template-columns: 1fr;
        gap: 3.5rem;
    }
    
    .seo-regions-panel {
        max-width: 500px;
        margin: 0 auto;
        width: 100%;
    }
}

/* --- SECTION CONTACT (Ultra épurée, sans formulaire) --- */
.contact-section {
    background-color: var(--bg-white);
    border-bottom: 1px solid var(--border-light);
}

.contact-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem auto;
}

.contact-intro {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-top: 1rem;
}

.contact-minimal-panel {
    background-color: var(--bg-light);
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius-md);
    padding: 4.5rem 3.5rem;
    max-width: 1000px;
    margin: 0 auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.contact-grid-minimal {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-bottom: 3.5rem;
}

.contact-card-item {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem;
}

.contact-card-icon-wrapper {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background-color: var(--bg-white);
    border: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: var(--transition-smooth);
}

.contact-card-item:hover .contact-card-icon-wrapper {
    border-color: var(--accent);
    color: var(--accent);
    box-shadow: 0 0 15px var(--accent-glow);
}

.contact-icon {
    width: 22px;
    height: 22px;
    color: var(--text-primary);
    transition: var(--transition-smooth);
}

.contact-card-item:hover .contact-icon {
    color: var(--accent);
}

.contact-card-item h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-white);
    letter-spacing: -0.01em;
}

.contact-card-item p {
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 0.25rem;
    color: var(--text-secondary);
}

.contact-highlight-link {
    margin-top: 1rem;
    font-size: 1.05rem;
    font-weight: 700;
}

.contact-link {
    color: var(--text-white);
}

.contact-card-item:hover .contact-link {
    color: var(--accent);
    text-decoration: underline;
}

.contact-cta-wrapper {
    display: flex;
    justify-content: center;
}

.btn-cta-contact {
    padding: 1rem 2.5rem;
    font-size: 1rem;
}

@media (max-width: 900px) {
    .contact-grid-minimal {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .contact-minimal-panel {
        padding: 3rem 1.5rem;
    }
}

/* --- FOOTER --- */
.site-footer {
    background-color: var(--bg-pure-black);
    color: var(--text-secondary);
    padding: 5rem 2rem;
    border-top: 1px solid var(--border-light);
}

.footer-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 3rem;
}

.footer-brand .logo {
    margin-bottom: 1rem;
    display: inline-block;
}

.footer-brand .logo-light {
    color: #444444;
}

.footer-tagline {
    font-size: 0.85rem;
    color: var(--text-light);
    font-style: italic;
    margin-bottom: 0;
}

.footer-info {
    text-align: right;
    font-size: 0.85rem;
}

.footer-info p {
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.footer-info p strong {
    color: var(--text-secondary);
}

.footer-info p:last-child {
    margin-bottom: 0;
}

.credits {
    font-size: 0.75rem;
    color: #333333 !important;
    margin-top: 1rem;
}

.credits a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.credits a:hover,
.credits a:focus-visible {
    color: #c8a24a;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 2rem;
    }
    
    .footer-info {
        text-align: center;
    }
}
