/* ============================================
   HELIX CIGAR CLUB — Stylesheet
   Ambiance : salon privé, cuir, acajou, or vieilli
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;0,800;0,900;1,400;1,600&family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400&family=Inter:wght@300;400;500;600&display=swap');

:root {
    /* Palette */
    --color-ivory: #f4ecd8;
    --color-ivory-dim: #e8dfc9;
    --color-parchment: #efe4c9;
    --color-gold: #c9a14a;
    --color-gold-bright: #e0b860;
    --color-gold-dark: #8a6b2a;
    --color-mahogany: #3d2418;
    --color-mahogany-deep: #2a1710;
    --color-leather: #4a2c1d;
    --color-ember: #a0471e;
    --color-smoke: rgba(244, 236, 216, 0.65);
    --color-black-coffee: #1a0f0a;
    
    /* Typographies */
    --font-display: 'Playfair Display', 'Times New Roman', serif;
    --font-serif: 'Cormorant Garamond', 'Georgia', serif;
    --font-sans: 'Inter', -apple-system, sans-serif;
    
    /* Ombres */
    --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.3);
    --shadow-deep: 0 12px 40px rgba(0, 0, 0, 0.5);
    --shadow-gold: 0 0 30px rgba(201, 161, 74, 0.2);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-serif);
    background: var(--color-black-coffee);
    color: var(--color-ivory);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    background-image: 
        radial-gradient(ellipse at top, rgba(74, 44, 29, 0.4) 0%, transparent 60%),
        radial-gradient(ellipse at bottom, rgba(61, 36, 24, 0.3) 0%, transparent 70%),
        url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.1 0 0 0 0 0.06 0 0 0 0 0.04 0 0 0 0.3 0'/></filter><rect width='200' height='200' filter='url(%23n)' opacity='0.4'/></svg>");
    background-attachment: fixed;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: var(--color-gold);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--color-gold-bright);
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 1rem 2rem;
    background: linear-gradient(180deg, rgba(26, 15, 10, 0.95) 0%, rgba(26, 15, 10, 0.85) 80%, transparent 100%);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(201, 161, 74, 0.15);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: 0.15em;
    color: var(--color-gold);
    text-transform: uppercase;
}

.nav-logo img {
    height: 38px;
    width: auto;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5));
}

.nav-menu {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-menu a {
    color: var(--color-ivory);
    font-family: var(--font-sans);
    font-size: 0.82rem;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    position: relative;
    padding: 0.5rem 0;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-gold);
    transition: width 0.4s ease;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    background: none;
    border: 1px solid var(--color-gold);
    color: var(--color-gold);
    padding: 0.5rem 0.75rem;
    cursor: pointer;
    font-size: 1.2rem;
    border-radius: 2px;
}

/* ============================================
   HERO
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 8rem 2rem 4rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(201, 161, 74, 0.12) 0%, transparent 60%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    animation: fadeInUp 1.2s ease-out;
}

.hero-eyebrow {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    letter-spacing: 0.5em;
    text-transform: uppercase;
    color: var(--color-gold);
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.2s forwards;
}

.hero-logo {
    max-width: 380px;
    width: 70%;
    margin: 0 auto 2rem;
    filter: drop-shadow(0 10px 30px rgba(0,0,0,0.6));
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.4s forwards;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 8vw, 6.5rem);
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--color-ivory);
    line-height: 1;
    margin-bottom: 1rem;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.6s forwards;
}

.hero-title .amp {
    color: var(--color-gold);
    font-style: italic;
    font-weight: 400;
}

.hero-subtitle {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    color: var(--color-smoke);
    max-width: 600px;
    margin: 0 auto 3rem;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.8s forwards;
}

.hero-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin: 2rem 0;
    opacity: 0;
    animation: fadeInUp 1s ease-out 1s forwards;
}

.hero-divider .line {
    width: 80px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
}

.hero-divider .ornament {
    color: var(--color-gold);
    font-size: 1.2rem;
}

.hero-cta {
    display: inline-flex;
    gap: 1rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
    opacity: 0;
    animation: fadeInUp 1s ease-out 1.2s forwards;
}

.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-family: var(--font-sans);
    font-size: 0.8rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    font-weight: 500;
    transition: all 0.4s ease;
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--color-gold);
    color: var(--color-mahogany-deep);
    border: 1px solid var(--color-gold);
}

.btn-primary:hover {
    background: var(--color-gold-bright);
    color: var(--color-black-coffee);
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}

.btn-outline {
    background: transparent;
    color: var(--color-ivory);
    border: 1px solid var(--color-ivory);
}

.btn-outline:hover {
    background: var(--color-ivory);
    color: var(--color-black-coffee);
    transform: translateY(-2px);
}

/* ============================================
   SECTIONS GÉNÉRIQUES
   ============================================ */
.section {
    padding: 6rem 2rem;
    position: relative;
}

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

.section-eyebrow {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    letter-spacing: 0.5em;
    text-transform: uppercase;
    color: var(--color-gold);
    text-align: center;
    margin-bottom: 1rem;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 600;
    text-align: center;
    color: var(--color-ivory);
    margin-bottom: 1rem;
    letter-spacing: 0.02em;
}

.section-title .accent {
    color: var(--color-gold);
    font-style: italic;
}

.section-subtitle {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.2rem;
    color: var(--color-smoke);
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.section-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin: 1.5rem auto 3rem;
}

.section-divider .line {
    width: 60px;
    height: 1px;
    background: var(--color-gold);
    opacity: 0.5;
}

.section-divider .ornament {
    color: var(--color-gold);
    font-size: 0.9rem;
}

/* ============================================
   COMITÉ — Président & Secrétaire
   ============================================ */
.comite {
    padding: 5rem 2rem;
    background: linear-gradient(180deg, transparent 0%, rgba(61, 36, 24, 0.3) 50%, transparent 100%);
}

.comite-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.comite-grid.single {
    grid-template-columns: minmax(0, 400px);
    justify-content: center;
}

.comite-card {
    text-align: center;
    position: relative;
}

.comite-portrait {
    position: relative;
    aspect-ratio: 3/4;
    overflow: hidden;
    border-radius: 4px;
    box-shadow: var(--shadow-deep);
    margin-bottom: 1.5rem;
    border: 1px solid rgba(201, 161, 74, 0.3);
}

.comite-portrait::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(26, 15, 10, 0.8) 100%);
    z-index: 1;
    pointer-events: none;
}

.comite-portrait img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.comite-card:hover .comite-portrait img {
    transform: scale(1.05);
}

.comite-frame {
    position: absolute;
    inset: 0;
    border: 2px solid transparent;
    border-radius: 4px;
    pointer-events: none;
    z-index: 2;
    transition: border-color 0.4s ease;
}

.comite-card:hover .comite-frame {
    border-color: var(--color-gold);
}

.comite-role {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: var(--color-gold);
    margin-bottom: 0.5rem;
}

.comite-name {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--color-ivory);
    margin-bottom: 1rem;
}

.comite-quote {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.05rem;
    color: var(--color-smoke);
    max-width: 380px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ============================================
   CULTURE & HISTOIRE
   ============================================ */
.culture {
    background: linear-gradient(180deg, transparent 0%, rgba(42, 23, 16, 0.5) 100%);
}

.culture-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-top: 3rem;
}

.culture-card {
    padding: 2.5rem 2rem;
    background: linear-gradient(180deg, rgba(61, 36, 24, 0.4) 0%, rgba(26, 15, 10, 0.6) 100%);
    border: 1px solid rgba(201, 161, 74, 0.2);
    border-radius: 2px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.culture-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
    opacity: 0.4;
}

.culture-card:hover {
    transform: translateY(-6px);
    border-color: rgba(201, 161, 74, 0.5);
    box-shadow: var(--shadow-gold);
}

.culture-card-number {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 300;
    color: var(--color-gold);
    line-height: 1;
    margin-bottom: 1rem;
    opacity: 0.8;
}

.culture-card h3 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--color-ivory);
    margin-bottom: 1rem;
    letter-spacing: 0.02em;
}

.culture-card p {
    font-family: var(--font-serif);
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--color-ivory-dim);
}

/* ============================================
   FABRICATION — Étapes
   ============================================ */
.fabrication {
    background: rgba(26, 15, 10, 0.5);
}

.fabrication-steps {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    margin-top: 3rem;
}

.fab-step {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 3rem;
    align-items: start;
    padding: 2rem 0;
    border-bottom: 1px solid rgba(201, 161, 74, 0.15);
}

.fab-step:last-child {
    border-bottom: none;
}

.fab-step-number {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 5rem;
    font-weight: 300;
    color: var(--color-gold);
    line-height: 0.8;
    min-width: 120px;
    position: relative;
}

.fab-step-number::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -1rem;
    width: 50px;
    height: 1px;
    background: var(--color-gold);
}

.fab-step-content h3 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--color-ivory);
    margin-bottom: 0.5rem;
    letter-spacing: 0.02em;
}

.fab-step-content .fab-label {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--color-gold);
    margin-bottom: 1rem;
    display: block;
}

.fab-step-content p {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--color-ivory-dim);
}

/* ============================================
   GALERIE DES MEMBRES
   ============================================ */
.membres {
    background: linear-gradient(180deg, transparent 0%, rgba(61, 36, 24, 0.2) 100%);
}

.membres-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.membre-card {
    background: rgba(26, 15, 10, 0.5);
    border: 1px solid rgba(201, 161, 74, 0.15);
    border-radius: 2px;
    overflow: hidden;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
}

.membre-card:hover {
    transform: translateY(-4px);
    border-color: rgba(201, 161, 74, 0.5);
    box-shadow: var(--shadow-deep);
}

.membre-portrait {
    aspect-ratio: 3/4;
    overflow: hidden;
    position: relative;
}

.membre-portrait.landscape {
    aspect-ratio: 3/2;
}

.membre-portrait img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.membre-portrait.landscape img {
    object-fit: cover;
    object-position: center;
}

.membre-card:hover .membre-portrait img {
    transform: scale(1.06);
}

.membre-portrait::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 70%, rgba(26, 15, 10, 0.9));
    pointer-events: none;
}

.membre-info {
    padding: 1.5rem 1.5rem 2rem;
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.membre-name {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--color-ivory);
    margin-bottom: 0.4rem;
    letter-spacing: 0.02em;
}

.membre-role {
    font-family: var(--font-sans);
    font-size: 0.65rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--color-gold);
    margin-bottom: 1rem;
}

.membre-desc {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 0.98rem;
    line-height: 1.5;
    color: var(--color-ivory-dim);
    flex: 1;
}

/* Carte pleine largeur pour le Quatuor (image paysage) */
.membre-card.full-width {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    align-items: stretch;
}

.membre-card.full-width .membre-portrait {
    aspect-ratio: auto;
    height: 100%;
    min-height: 340px;
}

.membre-card.full-width .membre-info {
    padding: 2.5rem;
    justify-content: center;
    text-align: left;
}

.membre-card.full-width .membre-desc {
    font-size: 1.1rem;
    max-width: 420px;
}

@media (max-width: 720px) {
    .membre-card.full-width {
        grid-template-columns: 1fr;
    }
    .membre-card.full-width .membre-info {
        text-align: center;
        padding: 1.5rem;
    }
}

/* ============================================
   CITATION / BLOCKQUOTE
   ============================================ */
.quote-block {
    padding: 6rem 2rem;
    text-align: center;
    background: 
        linear-gradient(180deg, transparent 0%, rgba(42, 23, 16, 0.6) 50%, transparent 100%);
    position: relative;
}

.quote-text {
    font-family: var(--font-display);
    font-style: italic;
    font-size: clamp(1.4rem, 3vw, 2.2rem);
    font-weight: 400;
    color: var(--color-ivory);
    max-width: 900px;
    margin: 0 auto 2rem;
    line-height: 1.4;
    position: relative;
}

.quote-text::before,
.quote-text::after {
    font-family: var(--font-display);
    font-size: 4rem;
    color: var(--color-gold);
    opacity: 0.5;
    position: absolute;
    line-height: 0.5;
}

.quote-text::before {
    content: '“';
    top: 1rem;
    left: -3rem;
}

.quote-text::after {
    content: '”';
    bottom: -1rem;
    right: -3rem;
}

.quote-author {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: var(--color-gold);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--color-black-coffee);
    padding: 4rem 2rem 2rem;
    border-top: 1px solid rgba(201, 161, 74, 0.2);
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 1px;
    background: var(--color-gold);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand img {
    height: 50px;
    margin-bottom: 1.5rem;
}

.footer-brand h4 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--color-gold);
    margin-bottom: 1rem;
    letter-spacing: 0.1em;
}

.footer-brand p {
    font-family: var(--font-serif);
    font-style: italic;
    color: var(--color-smoke);
    max-width: 320px;
    line-height: 1.6;
}

.footer-col h5 {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--color-gold);
    margin-bottom: 1.5rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.75rem;
}

.footer-col ul a {
    font-family: var(--font-serif);
    color: var(--color-ivory-dim);
    font-size: 1.05rem;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(201, 161, 74, 0.1);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    font-family: var(--font-sans);
    font-size: 0.78rem;
    letter-spacing: 0.15em;
    color: var(--color-smoke);
}

.footer-disclaimer {
    max-width: 1200px;
    margin: 2rem auto 0;
    padding: 1rem;
    font-family: var(--font-sans);
    font-size: 0.72rem;
    text-align: center;
    color: rgba(244, 236, 216, 0.4);
    letter-spacing: 0.05em;
    font-style: italic;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes smokeRise {
    0% {
        transform: translateY(0) translateX(0) scale(1);
        opacity: 0;
    }
    20% {
        opacity: 0.4;
    }
    100% {
        transform: translateY(-300px) translateX(30px) scale(2);
        opacity: 0;
    }
}

/* Scroll reveals — tous visibles par défaut, animation douce au chargement si JS actif */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 960px) {
    .culture-grid,
    .membres-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
    
    .fab-step {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .fab-step-number {
        font-size: 4rem;
    }
}

@media (max-width: 720px) {
    .nav {
        padding: 1rem;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background: rgba(26, 15, 10, 0.98);
        padding: 1.5rem 2rem;
        gap: 1.25rem;
        border-bottom: 1px solid rgba(201, 161, 74, 0.2);
    }
    
    .nav-menu.open {
        display: flex;
    }
    
    .nav-toggle {
        display: block;
    }
    
    .nav-logo {
        font-size: 1.2rem;
    }
    
    .nav-logo img {
        height: 30px;
    }
    
    .hero {
        padding: 7rem 1.5rem 3rem;
    }
    
    .section {
        padding: 4rem 1.5rem;
    }
    
    .comite-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .culture-grid,
    .membres-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .quote-text::before,
    .quote-text::after {
        display: none;
    }
    
    .hero-cta {
        flex-direction: column;
        width: 100%;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }
}
