/*!
 * Be Media AI — Agence Web & Intelligence Artificielle
 * CSS Principal
 */

/* ── Variables ── */
:root {
    --bg-primary: #0c0b0e;
    --bg-secondary: #13111a;
    --bg-tertiary: #1a1725;
    --accent-warm: #c4a882;
    --accent-rose: #b8a9c9;
    --accent-teal: #7fb5a8;
    --accent-gold: #d4a574;
    --text-primary: #e8e4df;
    --text-secondary: #9a95a0;
    --text-muted: #5c5764;
    --border: rgba(196, 168, 130, 0.1);
    --glow: rgba(196, 168, 130, 0.15);
}

/* ── Reset & Base ── */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Outfit', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    overflow-x: hidden;
}
a, button { cursor: pointer; }

/* ── Custom Cursor ── */
.cursor { position: fixed; width: 12px; height: 12px; border-radius: 50%; background: var(--accent-warm); pointer-events: none; z-index: 9999; mix-blend-mode: difference; transition: transform 0.15s ease; }
.cursor-follower { position: fixed; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(196,168,130,0.4); pointer-events: none; z-index: 9998; transition: transform 0.4s cubic-bezier(0.16,1,0.3,1), width 0.3s, height 0.3s, border-color 0.3s; }
.cursor.hover { transform: scale(2.5); background: transparent; border: 1.5px solid var(--accent-warm); }
.cursor-follower.hover { width: 64px; height: 64px; border-color: rgba(196,168,130,0.15); }
@media(max-width:768px) { .cursor, .cursor-follower { display: none; } body { cursor: auto; } a, button { cursor: pointer; } }

/* ── Noise overlay ── */
.noise { position: fixed; inset: 0; pointer-events: none; z-index: 9000; opacity: 0.028; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* ── Gradient mesh background ── */
.mesh-bg {
    position: fixed; inset: 0; z-index: 0; pointer-events: none;
    background:
        radial-gradient(ellipse 80% 60% at 20% 10%, rgba(127,181,168,0.06) 0%, transparent 60%),
        radial-gradient(ellipse 60% 50% at 80% 30%, rgba(184,169,201,0.05) 0%, transparent 60%),
        radial-gradient(ellipse 70% 40% at 50% 80%, rgba(196,168,130,0.04) 0%, transparent 60%);
}

/* ── Scroll progress bar ── */
.scroll-progress {
    position: fixed; top: 0; left: 0; height: 2px; z-index: 999;
    background: linear-gradient(90deg, var(--accent-teal), var(--accent-warm), var(--accent-rose));
    transform-origin: left;
    transform: scaleX(0);
    transition: transform 0.1s linear;
}

/* ── Nav ── */
.nav {
    position: fixed; top: 0; left: 0; width: 100%; z-index: 100;
    padding: 24px 6vw;
    display: flex; justify-content: space-between; align-items: center;
    transition: all 0.5s cubic-bezier(0.16,1,0.3,1);
}
.nav.scrolled {
    padding: 16px 6vw;
    background: rgba(12,11,14,0.85);
    backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--border);
}
.nav-logo {
    font-size: 20px; font-weight: 700; letter-spacing: -0.02em;
    text-decoration: none; color: var(--text-primary); flex-shrink: 0;
}
@media(max-width:1100px) { .nav-logo { font-size: 17px; } }
.nav-logo em { font-style: italic; color: var(--accent-warm); font-family: 'Playfair Display', serif; }
.nav-links { display: flex; gap: 1.5rem; list-style: none; align-items: center; flex-shrink: 1; min-width: 0; overflow: hidden; }
.nav-links a {
    color: var(--text-secondary); text-decoration: none;
    font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase;
    transition: color 0.3s; position: relative; white-space: nowrap;
}
.nav-links a::after {
    content: ''; position: absolute; bottom: -4px; left: 0;
    width: 0; height: 1px; background: var(--accent-warm);
    transition: width 0.4s cubic-bezier(0.16,1,0.3,1);
}
.nav-links a:hover { color: var(--accent-warm); }
.nav-links a:hover::after { width: 100%; }
.nav-cta {
    background: transparent; border: 1px solid var(--accent-warm);
    color: var(--accent-warm); padding: 10px 24px; border-radius: 100px;
    font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase;
    text-decoration: none; transition: all 0.4s cubic-bezier(0.16,1,0.3,1);
}
.nav-cta:hover { background: var(--accent-warm); color: var(--bg-primary); }
.menu-toggle {
    display: none;
    background: none;
    border: 1px solid var(--border);
    color: var(--text-primary);
    padding: 8px;
    border-radius: 8px;
    transition: border-color 0.3s;
}
.menu-toggle:hover { border-color: var(--accent-warm); }
@media(max-width:1024px) { .menu-toggle { display: flex; align-items: center; justify-content: center; } }
.mobile-menu {
    position: fixed; inset: 0; background: rgba(12,11,14,0.97);
    backdrop-filter: blur(30px); z-index: 99;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 2rem; opacity: 0; pointer-events: none;
    transition: opacity 0.5s cubic-bezier(0.16,1,0.3,1);
}
.mobile-menu.open { opacity: 1; pointer-events: all; }
.mobile-menu a {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 6vw, 3.5rem); font-weight: 400;
    color: var(--text-primary); text-decoration: none;
    transition: color 0.3s;
}
.mobile-menu a:hover { color: var(--accent-warm); }

/* ── Hero ── */
.hero {
    min-height: 100vh; display: grid; grid-template-columns: 1.1fr 0.9fr;
    align-items: center; padding: 140px 6vw 0; position: relative; overflow: hidden;
}
.hero-content { position: relative; z-index: 2; padding-right: 4vw; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 10px;
    border: 1px solid var(--border); border-radius: 100px;
    padding: 10px 20px; font-size: 11px; letter-spacing: 0.2em;
    text-transform: uppercase; color: var(--accent-teal); margin-bottom: 4vh;
    background: rgba(127,181,168,0.04);
}
.hero-badge .pulse {
    width: 7px; height: 7px; background: var(--accent-teal); border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { opacity:1; transform:scale(1); } 50% { opacity:0.4; transform:scale(0.7); } }

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(3.2rem, 6vw, 7rem);
    font-weight: 400; line-height: 1.0; letter-spacing: -0.02em;
    margin-bottom: 3vh;
}
.hero h1 .italic { font-style: italic; color: var(--accent-warm); }
.hero h1 .thin { font-weight: 300; color: var(--text-secondary); }
.hero h1 .stroke {
    color: transparent; -webkit-text-stroke: 1.5px var(--accent-rose);
}
.hero-desc {
    font-size: clamp(1rem, 1.2vw, 1.15rem); color: var(--text-secondary);
    max-width: 440px; line-height: 1.7; margin-bottom: 5vh; font-weight: 300;
}
.hero-actions { display: flex; gap: 2rem; align-items: center; flex-wrap: wrap; }
.btn-primary {
    display: inline-flex; align-items: center; gap: 0;
    background: var(--accent-warm); color: var(--bg-primary);
    padding: 18px 32px; border-radius: 100px; font-weight: 600;
    font-size: 13px; letter-spacing: 0.05em; text-transform: uppercase;
    text-decoration: none; transition: all 0.4s cubic-bezier(0.16,1,0.3,1);
    border: none;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 20px 40px rgba(196,168,130,0.2); }
.btn-outline {
    color: var(--text-secondary); text-decoration: none;
    font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase;
    border-bottom: 1px solid var(--text-muted); padding-bottom: 4px;
    transition: all 0.3s;
}
.btn-outline:hover { color: var(--accent-warm); border-color: var(--accent-warm); }

/* 3D floating card in hero */
.hero-visual {
    position: relative; z-index: 2;
    perspective: 1000px;
    display: flex; align-items: center; justify-content: center;
    min-height: 600px;
}
.card-3d {
    width: 340px; height: 440px;
    background: linear-gradient(145deg, rgba(26,23,37,0.9), rgba(19,17,26,0.95));
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 2.5rem;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.1s ease-out;
    box-shadow:
        0 50px 100px rgba(0,0,0,0.5),
        0 0 0 1px rgba(196,168,130,0.05),
        inset 0 1px 0 rgba(255,255,255,0.03);
}
.card-3d::before {
    content: '';
    position: absolute; inset: -1px;
    border-radius: 25px; padding: 1px;
    background: linear-gradient(135deg, rgba(196,168,130,0.2), transparent 50%, rgba(127,181,168,0.1));
    -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;
    pointer-events: none;
}
.card-3d-content { transform: translateZ(40px); }
.card-3d-icon {
    width: 56px; height: 56px; border-radius: 16px;
    background: linear-gradient(135deg, rgba(196,168,130,0.15), rgba(127,181,168,0.08));
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 2rem; font-size: 1.5rem;
}
.card-3d h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem; font-weight: 400; margin-bottom: 0.75rem;
}
.card-3d p { font-size: 14px; color: var(--text-secondary); line-height: 1.6; }
.card-3d-metric {
    margin-top: 2rem; padding-top: 1.5rem;
    border-top: 1px solid var(--border);
    display: flex; justify-content: space-between;
}
.card-3d-metric div { text-align: left; }
.card-3d-metric .num { font-size: 1.8rem; font-weight: 700; color: var(--accent-warm); }
.card-3d-metric .label { font-size: 11px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.1em; }

/* Floating elements around 3D card */
.float-element {
    position: absolute;
    background: rgba(26,23,37,0.8);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 14px 18px;
    font-size: 12px;
    color: var(--text-secondary);
    animation: float 6s ease-in-out infinite;
    white-space: nowrap;
}
.float-element:nth-child(1) { top: 10%; right: -10%; animation-delay: 0s; }
.float-element:nth-child(2) { bottom: 20%; left: -5%; animation-delay: 2s; }
.float-element:nth-child(3) { top: 50%; right: -15%; animation-delay: 4s; }
@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-10px) rotate(1deg); }
    75% { transform: translateY(5px) rotate(-1deg); }
}

/* Hero canvas */
#hero-canvas { position: absolute; inset: 0; z-index: 1; pointer-events: none; }

/* Hero scroll indicator */
.scroll-indicator {
    position: absolute; bottom: 40px; left: 6vw;
    display: flex; align-items: center; gap: 12px;
    color: var(--text-muted); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase;
}
.scroll-line {
    width: 1px; height: 50px; background: var(--text-muted);
    position: relative; overflow: hidden;
}
.scroll-line::after {
    content: ''; position: absolute; top: -100%; left: 0;
    width: 100%; height: 100%; background: var(--accent-warm);
    animation: scrollDown 2s ease-in-out infinite;
}
@keyframes scrollDown { 0% { top: -100%; } 50% { top: 100%; } 100% { top: 100%; } }

/* ── Marquee ── */
.marquee {
    padding: 20px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
    overflow: hidden; background: rgba(196,168,130,0.02);
}
.marquee-inner {
    display: flex; gap: 4rem; animation: marquee 30s linear infinite; width: max-content;
}
.marquee-item {
    font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase;
    color: var(--text-muted); white-space: nowrap; display: flex; align-items: center; gap: 4rem;
}
.marquee-item::after { content: '◆'; color: var(--accent-warm); opacity: 0.3; font-size: 6px; }
.marquee-item:last-child::after { display: none; }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ── Section titles ── */
.section-label {
    font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase;
    color: var(--accent-teal); margin-bottom: 1.5rem; display: flex; align-items: center; gap: 14px;
}
.section-label::before { content: ''; width: 30px; height: 1px; background: var(--accent-teal); }
.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.2rem, 4.5vw, 4.5rem);
    font-weight: 400; line-height: 1.1; letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
}
.section-title .em { color: var(--accent-warm); font-style: italic; }

/* ── About / Stats ── */
.about-section { padding: 16vh 6vw; position: relative; }
.about-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 8vw; align-items: center;
}
.about-text p {
    color: var(--text-secondary); line-height: 1.8; font-size: 15px;
    margin-bottom: 1.5rem; font-weight: 300;
}
.stats-row {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
    margin-top: 5vh;
}
.stat-item {
    padding: 2.5rem 0; border-right: 1px solid var(--border); text-align: center;
}
.stat-item:last-child { border-right: none; }
.stat-num {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 700; color: var(--accent-warm); line-height: 1;
}
.stat-label { font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--text-muted); margin-top: 0.5rem; }

/* ── Services with 3D tilt ── */
.services-section { padding: 16vh 6vw; position: relative; }
.services-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 6vh;
}
.service-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 3rem 2.5rem;
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.16,1,0.3,1);
    transform-style: preserve-3d;
    perspective: 800px;
}
.service-card::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(196,168,130,0.06) 0%, transparent 60%);
    opacity: 0; transition: opacity 0.4s;
}
.service-card:hover::before { opacity: 1; }
.service-card:hover {
    border-color: rgba(196,168,130,0.2);
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.3);
}
.service-icon {
    width: 52px; height: 52px; border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem; margin-bottom: 2rem;
    transition: transform 0.4s cubic-bezier(0.16,1,0.3,1);
}
.service-card:hover .service-icon { transform: translateZ(30px) scale(1.1); }
.service-card h3 {
    font-size: 1.25rem; font-weight: 600; margin-bottom: 1rem;
    transition: transform 0.4s cubic-bezier(0.16,1,0.3,1);
}
.service-card:hover h3 { transform: translateZ(20px); }
.service-card p {
    font-size: 14px; color: var(--text-secondary); line-height: 1.7;
    margin-bottom: 1.5rem;
    transition: transform 0.4s cubic-bezier(0.16,1,0.3,1);
}
.service-card:hover p { transform: translateZ(10px); }
.service-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.service-tag {
    font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase;
    color: var(--text-muted); border: 1px solid var(--border);
    padding: 4px 12px; border-radius: 100px;
    transition: all 0.3s;
}
.service-card:hover .service-tag { border-color: rgba(196,168,130,0.2); color: var(--accent-warm); }

/* ── Portfolio 3D showcase ── */
.portfolio-section { padding: 16vh 6vw; position: relative; overflow: hidden; }
.portfolio-showcase {
    display: flex; gap: 2rem; margin-top: 6vh;
    perspective: 1200px;
}
.portfolio-card {
    flex: 1; min-height: 480px;
    border-radius: 24px; overflow: hidden;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.6s cubic-bezier(0.16,1,0.3,1);
}
.portfolio-card:hover { transform: translateY(-12px) rotateX(2deg); }
.portfolio-card-bg {
    position: absolute; inset: 0;
    transition: transform 0.8s cubic-bezier(0.16,1,0.3,1);
}
.portfolio-card:hover .portfolio-card-bg { transform: scale(1.08); }
.portfolio-card-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(12,11,14,0.95) 0%, rgba(12,11,14,0.3) 50%, transparent 100%);
    display: flex; flex-direction: column; justify-content: flex-end;
    padding: 2.5rem;
    opacity: 0; transition: opacity 0.5s;
}
.portfolio-card:hover .portfolio-card-overlay { opacity: 1; }
.portfolio-card-cat { font-size: 10px; letter-spacing: 0.25em; text-transform: uppercase; color: var(--accent-warm); margin-bottom: 8px; }
.portfolio-card-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem; font-weight: 400;
}
.portfolio-card-desc { font-size: 13px; color: var(--text-secondary); margin-top: 8px; line-height: 1.5; }
.portfolio-card-arrow {
    position: absolute; top: 2rem; right: 2rem;
    width: 44px; height: 44px; border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.15);
    display: flex; align-items: center; justify-content: center;
    transform: translate(15px, -15px); opacity: 0;
    transition: all 0.5s cubic-bezier(0.16,1,0.3,1);
}
.portfolio-card:hover .portfolio-card-arrow { transform: translate(0,0); opacity: 1; }

/* ── Blog / Actualités ── */
.blog-section { padding: 16vh 6vw; position: relative; }
.blog-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 5vh; }
.blog-grid {
    display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 1.5rem;
}
.blog-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.16,1,0.3,1);
}
.blog-card:first-child { grid-row: span 2; }
.blog-card:hover {
    transform: translateY(-6px);
    border-color: rgba(196,168,130,0.2);
    box-shadow: 0 25px 50px rgba(0,0,0,0.3);
}
.blog-card-img {
    width: 100%; aspect-ratio: 16/10;
    position: relative; overflow: hidden;
}
.blog-card:first-child .blog-card-img { aspect-ratio: 16/12; }
.blog-card-img-inner {
    width: 100%; height: 100%;
    transition: transform 0.8s cubic-bezier(0.16,1,0.3,1);
}
.blog-card:hover .blog-card-img-inner { transform: scale(1.06); }
.blog-card-body { padding: 2rem; }
.blog-card-meta {
    display: flex; gap: 1rem; margin-bottom: 1rem;
    font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted);
}
.blog-card-tag { color: var(--accent-teal); }
.blog-card h3 {
    font-size: 1.15rem; font-weight: 600; line-height: 1.4;
    margin-bottom: 0.75rem; transition: color 0.3s;
}
.blog-card:hover h3 { color: var(--accent-warm); }
.blog-card:first-child h3 { font-size: 1.5rem; font-family: 'Playfair Display', serif; font-weight: 400; }
.blog-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.6; }
.blog-card-link {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--accent-warm); text-decoration: none; margin-top: 1.2rem;
    transition: gap 0.3s;
}
.blog-card:hover .blog-card-link { gap: 12px; }

/* ── Testimonials ── */
.testimonials-section { padding: 16vh 6vw; position: relative; }
.testimonials-track {
    display: flex; gap: 2rem; margin-top: 5vh;
    animation: scrollTestimonials 50s linear infinite; width: max-content;
}
.testimonial-card {
    flex-shrink: 0; width: 420px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 2.5rem;
    transition: all 0.4s;
}
.testimonial-card:hover { border-color: rgba(196,168,130,0.2); }
.testimonial-stars { color: var(--accent-gold); font-size: 14px; margin-bottom: 1.5rem; letter-spacing: 2px; }
.testimonial-text { font-size: 15px; color: var(--text-secondary); line-height: 1.7; margin-bottom: 2rem; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 1rem; }
.testimonial-avatar {
    width: 44px; height: 44px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 14px;
}
.testimonial-name { font-weight: 600; font-size: 14px; }
.testimonial-role { font-size: 12px; color: var(--text-muted); }
@keyframes scrollTestimonials {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ── Newsletter ── */
.newsletter-section { padding: 16vh 6vw; position: relative; }
.newsletter-container {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 32px;
    padding: 6vw;
    display: grid; grid-template-columns: 1fr 1fr; gap: 4vw;
    align-items: center;
    position: relative; overflow: hidden;
}
.newsletter-container::before {
    content: '';
    position: absolute; top: -50%; right: -20%;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(196,168,130,0.05) 0%, transparent 70%);
    pointer-events: none;
}
.newsletter-left { position: relative; z-index: 2; }
.newsletter-left h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 3.5vw, 3.2rem);
    font-weight: 400; line-height: 1.15; margin-bottom: 1.5rem;
}
.newsletter-left h2 .em { color: var(--accent-warm); font-style: italic; }
.newsletter-left p { color: var(--text-secondary); line-height: 1.7; font-size: 15px; }
.newsletter-form { position: relative; z-index: 2; }
.newsletter-input-group {
    display: flex; gap: 0;
    background: var(--bg-tertiary);
    border: 1px solid var(--border);
    border-radius: 100px;
    overflow: hidden;
    transition: border-color 0.3s;
}
.newsletter-input-group:focus-within { border-color: var(--accent-warm); }
.newsletter-input {
    flex: 1; background: none; border: none; outline: none;
    padding: 18px 28px; color: var(--text-primary);
    font-family: 'Outfit', sans-serif; font-size: 14px;
}
.newsletter-input::placeholder { color: var(--text-muted); }
.newsletter-btn {
    background: var(--accent-warm); border: none;
    padding: 18px 28px; border-radius: 100px;
    color: var(--bg-primary); font-weight: 600;
    font-family: 'Outfit', sans-serif; font-size: 13px;
    letter-spacing: 0.05em; text-transform: uppercase;
    transition: all 0.3s; white-space: nowrap;
}
.newsletter-btn:hover { background: var(--accent-gold); }
.newsletter-note { font-size: 12px; color: var(--text-muted); margin-top: 1rem; }

/* ── CTA final ── */
.cta-section {
    padding: 20vh 6vw; position: relative; overflow: hidden;
    text-align: center;
}
.cta-section::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(ellipse 60% 50% at 50% 50%, rgba(196,168,130,0.06) 0%, transparent 70%);
}
.cta-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 6vw, 6rem);
    font-weight: 400; line-height: 1.05; letter-spacing: -0.02em;
    margin-bottom: 3vh;
}
.cta-title .outline { color: transparent; -webkit-text-stroke: 1.5px var(--text-muted); transition: all 0.4s; }
.cta-title .outline:hover { -webkit-text-stroke-color: var(--accent-warm); color: var(--accent-warm); }
.cta-sub { color: var(--text-secondary); font-size: 16px; margin-bottom: 5vh; max-width: 500px; margin-left: auto; margin-right: auto; line-height: 1.7; }

/* ── Footer ── */
.footer {
    padding: 8vh 6vw 4vh;
    border-top: 1px solid var(--border);
    position: relative; z-index: 2;
}
.footer-top {
    display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 4vw;
    margin-bottom: 8vh;
}
.footer-brand p { color: var(--text-muted); font-size: 14px; line-height: 1.7; margin-top: 1.5rem; max-width: 280px; }
.footer-col h4 {
    font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
    color: var(--accent-warm); margin-bottom: 1.5rem;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.75rem; }
.footer-col a { color: var(--text-muted); text-decoration: none; font-size: 14px; transition: color 0.3s; }
.footer-col a:hover { color: var(--text-primary); }
.footer-bottom {
    display: flex; justify-content: space-between; align-items: center;
    padding-top: 4vh; border-top: 1px solid var(--border);
}
.footer-bottom p { font-size: 12px; color: var(--text-muted); }
.footer-socials { display: flex; gap: 1rem; }
.footer-social {
    width: 36px; height: 36px; border-radius: 50%;
    border: 1px solid var(--border);
    display: flex; align-items: center; justify-content: center;
    color: var(--text-muted); text-decoration: none;
    font-size: 11px; transition: all 0.3s;
}
.footer-social:hover { border-color: var(--accent-warm); color: var(--accent-warm); transform: translateY(-3px); }

/* ── Scroll to top ── */
.scroll-top {
    position: fixed; bottom: 2rem; right: 2rem;
    width: 52px; height: 52px; border-radius: 50%;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    color: var(--accent-warm);
    display: flex; align-items: center; justify-content: center;
    font-size: 18px;
    z-index: 100;
    opacity: 0; pointer-events: none;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.16,1,0.3,1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}
.scroll-top.visible { opacity: 1; pointer-events: all; transform: translateY(0); }
.scroll-top:hover { border-color: var(--accent-warm); transform: translateY(-4px); box-shadow: 0 15px 40px rgba(196,168,130,0.15); }

/* ── Reveal animations ── */
.reveal { opacity: 0; transform: translateY(50px); transition: all 1s cubic-bezier(0.16,1,0.3,1); }
.reveal.active { opacity: 1; transform: translateY(0); }
.reveal-left { opacity: 0; transform: translateX(-50px); transition: all 1s cubic-bezier(0.16,1,0.3,1); }
.reveal-left.active { opacity: 1; transform: translateX(0); }
.reveal-scale { opacity: 0; transform: scale(0.92); transition: all 1s cubic-bezier(0.16,1,0.3,1); }
.reveal-scale.active { opacity: 1; transform: scale(1); }
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* ── Mobile ── */
@media(max-width:1024px) {
    .hero { grid-template-columns: 1fr; padding-top: 140px; }
    .hero-visual { display: none; }
    .services-grid { grid-template-columns: 1fr 1fr; }
    .blog-grid { grid-template-columns: 1fr 1fr; }
    .blog-card:first-child { grid-row: span 1; }
    .newsletter-container { grid-template-columns: 1fr; padding: 4rem; }
    .footer-top { grid-template-columns: 1fr 1fr; }
}
@media(max-width:900px) {
    .nav-links { gap: 0.6rem; }
    .nav-links a { font-size: 10px; letter-spacing: 0.02em; }
}
@media(max-width:768px) {
    .nav-links { display: none; }
    .menu-toggle { display: block; }
    .services-grid { grid-template-columns: 1fr; }
    .blog-grid { grid-template-columns: 1fr; }
    .stats-row { grid-template-columns: 1fr; }
    .stat-item { border-right: none; border-bottom: 1px solid var(--border); }
    .stat-item:last-child { border-bottom: none; }
    .portfolio-showcase { flex-direction: column; }
    .portfolio-card { min-height: 320px; }
    .portfolio-card-overlay { opacity: 1; }
    .portfolio-card-arrow { display: none; }
    .newsletter-container { padding: 2.5rem; }
    .footer-top { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 1.5rem; text-align: center; }
    .scroll-indicator { display: none; }
}

/* Scrollbar */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: rgba(196,168,130,0.2); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(196,168,130,0.4); }

/* ── Contact Modal ── */
.contact-modal {
    position: fixed; inset: 0; z-index: 10000;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; pointer-events: none;
    transition: opacity 0.4s cubic-bezier(0.16,1,0.3,1);
}
.contact-modal.open { opacity: 1; pointer-events: all; }
.contact-modal-backdrop {
    position: absolute; inset: 0;
    background: rgba(12,11,14,0.85);
    backdrop-filter: blur(12px);
}
.contact-modal-box {
    position: relative;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 24px;
    width: 90%; max-width: 900px;
    max-height: 90vh; overflow-y: auto;
    padding: 3rem;
    box-shadow: 0 40px 80px rgba(0,0,0,0.5);
    transform: translateY(30px) scale(0.95);
    transition: transform 0.4s cubic-bezier(0.16,1,0.3,1);
}
.contact-modal.open .contact-modal-box { transform: translateY(0) scale(1); }
.contact-modal-close {
    position: absolute; top: 1.5rem; right: 1.5rem;
    background: none; border: 1px solid var(--border);
    color: var(--text-muted); width: 36px; height: 36px;
    border-radius: 50%; cursor: pointer; font-size: 14px;
    transition: all 0.3s; display: flex; align-items: center; justify-content: center;
}
.contact-modal-close:hover { border-color: var(--accent-warm); color: var(--accent-warm); }
.contact-modal-inner { display: grid; grid-template-columns: 1fr 1.2fr; gap: 3rem; }
.contact-modal-left h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem; font-weight: 400; line-height: 1.2;
}
.modal-btn:hover { border-color: rgba(196,168,130,0.3); }
.contact-modal-right h4 { margin-bottom: 1.5rem; }
.contact-input {
    width: 100%; background: var(--bg-tertiary);
    border: 1px solid var(--border); border-radius: 12px;
    padding: 14px 18px; color: var(--text-primary);
    font-family: 'Outfit', sans-serif; font-size: 14px;
    transition: border-color 0.3s; outline: none;
}
.contact-input:focus { border-color: var(--accent-warm); }
.contact-input::placeholder { color: var(--text-muted); }
.contact-textarea { resize: vertical; min-height: 100px; }
.contact-input option { background: var(--bg-tertiary); }
@media(max-width:768px) {
    .contact-modal-inner { grid-template-columns: 1fr; }
    .contact-modal-box { padding: 2rem; }
}
