/* ========================================
   MY MEMORIES MAGNET
   Design: Magnetic & Modern
   Palette: Ivoire clair & élégant + Or cuivré magnétique
======================================== */

:root {
    /* Colors — palette claire premium "Apple-like" */
    --bg: #fafaf7;
    --bg-secondary: #f4f1ec;
    --bg-tertiary: #ffffff;
    --surface: rgba(0, 0, 0, 0.03);
    --surface-hover: rgba(0, 0, 0, 0.06);
    --border: rgba(0, 0, 0, 0.08);
    --border-strong: rgba(0, 0, 0, 0.15);

    --text: #1a1a1f;
    --text-muted: #5a5a63;
    --text-dim: #8a8a93;

    /* Texte toujours sombre sur fond doré (boutons primaires) */
    --text-on-gold: #1a1a1f;

    /* Accent — Or cuivré magnétique (signature inchangée) */
    --gold: #c89968;
    --gold-bright: #e0b079;
    --gold-dim: #8b6f4a;
    --copper: #b87333;
    --gold-gradient: linear-gradient(135deg, #e0b079 0%, #c89968 50%, #a87a3f 100%);
    --gold-glow: rgba(200, 153, 104, 0.25);
    
    /* Red accent (réservé) */
    --red: #ef4444;
    
    /* Fonts */
    --font-display: 'Fraunces', Georgia, serif;
    --font-body: 'Manrope', -apple-system, sans-serif;
    
    /* Sizes */
    --container: 1280px;
    --radius: 20px;
    --radius-sm: 12px;
    --radius-lg: 32px;
    
    /* Motion */
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-magnetic: cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-feature-settings: 'ss01', 'ss02';
}

/* ========================================
   ACCESSIBILITÉ — Focus clavier visible
======================================== */

/* Skip link (caché jusqu'au focus clavier) */
.skip-link {
    position: absolute;
    top: -100px;
    left: 16px;
    z-index: 10000;
    padding: 12px 20px;
    background: var(--text);
    color: var(--bg);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    border-radius: 8px;
    transition: top 0.2s var(--ease);
}

.skip-link:focus {
    top: 16px;
    outline: 2px solid var(--gold);
    outline-offset: 2px;
}

/* Focus visible global (navigation clavier uniquement, pas à la souris) */
*:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
    border-radius: 4px;
}

/* Le formulaire a son propre style focus (border + box-shadow) — pas d'outline */
.form-group input:focus-visible,
.form-group select:focus-visible,
.form-group textarea:focus-visible {
    outline: none;
}

/* Grain overlay */
.grain-overlay {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.035;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.95' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    mix-blend-mode: overlay;
}

/* Particles */
.particles {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: var(--gold);
    border-radius: 50%;
    opacity: 0.3;
    animation: float-particle linear infinite;
    will-change: transform, opacity;
    transform: translateZ(0); /* force GPU layer */
}

@keyframes float-particle {
    0% { transform: translateY(100vh) translateX(0); opacity: 0; }
    10% { opacity: 0.5; }
    90% { opacity: 0.3; }
    100% { transform: translateY(-100vh) translateX(100px); opacity: 0; }
}

/* ========================================
   TYPOGRAPHY
======================================== */

h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 400;
    letter-spacing: -0.02em;
    line-height: 1.05;
    color: var(--text);
}

.italic {
    font-style: italic;
    font-weight: 300;
    color: var(--gold);
}

.underline-gold {
    position: relative;
    display: inline-block;
}

.underline-gold::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 4px;
    width: 100%;
    height: 8px;
    background: var(--gold-gradient);
    opacity: 0.3;
    z-index: -1;
    border-radius: 4px;
}

/* ========================================
   NAVIGATION
======================================== */

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 20px 0;
    transition: all 0.4s var(--ease);
}

.nav.scrolled {
    background: rgba(250, 250, 247, 0.78);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    padding: 14px 0;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
}

.nav-container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #ffffff;
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 600;
    letter-spacing: -0.01em;
    text-shadow: 0 1px 12px rgba(0, 0, 0, 0.4);
    transition: all 0.3s var(--ease);
}

.nav.scrolled .nav-logo {
    color: var(--text);
    text-shadow: none;
}

.logo-icon {
    color: var(--gold);
    font-size: 20px;
    display: inline-block;
    animation: rotate-slow 20s linear infinite;
}

.logo-img {
    height: 36px;
    width: auto;
    display: block;
    transition: transform 0.4s var(--ease);
}

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

.footer-logo .logo-img {
    height: 32px;
}

@keyframes rotate-slow {
    to { transform: rotate(360deg); }
}

.nav-logo:hover .logo-icon {
    animation-duration: 2s;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 36px;
    align-items: center;
}

.nav-links a {
    color: #ffffff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.01em;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.35);
    transition: color 0.3s var(--ease);
    position: relative;
}

.nav.scrolled .nav-links a:not(.nav-cta) {
    color: var(--text);
    text-shadow: none;
}

.nav-links a:not(.nav-cta)::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: width 0.3s var(--ease);
}

.nav-links a:not(.nav-cta):hover::after {
    width: 100%;
}

.nav-links a:not(.nav-cta):hover {
    color: var(--gold-bright);
}

.nav.scrolled .nav-links a:not(.nav-cta):hover {
    color: var(--gold);
}

.nav-cta {
    background: var(--gold-gradient);
    color: var(--text-on-gold) !important;
    padding: 10px 20px;
    border-radius: 100px;
    font-weight: 600;
    transition: all 0.3s var(--ease);
    box-shadow: 0 4px 20px var(--gold-glow);
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--gold-glow);
}

.nav-burger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
}

.nav-burger span {
    width: 22px;
    height: 2px;
    background: #ffffff;
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.3);
    transition: all 0.3s var(--ease);
}

.nav-burger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.active span:nth-child(2) { opacity: 0; }
.nav-burger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav.scrolled .nav-burger span {
    background: var(--text);
    box-shadow: none;
}

/* ========================================
   BUTTONS
======================================== */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 28px;
    border-radius: 100px;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.4s var(--ease);
    position: relative;
    overflow: hidden;
}

.btn svg {
    transition: transform 0.3s var(--ease);
}

.btn:hover svg {
    transform: translateX(4px);
}

.btn-primary {
    background: var(--gold-gradient);
    color: var(--text-on-gold);
    box-shadow: 0 4px 20px var(--gold-glow), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.6s var(--ease);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px var(--gold-glow), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-ghost {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border-strong);
    backdrop-filter: blur(10px);
}

.btn-ghost:hover {
    background: var(--surface-hover);
    border-color: var(--gold);
    color: var(--gold);
}

/* ========================================
   HERO — Fullscreen immersif (style Apple/luxe)
======================================== */

.hero {
    position: relative;
    min-height: 100vh;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;
}

/* Image de fond pleine page */
.hero-bg-image {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.hero-bg-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.05);
    will-change: transform;
}

/* Dégradé professionnel : plus sombre à gauche pour la lisibilité du texte */
.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg,
            rgba(8, 8, 16, 0.78) 0%,
            rgba(8, 8, 16, 0.55) 35%,
            rgba(8, 8, 16, 0.25) 65%,
            rgba(8, 8, 16, 0.10) 100%),
        linear-gradient(180deg,
            rgba(8, 8, 16, 0.20) 0%,
            transparent 40%,
            rgba(8, 8, 16, 0.35) 100%);
}

/* Contenu aligné à gauche sur l'image */
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 720px;
    width: 100%;
    margin: 0;
    padding: 120px 32px 120px max(64px, 8vw);
    text-align: left;
    color: #ffffff;
}

/* Titre — line-height augmenté pour préserver les descendantes (g, y) */
.hero-title {
    font-size: clamp(52px, 8vw, 108px);
    line-height: 1.08;
    margin-bottom: 32px;
    font-weight: 400;
    color: #ffffff;
    text-shadow: 0 2px 24px rgba(0, 0, 0, 0.55), 0 1px 4px rgba(0, 0, 0, 0.35);
    padding-bottom: 0.08em;
}

.title-line {
    display: block;
    padding-bottom: 0.05em;
}

.title-accent {
    font-style: italic;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 400;
}

.title-period {
    color: var(--gold);
    -webkit-text-fill-color: var(--gold);
}

.hero-subtitle {
    font-size: clamp(19px, 1.7vw, 24px);
    color: #ffffff;
    max-width: 600px;
    margin: 0 0 48px;
    line-height: 1.55;
    font-weight: 400;
    letter-spacing: 0.005em;
    text-shadow: 0 1px 16px rgba(0, 0, 0, 0.55), 0 1px 3px rgba(0, 0, 0, 0.4);
}

.hero-cta {
    display: flex;
    gap: 16px;
    margin-bottom: 0;
    flex-wrap: wrap;
    justify-content: flex-start;
}

/* Sur fond hero, le bouton ghost devient blanc translucide */
.hero .btn-ghost {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.06);
}

.hero .btn-ghost:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--gold-bright);
    color: var(--gold-bright);
}

/* Indicateur de scroll en bas du Hero */
.hero-scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: rgba(255, 255, 255, 0.7);
    z-index: 2;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--gold-bright), transparent);
    animation: scroll-line 2s ease-in-out infinite;
}

@keyframes scroll-line {
    0%, 100% { transform: scaleY(1); transform-origin: top; }
    50% { transform: scaleY(0.3); transform-origin: top; }
}

/* ========================================
   SECTIONS COMMON
======================================== */

section {
    padding: 80px 32px;
    position: relative;
}

.section-header {
    max-width: 800px;
    margin: 0 auto 80px;
    text-align: center;
}

.section-label {
    display: inline-block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--gold);
    margin-bottom: 24px;
    font-weight: 600;
    position: relative;
    padding: 0 20px;
}

.section-label::before,
.section-label::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 12px;
    height: 1px;
    background: var(--gold);
}

.section-label::before { right: 100%; }
.section-label::after { left: 100%; }

.section-title {
    font-size: clamp(36px, 5vw, 64px);
    font-weight: 300;
    margin-bottom: 24px;
}

.section-subtitle {
    font-size: 17px;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.legend {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    padding: 6px 14px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 13px;
}

.legend-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.legend-reserved {
    background: var(--red);
    box-shadow: 0 0 8px rgba(239, 68, 68, 0.4);
}

.legend-available-dot {
    background: #22c55e;
    box-shadow: 0 0 8px rgba(34, 197, 94, 0.4);
}

.legend-warning-dot {
    background: #f59e0b;
    box-shadow: 0 0 8px rgba(245, 158, 11, 0.45);
}

.legend-available {
    color: #15803d;
}

.legend-warning {
    color: #b45309;
}

.legend-busy {
    color: var(--red);
}

/* ========================================
   ABOUT — Qui sommes-nous ? (layout magazine)
======================================== */

.about {
    background: var(--bg-secondary);
    padding: 80px 32px;
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--gold-glow), transparent 70%);
    opacity: 0.4;
    pointer-events: none;
    z-index: 0;
}

.about-container {
    max-width: var(--container);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 96px;
    align-items: center;
    position: relative;
    z-index: 1;
}

/* Visuel — image avec décalage style magazine */
.about-visual {
    position: relative;
    aspect-ratio: 3/2;
    max-height: 520px;
    transform: translateY(-24px);
}

.about-image-frame {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow:
        0 30px 60px rgba(0, 0, 0, 0.18),
        0 12px 24px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    z-index: 2;
}

.about-image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--ease);
}

.about-visual:hover .about-image-frame img {
    transform: scale(1.04);
}

/* Bloc doré décalé derrière l'image (effet magazine) */
.about-image-accent {
    position: absolute;
    top: 32px;
    left: -36px;
    width: 65%;
    height: 75%;
    background: var(--gold-gradient);
    opacity: 0.18;
    border-radius: var(--radius-lg);
    z-index: 1;
}

/* Tag flottant en bas de l'image */
.about-image-tag {
    position: absolute;
    bottom: -18px;
    right: -16px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 22px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
    animation: tag-float 5s ease-in-out infinite;
}

.about-image-tag .tag-icon {
    color: var(--gold);
    font-size: 16px;
}

@keyframes tag-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* Contenu texte */
.about-content {
    padding: 16px 0;
}

.about-title {
    font-size: clamp(38px, 4.6vw, 60px);
    line-height: 1.08;
    margin: 22px 0 36px;
    color: var(--text);
    font-weight: 400;
    padding-bottom: 0.08em;
    letter-spacing: -0.015em;
}

.about-text {
    font-size: 17px;
    line-height: 1.75;
    color: var(--text-muted);
    margin-bottom: 22px;
    max-width: 560px;
}

.about-text-lead {
    color: var(--text);
    font-size: 19px;
    font-weight: 500;
    line-height: 1.55;
    margin-bottom: 28px;
}

.about-signature {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 36px;
    padding-top: 28px;
    border-top: 1px solid var(--border);
}

.signature-line {
    width: 40px;
    height: 1px;
    background: var(--gold-gradient);
}

.signature-text {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 300;
    font-size: 18px;
    color: var(--gold);
    letter-spacing: 0.005em;
}

/* ========================================
   CONCEPT / CHAPTERS
======================================== */

.concept {
    background: linear-gradient(to bottom, var(--bg-secondary), var(--bg));
}

.chapters {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.chapter {
    display: grid;
    grid-template-columns: auto 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 20px 0;
}

.chapter-2,
.chapter-4 {
    grid-template-columns: 1fr 1fr auto;
}

.chapter-2 .chapter-number,
.chapter-4 .chapter-number { order: 3; }
.chapter-2 .chapter-content,
.chapter-4 .chapter-content { order: 2; }
.chapter-2 .chapter-visual,
.chapter-4 .chapter-visual { order: 1; }

.chapter-number {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    min-width: 80px;
}

.chapter-roman {
    font-family: var(--font-display);
    font-size: 64px;
    font-weight: 400;
    font-style: normal;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.chapter-line {
    width: 1px;
    height: 120px;
    background: linear-gradient(to bottom, var(--gold), transparent);
}

.chapter-title {
    font-size: clamp(32px, 4vw, 48px);
    margin-bottom: 20px;
    font-weight: 300;
}

.chapter-text {
    font-size: 17px;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 24px;
}

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

.chapter-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 13px;
    color: var(--text-muted);
    backdrop-filter: blur(10px);
    transition: all 0.3s var(--ease);
}

.chip:hover {
    background: var(--surface-hover);
    border-color: var(--gold-dim);
    color: var(--text);
}

.chip-dot {
    width: 5px;
    height: 5px;
    background: var(--gold);
    border-radius: 50%;
}

/* Chapter Visuals */
.chapter-visual {
    aspect-ratio: 3/4;
    max-width: 340px;
}

/* Photo frame uniforme pour les étapes I et III */
.chapter-photo {
    width: 100%;
    height: 100%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.12),
        0 8px 20px rgba(0, 0, 0, 0.06);
}

.chapter-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s var(--ease);
    display: block;
}

.chapter-photo:hover img {
    transform: scale(1.04);
}

/* Live Frame (étape II) */
.live-frame {
    width: 100%;
    height: 100%;
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.12),
        0 8px 20px rgba(0, 0, 0, 0.06);
}

.live-photo {
    position: absolute;
    inset: 0;
    border-radius: 0;
    overflow: hidden;
}

.live-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s var(--ease);
    display: block;
}

.live-frame:hover .live-photo img {
    transform: scale(1.04);
}

.live-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100px;
    height: 100px;
    border: 2px solid var(--gold);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: pulse-ring 2s ease-out infinite;
    opacity: 0;
    pointer-events: none;
}

@keyframes pulse-ring {
    0% { transform: translate(-50%, -50%) scale(0.5); opacity: 1; }
    100% { transform: translate(-50%, -50%) scale(2); opacity: 0; }
}

.live-indicator {
    position: absolute;
    top: 16px;
    left: 16px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(239, 68, 68, 0.25);
    border-radius: 100px;
    backdrop-filter: blur(12px);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--red);
    z-index: 2;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.live-dot {
    width: 8px;
    height: 8px;
    background: var(--red);
    border-radius: 50%;
    animation: pulse-dot 1s ease-in-out infinite;
}

/* Flèches directionnelles entre étapes */
.step-arrow {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    color: var(--text-dim);
}

.step-arrow-track {
    width: 1px;
    height: 24px;
    background: linear-gradient(to bottom, var(--border-strong), transparent);
}

.step-arrow-head {
    width: 36px;
    height: 36px;
    border: 1px solid var(--border-strong);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-tertiary);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    color: var(--gold);
}

.step-arrow-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 500;
    color: var(--text-dim);
}

/* ========================================
   PACKS
======================================== */

.packs {
    background: var(--bg);
}

.packs-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.pack {
    position: relative;
    padding: 40px 32px;
    background: linear-gradient(180deg, var(--surface), rgba(255, 255, 255, 0.01));
    border: 1px solid var(--border);
    border-radius: var(--radius);
    backdrop-filter: blur(20px);
    transition: all 0.5s var(--ease);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.pack:hover {
    transform: translateY(-8px);
    border-color: var(--border-strong);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.pack-popular {
    background: linear-gradient(180deg, rgba(212, 165, 116, 0.05), rgba(255, 255, 255, 0.01));
    border-color: rgba(212, 165, 116, 0.2);
}

.pack-prestige {
    background: linear-gradient(180deg, rgba(212, 165, 116, 0.08), rgba(184, 115, 51, 0.02));
    border: 1px solid rgba(212, 165, 116, 0.3);
}

.pack-prestige::before {
    content: '';
    position: absolute;
    inset: 0;
    padding: 1px;
    background: var(--gold-gradient);
    border-radius: var(--radius);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0.6;
    pointer-events: none;
}

.pack-shine {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 40%, rgba(212, 165, 116, 0.08) 50%, transparent 60%);
    pointer-events: none;
    animation: pack-shine 6s linear infinite;
}

@keyframes pack-shine {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

.pack-header {
    margin-bottom: 32px;
    position: relative;
    z-index: 1;
}

.pack-name {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 300;
    font-style: italic;
    color: var(--text);
}

.pack-num {
    display: inline-block;
    font-style: normal;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 500;
}

.pack-visual {
    height: 100px;
    margin-bottom: 32px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
}

.pack-circle {
    position: absolute;
    border-radius: 50%;
    border: 1px solid var(--gold-dim);
    opacity: 0.4;
}

.circle-1 {
    width: 70px;
    height: 70px;
    background: radial-gradient(circle, rgba(212, 165, 116, 0.2), transparent);
}

.circle-2 {
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, rgba(212, 165, 116, 0.2), transparent);
}

.circle-2b {
    width: 55px;
    height: 55px;
    transform: translate(25px, -15px);
    background: radial-gradient(circle, rgba(212, 165, 116, 0.3), transparent);
}

.circle-3 {
    width: 90px;
    height: 90px;
    background: radial-gradient(circle, rgba(212, 165, 116, 0.3), transparent);
    border-color: var(--gold);
}

.circle-3b {
    width: 65px;
    height: 65px;
    transform: translate(30px, -20px);
    background: radial-gradient(circle, rgba(245, 200, 145, 0.3), transparent);
    border-color: var(--gold);
}

.circle-3c {
    width: 45px;
    height: 45px;
    transform: translate(-35px, 20px);
    background: radial-gradient(circle, rgba(184, 115, 51, 0.3), transparent);
    border-color: var(--gold-dim);
}

.pack-highlight {
    padding: 16px 20px;
    background: rgba(212, 165, 116, 0.1);
    border: 1px solid rgba(212, 165, 116, 0.2);
    border-radius: var(--radius-sm);
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 24px;
    color: var(--text);
    position: relative;
    z-index: 1;
}

.pack-highlight strong {
    color: var(--gold);
}

.pack-features {
    list-style: none;
    margin-bottom: 32px;
    flex-grow: 1;
    position: relative;
    z-index: 1;
}

.pack-features li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 0;
    font-size: 15px;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border);
}

.pack-features li:last-child {
    border-bottom: none;
}

.pack-features li strong {
    color: var(--text);
    font-weight: 600;
}

.feature-check {
    color: var(--gold);
    font-size: 10px;
    margin-top: 7px;
    flex-shrink: 0;
}

.feature-check.premium {
    color: var(--gold-bright);
    font-size: 12px;
}

.feature-extra {
    opacity: 0.7;
}

.feature-plus {
    color: var(--text-dim);
    font-weight: 700;
    margin-top: 2px;
    flex-shrink: 0;
}

.feature-extra em {
    color: var(--text-dim);
    font-style: italic;
    font-size: 13px;
}

.pack-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 24px;
    background: var(--surface);
    border: 1px solid var(--border-strong);
    border-radius: 100px;
    color: var(--text);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s var(--ease);
    position: relative;
    z-index: 1;
}

.pack-cta:hover {
    background: var(--surface-hover);
    border-color: var(--gold);
    color: var(--gold);
    transform: translateX(4px);
}

.pack-cta-popular {
    background: rgba(212, 165, 116, 0.1);
    border-color: var(--gold-dim);
    color: var(--gold);
}

.pack-cta-prestige {
    background: var(--gold-gradient);
    color: var(--bg);
    border: none;
    box-shadow: 0 4px 20px var(--gold-glow);
}

.pack-cta-prestige:hover {
    box-shadow: 0 8px 30px var(--gold-glow);
    color: var(--bg);
    transform: translateY(-2px);
}

.packs-note {
    text-align: center;
    margin-top: 60px;
    color: var(--text-muted);
    font-size: 15px;
}

.packs-note span {
    color: var(--gold);
    margin-right: 8px;
}

/* ========================================
   COMMANDE CADEAU INVITÉ — Vente directe sans animation
======================================== */

.gift-order {
    background: var(--bg);
    position: relative;
    overflow: hidden;
}

/* Halo doré subtil pour différencier visuellement */
.gift-order::before {
    content: '';
    position: absolute;
    top: -150px;
    left: -150px;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, var(--gold-glow), transparent 70%);
    opacity: 0.35;
    pointer-events: none;
    z-index: 0;
}

.gift-order-container {
    max-width: var(--container);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}

/* Contenu texte (gauche) */
.gift-order-content {
    padding: 8px 0;
}

.gift-order-title {
    font-size: clamp(36px, 4.4vw, 56px);
    line-height: 1.08;
    margin: 22px 0 28px;
    color: var(--text);
    font-weight: 400;
    letter-spacing: -0.015em;
    padding-bottom: 0.08em;
}

.gift-order-lead {
    font-size: 19px;
    font-weight: 500;
    color: var(--text);
    line-height: 1.5;
    margin-bottom: 20px;
    max-width: 540px;
}

.gift-order-text {
    font-size: 17px;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 18px;
    max-width: 540px;
}

.gift-order-text strong {
    color: var(--text);
    font-weight: 600;
}

/* CTA WhatsApp + main pointée */
.gift-order-cta {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    margin-top: 16px;
}

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 28px;
    background: linear-gradient(135deg, #25D366 0%, #1ebe5a 100%);
    color: #ffffff;
    border-radius: 100px;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    box-shadow:
        0 8px 24px rgba(37, 211, 102, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.25);
    transition: all 0.4s var(--ease);
    position: relative;
    overflow: hidden;
}

.btn-whatsapp::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s var(--ease);
}

.btn-whatsapp:hover {
    transform: translateY(-3px);
    box-shadow:
        0 14px 36px rgba(37, 211, 102, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn-whatsapp:hover::before {
    left: 100%;
}

.btn-whatsapp svg {
    flex-shrink: 0;
}

/* Main pointée animée vers le bouton */
.gift-order-pointer {
    font-size: 38px;
    display: inline-block;
    line-height: 1;
    transform-origin: center right;
    animation: pointer-wave 1.4s ease-in-out infinite;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

@keyframes pointer-wave {
    0%, 100% {
        transform: translateX(0) rotate(0deg);
    }
    25% {
        transform: translateX(-10px) rotate(-6deg);
    }
    50% {
        transform: translateX(0) rotate(0deg);
    }
    75% {
        transform: translateX(-10px) rotate(-6deg);
    }
}

/* Visuel image (droite) */
.gift-order-visual {
    position: relative;
    aspect-ratio: 4/5;
    max-height: 580px;
}

.gift-order-image-frame {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow:
        0 30px 60px rgba(0, 0, 0, 0.15),
        0 12px 24px rgba(0, 0, 0, 0.07),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
    z-index: 2;
}

.gift-order-image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s var(--ease);
    display: block;
}

.gift-order-visual:hover .gift-order-image-frame img {
    transform: scale(1.04);
}

/* Bloc doré décalé derrière (effet magazine, miroir d'About) */
.gift-order-image-accent {
    position: absolute;
    bottom: 32px;
    right: -36px;
    width: 65%;
    height: 75%;
    background: var(--gold-gradient);
    opacity: 0.18;
    border-radius: var(--radius-lg);
    z-index: 1;
}

/* ========================================
   CALENDRIER
======================================== */

.calendrier {
    background: var(--bg-secondary);
}

.carousel-wrapper {
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    display: flex;
    align-items: center;
    gap: 20px;
}

.carousel {
    flex: 1;
    overflow: hidden;
    border-radius: var(--radius);
}

.carousel-track {
    display: flex;
    transition: transform 0.6s var(--ease);
    will-change: transform;
}

.carousel-slide {
    min-width: calc(100% / 3);
    padding: 0 12px;
}

.month-card {
    background: linear-gradient(180deg, var(--surface), rgba(255, 255, 255, 0.01));
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    backdrop-filter: blur(20px);
    transition: all 0.4s var(--ease);
    position: relative;
    overflow: hidden;
}

.month-card:hover {
    border-color: var(--gold-dim);
    transform: translateY(-4px);
}

.month-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 24px;
}

.month-name {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 300;
    font-style: italic;
    color: var(--text);
}

.month-year {
    font-size: 12px;
    color: var(--text-dim);
    letter-spacing: 0.1em;
}

.month-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
    font-size: 11px;
}

.day-header {
    text-align: center;
    padding: 6px 0;
    color: var(--text-dim);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 10px;
}

.day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    font-size: 12px;
    color: var(--text-muted);
    position: relative;
    cursor: default;
    transition: all 0.2s var(--ease);
}

.day:hover:not(.empty):not(.reserved) {
    background: var(--surface-hover);
    color: var(--gold);
}

.day.empty {
    opacity: 0;
}

.day.reserved {
    color: var(--red);
    opacity: 0.6;
}

.day.reserved::before {
    content: '';
    position: absolute;
    inset: 4px;
    border: 1px solid var(--red);
    border-radius: 4px;
    opacity: 0.3;
}

.day.reserved::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 15%;
    right: 15%;
    height: 1.5px;
    background: var(--red);
    transform: rotate(-45deg);
}

.day.today {
    background: var(--gold-gradient);
    color: var(--bg);
    font-weight: 700;
}

.month-legend {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 11px;
    color: var(--text-dim);
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.carousel-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--surface);
    border: 1px solid var(--border-strong);
    backdrop-filter: blur(20px);
    color: var(--text);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s var(--ease);
    flex-shrink: 0;
}

.carousel-btn:hover {
    background: var(--gold-gradient);
    color: var(--bg);
    border-color: transparent;
    transform: scale(1.1);
}

.carousel-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
}

.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--border-strong);
    cursor: pointer;
    transition: all 0.3s var(--ease);
    border: none;
    padding: 0;
}

.carousel-dot.active {
    background: var(--gold);
    width: 24px;
    border-radius: 4px;
}

/* ========================================
   CONTACT
======================================== */

.contact {
    background: var(--bg);
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 800px 500px at 50% 0%, rgba(212, 165, 116, 0.05), transparent);
    pointer-events: none;
}

.contact-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.contact-header {
    text-align: center;
    margin-bottom: 60px;
}

.contact-form {
    background: white;
    border: 1px solid rgba(200, 153, 104, 0.18);
    border-radius: var(--radius);
    padding: 48px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04), 0 12px 40px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

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

.form-group label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    letter-spacing: 0.02em;
}

.required {
    color: var(--gold);
}

.optional {
    color: var(--text-dim);
    font-weight: 400;
    font-size: 12px;
    font-style: italic;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 14px 16px;
    background: var(--bg-secondary);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: var(--radius-sm);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 16px; /* 16px minimum pour éviter le zoom iOS */
    transition: all 0.3s var(--ease);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
    background: white;
    box-shadow: 0 0 0 3px var(--gold-glow);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
    font-family: var(--font-body);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23d4a574' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.form-group select option {
    background: var(--bg-tertiary);
    color: var(--text);
}

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

.btn-submit {
    align-self: center;
    margin-top: 12px;
    padding: 18px 40px;
    font-size: 16px;
}

.form-success {
    display: none;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    background: rgba(212, 165, 116, 0.1);
    border: 1px solid var(--gold-dim);
    border-radius: var(--radius-sm);
    margin-top: 16px;
}

.form-success.show {
    display: flex;
    animation: success-in 0.5s var(--ease);
}

@keyframes success-in {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.success-icon {
    width: 36px;
    height: 36px;
    background: var(--gold-gradient);
    color: var(--bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.form-success strong {
    display: block;
    color: var(--text);
    margin-bottom: 2px;
}

.form-success span {
    font-size: 14px;
    color: var(--text-muted);
}

/* Bloc d'erreur (fallback Formspree) — même structure que .form-success */
.form-error {
    display: none;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.4);
    border-radius: var(--radius-sm);
    margin-top: 16px;
}

.form-error.show {
    display: flex;
    animation: success-in 0.5s var(--ease);
}

.error-icon {
    width: 36px;
    height: 36px;
    background: var(--red);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    flex-shrink: 0;
}

.form-error strong {
    display: block;
    color: var(--text);
    margin-bottom: 2px;
}

.form-error span {
    font-size: 14px;
    color: var(--text-muted);
}

.form-error a {
    color: var(--gold);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: rgba(200, 153, 104, 0.4);
    text-underline-offset: 3px;
}

.form-error a:hover {
    color: var(--copper);
}

/* État "envoi en cours" du bouton submit */
.btn-submit:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none !important;
}

/* ========================================
   TECHNIQUE
======================================== */

.technique {
    padding: 60px 32px;
    background: var(--bg);
    border-top: 1px solid var(--border);
}

.technique-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 28px 32px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    backdrop-filter: blur(10px);
}

.technique-icon {
    width: 56px;
    height: 56px;
    background: rgba(212, 165, 116, 0.1);
    border: 1px solid var(--gold-dim);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    flex-shrink: 0;
}

.technique-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 4px;
    font-family: var(--font-body);
    color: var(--text);
    letter-spacing: 0;
}

.technique-content p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.5;
}

.technique-content strong {
    color: var(--text);
}

/* ========================================
   TEMOIGNAGES
======================================== */

.temoignages {
    background: var(--bg);
    padding: 80px 32px;
}

.temoignages-container {
    max-width: var(--container);
    margin: 0 auto;
}

.temoignages-header {
    text-align: center;
    margin-bottom: 56px;
}

/* Rating pill */
.temo-rating-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: white;
    border: 1px solid rgba(200, 153, 104, 0.22);
    border-radius: 100px;
    padding: 9px 22px;
    margin-top: 22px;
    font-family: 'Manrope', sans-serif;
    font-size: 0.82rem;
    color: var(--text-muted);
}

.temo-stars-global {
    color: #f59e0b;
    letter-spacing: 2px;
    font-size: 0.88rem;
}

/* Bento grid */
.temoignages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 48px;
}

/* Individual card */
.temo-card {
    background: white;
    border-radius: 20px;
    padding: 30px 28px;
    border: 1px solid rgba(200, 153, 104, 0.12);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04), 0 8px 32px rgba(0, 0, 0, 0.06);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.temo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05), 0 24px 64px rgba(0, 0, 0, 0.1);
}

/* Featured : spans 2 columns */
.temo-featured {
    grid-column: span 2;
    background: linear-gradient(135deg, #fdfbf8 0%, #f9f4ec 100%);
    border-color: rgba(200, 153, 104, 0.28);
}

/* Decorative giant quote mark */
.temo-quote-deco {
    font-family: 'Fraunces', Georgia, serif;
    font-size: 6rem;
    line-height: 1;
    color: var(--gold);
    opacity: 0.14;
    position: absolute;
    top: 10px;
    right: 18px;
    font-style: italic;
    pointer-events: none;
    user-select: none;
}

/* Stars row */
.temo-stars {
    color: #f59e0b;
    font-size: 0.88rem;
    letter-spacing: 3px;
    flex-shrink: 0;
}

/* Quote text */
.temo-text {
    font-family: 'Fraunces', Georgia, serif;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text);
    font-style: italic;
    margin: 0;
    flex: 1;
}

.temo-featured .temo-text {
    font-size: 1.08rem;
}

/* Author row */
.temo-author {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: auto;
    padding-top: 6px;
}

/* Avatar circle */
.temo-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold) 0%, #c07a48 100%);
    color: white;
    font-family: 'Fraunces', serif;
    font-weight: 600;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.temo-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.temo-name {
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    font-size: 0.8rem;
    color: var(--text);
}

.temo-event-badge {
    font-family: 'Manrope', sans-serif;
    font-size: 0.72rem;
    color: var(--gold);
    font-weight: 500;
}

/* Platform chip */
.temo-platform {
    font-family: 'Manrope', sans-serif;
    font-size: 0.68rem;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 100px;
    letter-spacing: 0.02em;
    flex-shrink: 0;
}

.temo-ig {
    color: #c13584;
    border: 1px solid rgba(193, 53, 132, 0.2);
    background: rgba(193, 53, 132, 0.05);
}

.temo-fb {
    color: #1877f2;
    border: 1px solid rgba(24, 119, 242, 0.2);
    background: rgba(24, 119, 242, 0.05);
}

.temo-wa {
    color: #25d366;
    border: 1px solid rgba(37, 211, 102, 0.2);
    background: rgba(37, 211, 102, 0.05);
}

/* Closing CTA row */
.temo-cta-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    padding-top: 8px;
}

.temo-cta-text {
    font-family: 'Fraunces', Georgia, serif;
    font-size: 1.1rem;
    font-style: italic;
    color: var(--text-muted);
}

/* ========================================
   FAQ — Accordéon élégant
======================================== */

.faq {
    background: var(--bg-secondary);
    padding: 80px 32px;
}

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

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* Carte FAQ */
.faq-item {
    background: white;
    border-radius: 18px;
    border: 1px solid rgba(200, 153, 104, 0.14);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.faq-item:hover {
    border-color: rgba(200, 153, 104, 0.28);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.faq-item.is-open {
    border-color: rgba(200, 153, 104, 0.45);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
}

/* Bouton question (cliquable) */
.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 24px 28px;
    cursor: pointer;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 20px;
    text-align: left;
    font-family: var(--font-display);
    color: var(--text);
    transition: background 0.3s var(--ease);
}

.faq-question:hover {
    background: rgba(200, 153, 104, 0.04);
}

.faq-num {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 400;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    flex-shrink: 0;
    letter-spacing: 0.02em;
}

.faq-question-text {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 400;
    line-height: 1.45;
    color: var(--text);
}

.faq-item.is-open .faq-question-text {
    color: var(--gold);
}

/* Icône + (rotation 45° → ×) */
.faq-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1.5px solid rgba(200, 153, 104, 0.4);
    position: relative;
    flex-shrink: 0;
    transition: transform 0.4s var(--ease-magnetic), border-color 0.3s var(--ease), background 0.3s var(--ease);
}

.faq-icon::before,
.faq-icon::after {
    content: '';
    position: absolute;
    background: var(--gold);
    border-radius: 1px;
    top: 50%;
    left: 50%;
    transition: transform 0.3s var(--ease);
}

.faq-icon::before {
    width: 12px;
    height: 1.5px;
    transform: translate(-50%, -50%);
}

.faq-icon::after {
    width: 1.5px;
    height: 12px;
    transform: translate(-50%, -50%);
}

.faq-item.is-open .faq-icon {
    transform: rotate(135deg);
    border-color: var(--gold);
    background: rgba(200, 153, 104, 0.08);
}

/* Réponse — animation max-height */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s var(--ease);
}

.faq-item.is-open .faq-answer {
    max-height: 1200px;
}

.faq-answer-inner {
    padding: 0 28px 28px 28px;
    border-top: 1px solid rgba(200, 153, 104, 0.12);
    margin-top: 4px;
    padding-top: 20px;
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-muted);
}

.faq-answer-inner p {
    margin: 0 0 14px 0;
}

.faq-answer-inner p:last-child {
    margin-bottom: 0;
}

.faq-answer-inner ul,
.faq-answer-inner ol {
    margin: 0 0 14px 0;
    padding-left: 22px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.faq-answer-inner ul li::marker {
    color: var(--gold);
}

.faq-answer-inner ol li::marker {
    color: var(--gold);
    font-weight: 600;
}

.faq-answer-inner strong {
    color: var(--text);
    font-weight: 600;
}

.faq-answer-inner a {
    color: var(--gold);
    text-decoration: none;
    border-bottom: 1px solid rgba(200, 153, 104, 0.4);
    transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.faq-answer-inner a:hover {
    color: var(--copper);
    border-color: var(--copper);
}

/* ============================================
   FAQ — Affichage progressif (5 visibles + bouton "Voir plus")
============================================ */

/* Items masqués par défaut : repliés totalement (height 0) */
.faq-item-hidden {
    max-height: 0;
    opacity: 0;
    margin: 0;
    padding: 0;
    border-width: 0;
    overflow: hidden;
    pointer-events: none;
    transition:
        max-height 0.5s var(--ease),
        opacity 0.4s var(--ease),
        margin 0.4s var(--ease),
        border-width 0.3s var(--ease);
}

/* Quand la liste est en mode "expanded", on les déplie */
.faq-list.expanded .faq-item-hidden {
    max-height: 800px; /* Largement suffisant pour la plus longue réponse fermée */
    opacity: 1;
    border-width: 1px;
    pointer-events: auto;
    /* Le gap du flex parent gère l'espacement entre items */
}

/* Wrapper du bouton */
.faq-toggle-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 28px;
}

/* Bouton "Voir plus" — design élégant, cohérent avec la palette dorée */
.faq-toggle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 26px;
    background: white;
    color: var(--text);
    border: 1px solid rgba(200, 153, 104, 0.35);
    border-radius: 100px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.01em;
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 6px 20px rgba(200, 153, 104, 0.08);
    transition:
        transform 0.35s var(--ease),
        box-shadow 0.35s var(--ease),
        border-color 0.35s var(--ease),
        background 0.35s var(--ease);
}

.faq-toggle:hover {
    transform: translateY(-2px);
    border-color: var(--gold);
    background: linear-gradient(135deg, #fdfbf8 0%, #f9f4ec 100%);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05), 0 14px 36px rgba(200, 153, 104, 0.18);
}

.faq-toggle:active {
    transform: translateY(0);
}

/* Compteur "+8" en pastille dorée */
.faq-toggle-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 22px;
    padding: 0 8px;
    background: var(--gold-gradient);
    color: white;
    border-radius: 100px;
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0;
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}

/* Icône chevron */
.faq-toggle-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    transition: transform 0.4s var(--ease);
}

/* Quand le bouton est en mode "expanded" : chevron retourné, compteur masqué */
.faq-toggle[aria-expanded="true"] .faq-toggle-icon {
    transform: rotate(180deg);
}

.faq-toggle[aria-expanded="true"] .faq-toggle-count {
    opacity: 0;
    transform: scale(0.5);
    width: 0;
    min-width: 0;
    padding: 0;
    margin-left: -10px;
    overflow: hidden;
}

/* ========================================
   FOOTER
======================================== */

.footer {
    padding: 80px 32px 40px;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
}

.footer-container {
    max-width: var(--container);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 80px;
    padding-bottom: 60px;
    border-bottom: 1px solid var(--border);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 400;
    margin-bottom: 20px;
}

.footer-tagline {
    font-family: var(--font-display);
    font-size: 17px;
    font-style: italic;
    font-weight: 300;
    color: var(--text-muted);
    line-height: 1.5;
    max-width: 400px;
}

.footer-tagline em {
    color: var(--gold);
    font-weight: 400;
}

/* Suivez-nous : icônes sociales */
.footer-social {
    margin-top: 28px;
}

.footer-social-title {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--gold);
    margin-bottom: 14px;
}

.footer-social-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.social-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: white;
    color: var(--text-muted);
    border: 1px solid rgba(200, 153, 104, 0.18);
    transition: transform 0.3s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
    text-decoration: none;
}

.social-icon:hover {
    transform: translateY(-3px) scale(1.06);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    color: white;
    border-color: transparent;
}

.social-mail:hover {
    background: linear-gradient(135deg, var(--gold) 0%, #c07a48 100%);
}

.social-instagram:hover {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.social-facebook:hover {
    background: #1877f2;
}

.social-tiktok:hover {
    background: #000;
}

.social-whatsapp:hover {
    background: #25d366;
}

.footer-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.footer-col h4 {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--gold);
    margin-bottom: 20px;
}

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

.footer-col a,
.footer-col span {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s var(--ease);
}

.footer-col a:hover {
    color: var(--gold);
}

.footer-bottom {
    max-width: var(--container);
    margin: 0 auto;
    padding-top: 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: var(--text-dim);
}

.footer-credit {
    font-style: italic;
    font-family: var(--font-display);
}

/* ========================================
   WHATSAPP FLOAT
======================================== */

.whatsapp-float {
    position: fixed;
    bottom: 32px;
    right: 32px;
    z-index: 90;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 24px 14px 16px;
    background: #25D366;
    color: white;
    border-radius: 100px;
    text-decoration: none;
    box-shadow: 
        0 10px 40px rgba(37, 211, 102, 0.4),
        0 4px 12px rgba(0, 0, 0, 0.2);
    transition: all 0.4s var(--ease);
    font-weight: 600;
    font-size: 14px;
}

.whatsapp-float svg {
    flex-shrink: 0;
}

.whatsapp-float:hover {
    transform: translateY(-4px);
    box-shadow: 
        0 20px 60px rgba(37, 211, 102, 0.5),
        0 6px 20px rgba(0, 0, 0, 0.3);
}

.whatsapp-pulse {
    position: absolute;
    inset: 0;
    border-radius: 100px;
    background: #25D366;
    animation: whatsapp-pulse 2s ease-out infinite;
    z-index: -1;
}

@keyframes whatsapp-pulse {
    0% { transform: scale(1); opacity: 0.6; }
    100% { transform: scale(1.3); opacity: 0; }
}

.whatsapp-label {
    white-space: nowrap;
}

/* ========================================
   ANIMATIONS (MAGNETIC REVEAL)
======================================== */

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Magnetic "succion" effect — version allégée (sans blur) :
   le filter:blur() est extrêmement coûteux pour le GPU et causait des
   saccades de scroll. On garde l'effet d'apparition (translation + scale)
   qui suffit pour donner un look premium sans dégrader les FPS. */
.reveal-magnetic {
    opacity: 0;
    transform: translateY(80px) scale(0.92);
    transition: opacity 1s var(--ease-magnetic),
                transform 1s var(--ease-magnetic);
}

.reveal-magnetic.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Staggered reveal for grid children */
.reveal-magnetic.visible .pack-features li {
    animation: feature-in 0.6s var(--ease) both;
}

@keyframes feature-in {
    from { opacity: 0; transform: translateX(-10px); }
    to { opacity: 1; transform: translateX(0); }
}

.pack-features li:nth-child(1) { animation-delay: 0.1s; }
.pack-features li:nth-child(2) { animation-delay: 0.2s; }
.pack-features li:nth-child(3) { animation-delay: 0.3s; }
.pack-features li:nth-child(4) { animation-delay: 0.4s; }
.pack-features li:nth-child(5) { animation-delay: 0.5s; }
.pack-features li:nth-child(6) { animation-delay: 0.6s; }

/* Hero initial stagger */
.hero-title { animation-delay: 0.1s; }
.hero-subtitle { animation-delay: 0.2s; }
.hero-cta { animation-delay: 0.3s; }

/* ========================================
   RESPONSIVE
======================================== */

@media (max-width: 1024px) {
    .about-container {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .about-visual {
        max-width: 480px;
        margin: 0 auto;
        transform: none;
    }

    .about-image-accent {
        left: -20px;
        top: 24px;
    }

    .gift-order-container {
        grid-template-columns: 1fr;
        gap: 56px;
    }

    .gift-order-visual {
        max-width: 460px;
        margin: 0 auto;
        order: 2;
    }

    .gift-order-content {
        order: 1;
    }

    .gift-order-image-accent {
        right: -20px;
        bottom: 24px;
    }

    /* Témoignages — tablette */
    .temoignages-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .temo-featured {
        grid-column: span 2;
    }

    .packs-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
    }

    .chapter,
    .chapter-2,
    .chapter-4 {
        grid-template-columns: auto 1fr;
        gap: 40px;
    }

    .chapter-2 .chapter-number,
    .chapter-2 .chapter-content,
    .chapter-4 .chapter-number,
    .chapter-4 .chapter-content {
        order: initial;
    }

    .chapter-visual,
    .chapter-2 .chapter-visual,
    .chapter-4 .chapter-visual {
        grid-column: 1 / -1;
        order: 3;
        max-width: 300px;
        aspect-ratio: 3/4;
        margin: 0 auto;
    }

    .carousel-slide {
        min-width: calc(100% / 2);
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 48px;
    }
}

@media (max-width: 768px) {
    section {
        padding: 56px 20px;
    }

    .section-header {
        margin: 0 auto 48px;
    }

    .about {
        padding: 56px 20px;
    }

    .about-image-tag {
        right: 0;
        font-size: 13px;
        padding: 12px 18px;
    }

    .about-image-accent {
        left: -12px;
        width: 70%;
    }

    .gift-order-image-accent {
        right: -12px;
        width: 70%;
    }

    .gift-order-cta {
        flex-wrap: wrap;
        gap: 14px;
    }

    .gift-order-pointer {
        font-size: 32px;
    }

    .btn-whatsapp {
        padding: 14px 24px;
        font-size: 14px;
    }

    .nav-container {
        padding: 0 20px;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(250, 250, 247, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 24px;
        gap: 20px;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    }

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

    /* Quand le menu mobile est ouvert : liens en couleur sombre (lisibles sur fond ivoire) */
    .nav-links.open a:not(.nav-cta) {
        color: var(--text);
        text-shadow: none;
    }

    .nav-burger {
        display: flex;
    }

    /* Burger : couleur sombre quand le menu est ouvert (pour cohérence avec les liens) */
    .nav-burger.active span {
        background: var(--text);
        box-shadow: none;
    }

    .hero-content {
        padding: 110px 24px 100px 24px;
    }

    .hero-cta {
        flex-direction: column;
        width: 100%;
        align-items: stretch;
    }

    .hero-cta .btn {
        width: 100%;
        justify-content: center;
    }

    .chapter {
        grid-template-columns: 1fr;
        gap: 28px;
        text-align: center;
    }

    .chapter-2 .chapter-number,
    .chapter-2 .chapter-content,
    .chapter-2 .chapter-visual,
    .chapter-4 .chapter-number,
    .chapter-4 .chapter-content,
    .chapter-4 .chapter-visual {
        order: unset;
    }

    .chapter-number {
        flex-direction: row;
        justify-content: center;
    }

    .chapter-line {
        width: 80px;
        height: 1px;
    }

    .chapter-features {
        justify-content: center;
    }

    .chapter-visual {
        max-width: 300px;
        aspect-ratio: 3/4;
        margin: 0 auto;
    }

    .step-arrow {
        padding: 4px 0;
    }

    .step-arrow-track {
        height: 32px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 32px 24px;
    }

    .carousel-slide {
        min-width: 100%;
    }

    /* FAQ — mobile compact */
    .faq {
        padding: 48px 18px;
    }

    .faq-list {
        gap: 8px;
    }

    .faq-item {
        border-radius: 14px;
    }

    .faq-question {
        padding: 14px 16px;
        gap: 12px;
    }

    .faq-num {
        font-size: 13px;
    }

    .faq-question-text {
        font-size: 14.5px;
        line-height: 1.4;
    }

    .faq-icon {
        width: 24px;
        height: 24px;
        border-width: 1.2px;
    }

    .faq-icon::before {
        width: 9px;
    }

    .faq-icon::after {
        height: 9px;
    }

    .faq-answer-inner {
        padding: 14px 16px 18px 16px;
        font-size: 14px;
        line-height: 1.65;
    }

    .faq-answer-inner p {
        margin-bottom: 10px;
    }

    .faq-answer-inner ul,
    .faq-answer-inner ol {
        padding-left: 18px;
        gap: 6px;
    }

    /* FAQ toggle — mobile */
    .faq-toggle-wrapper {
        margin-top: 22px;
    }

    .faq-toggle {
        padding: 12px 20px;
        font-size: 13px;
        gap: 8px;
    }

    .faq-toggle-count {
        min-width: 24px;
        height: 20px;
        font-size: 11px;
    }

    /* Témoignages — mobile */
    .temoignages {
        padding: 56px 20px;
    }

    .temoignages-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .temo-featured {
        grid-column: span 1;
    }

    .temo-quote-deco {
        font-size: 4rem;
    }

    .temo-cta-row {
        flex-direction: column;
        text-align: center;
        gap: 18px;
    }

    .technique {
        padding: 56px 20px;
    }

    .technique-container {
        flex-direction: column;
        text-align: center;
        padding: 28px;
    }

    .footer-links {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        padding: 12px 16px;
    }

    .whatsapp-label {
        display: none;
    }

    /* ============================================
       OPTIMISATIONS PERFORMANCE MOBILE
       Désactivation des effets coûteux pour le GPU
    ============================================ */

    /* backdrop-filter (blur) très coûteux sur mobile : on le supprime sauf nav */
    .nav.scrolled {
        background: rgba(250, 250, 247, 0.96);
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    .about-image-tag,
    .pack,
    .gift-order-image-frame,
    .calendrier-card,
    .month-card,
    .contact-form,
    .technique-container {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    /* Animations infinies coûteuses : désactivées sur mobile */
    .pack-shine,
    .whatsapp-pulse {
        display: none;
    }

    /* Pas de parallax sur l'image hero — déjà géré côté JS aussi */
    .hero-bg-image img {
        transform: none !important;
    }

    /* Particles : déjà 0 via JS sur mobile, on cache aussi le conteneur */
    .particles {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 52px;
    }

    .section-title {
        font-size: 36px;
    }

    .pack-name {
        font-size: 28px;
    }
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}
