/* ═══════════════════════════════════════════════════
   NAERD — Site Vitrine Premium
   ═══════════════════════════════════════════════════ */

/* ─── Custom Properties ─── */
:root {
    --bg-primary: #0a0a1a;
    --bg-secondary: #1a1a2e;
    --bg-card: rgba(255, 255, 255, 0.03);
    --bg-card-hover: rgba(255, 255, 255, 0.06);
    --text-primary: #f0f0f5;
    --text-secondary: #a0a0b8;
    --text-muted: #6a6a80;
    --accent: #00d4ff;
    --accent-violet: #0066cc;
    --gradient-accent: linear-gradient(135deg, #00d4ff, #0066cc);
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-blur: 20px;
    --radius: 16px;
    --radius-sm: 8px;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-glow: 0 0 30px rgba(0, 212, 255, 0.15);
}

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

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

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

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

a:hover {
    color: #fff;
}

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

ul {
    list-style: none;
}

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

/* ─── Typography ─── */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

/* ─── Sections ─── */
.section {
    padding: 100px 0;
    position: relative;
}

.section:nth-child(even) {
    background: var(--bg-secondary);
}

/* ─── Buttons ─── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border: none;
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-accent);
    color: #fff;
    box-shadow: 0 4px 20px rgba(0, 212, 255, 0.25);
}

.btn-primary:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 40px rgba(0, 212, 255, 0.4);
    color: #fff;
}

.btn-primary:active {
    transform: translateY(0) scale(0.98);
}

/* ═══════════════════════════════════════════════════
   NAVBAR
   ═══════════════════════════════════════════════════ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: all var(--transition);
}

.navbar.scrolled {
    padding: 12px 0;
    background: rgba(10, 10, 26, 0.85);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border-bottom: 1px solid var(--glass-border);
}

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

.nav-logo {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 2px;
}

.nav-logo:hover {
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    gap: 36px;
}

.nav-links a {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    position: relative;
    padding: 4px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-accent);
    transition: width var(--transition);
}

.nav-links a:hover {
    color: var(--text-primary);
}

.nav-links a:hover::after {
    width: 100%;
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all var(--transition);
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ═══════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 50%, #16213e 100%);
    animation: heroGradient 15s ease infinite;
    background-size: 400% 400%;
}

@keyframes heroGradient {
    0%, 100% { background-position: 0% 50%; }
    25% { background-position: 100% 50%; }
    50% { background-position: 100% 0%; }
    75% { background-position: 0% 100%; }
}

.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

/* CSS Particles */
.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: var(--accent);
    border-radius: 50%;
    opacity: 0;
    animation: particleFloat linear infinite;
}

.particle:nth-child(1)  { left: 10%; animation-duration: 12s; animation-delay: 0s; }
.particle:nth-child(2)  { left: 20%; animation-duration: 15s; animation-delay: 1s; }
.particle:nth-child(3)  { left: 30%; animation-duration: 10s; animation-delay: 2s; }
.particle:nth-child(4)  { left: 40%; animation-duration: 14s; animation-delay: 0.5s; }
.particle:nth-child(5)  { left: 50%; animation-duration: 11s; animation-delay: 3s; }
.particle:nth-child(6)  { left: 60%; animation-duration: 13s; animation-delay: 1.5s; }
.particle:nth-child(7)  { left: 70%; animation-duration: 16s; animation-delay: 2.5s; }
.particle:nth-child(8)  { left: 80%; animation-duration: 12s; animation-delay: 0.8s; }
.particle:nth-child(9)  { left: 90%; animation-duration: 14s; animation-delay: 4s; }
.particle:nth-child(10) { left: 15%; animation-duration: 11s; animation-delay: 1.2s; }
.particle:nth-child(11) { left: 35%; animation-duration: 13s; animation-delay: 3.5s; }
.particle:nth-child(12) { left: 55%; animation-duration: 10s; animation-delay: 2.2s; }
.particle:nth-child(13) { left: 75%; animation-duration: 15s; animation-delay: 0.3s; }
.particle:nth-child(14) { left: 25%; animation-duration: 12s; animation-delay: 4.5s; }
.particle:nth-child(15) { left: 65%; animation-duration: 14s; animation-delay: 1.8s; }

@keyframes particleFloat {
    0% {
        transform: translateY(100vh) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 0.6;
    }
    50% {
        opacity: 1;
    }
    90% {
        opacity: 0.4;
    }
    100% {
        transform: translateY(-10vh) scale(1);
        opacity: 0;
    }
}

.particle:nth-child(odd) {
    background: var(--accent-violet);
    width: 2px;
    height: 2px;
}

.particle:nth-child(3n) {
    width: 4px;
    height: 4px;
    box-shadow: 0 0 6px var(--accent);
}

.hero-content {
    text-align: center;
    z-index: 1;
    padding: 0 24px;
}

.hero-title {
    font-size: clamp(4rem, 12vw, 8rem);
    font-weight: 800;
    letter-spacing: 12px;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0;
    transform: translateY(30px);
    animation: heroReveal 1s ease forwards 0.3s;
}

@keyframes heroReveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    color: var(--text-secondary);
    margin: 24px 0 48px;
    min-height: 1.7em;
}

.typewriter {
    color: var(--text-primary);
}

.cursor {
    color: var(--accent);
    animation: cursorBlink 0.8s infinite;
    font-weight: 300;
}

@keyframes cursorBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.hero-cta {
    opacity: 0;
    transform: translateY(20px);
    animation: heroReveal 1s ease forwards 1.5s;
}

.hero-cta svg {
    transition: transform var(--transition);
}

.hero-cta:hover svg {
    transform: translateX(4px);
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0;
    animation: heroReveal 1s ease forwards 2s;
}

.scroll-indicator span {
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.scroll-arrow {
    width: 20px;
    height: 20px;
    border-right: 2px solid var(--text-muted);
    border-bottom: 2px solid var(--text-muted);
    transform: rotate(45deg);
    animation: scrollBounce 2s ease infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: rotate(45deg) translate(0, 0); opacity: 1; }
    50% { transform: rotate(45deg) translate(5px, 5px); opacity: 0.3; }
}

/* ═══════════════════════════════════════════════════
   ABOUT
   ═══════════════════════════════════════════════════ */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
    margin-bottom: 64px;
}

.about-text p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

.about-text strong {
    color: var(--text-primary);
}

.about-values {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.value-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: all var(--transition);
}

.value-card:hover {
    background: var(--bg-card-hover);
    border-color: rgba(0, 212, 255, 0.15);
}

.value-icon {
    flex-shrink: 0;
    color: var(--accent);
}

.value-card h3 {
    font-size: 1rem;
    margin-bottom: 2px;
}

.value-card p {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

/* Stats */
.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    text-align: center;
    padding: 48px 0;
    border-top: 1px solid var(--glass-border);
}

.stat-number {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-plus {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    display: block;
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: 4px;
}

/* ═══════════════════════════════════════════════════
   SERVICES
   ═══════════════════════════════════════════════════ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.services-grid > .service-card {
    display: flex;
    flex-direction: column;
}

.service-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 40px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all var(--transition);
    transform-style: preserve-3d;
    perspective: 1000px;
}

.service-card:hover {
    background: var(--bg-card-hover);
    border-color: rgba(0, 212, 255, 0.2);
    box-shadow: var(--shadow-glow);
}

.service-icon {
    color: var(--accent);
    margin-bottom: 24px;
    display: inline-flex;
    align-self: flex-start;
    padding: 16px;
    background: rgba(0, 212, 255, 0.08);
    border-radius: 12px;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.service-desc {
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.service-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.service-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.service-list li svg {
    flex-shrink: 0;
}

/* Philosophy */
.philosophy {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 28px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--glass-border);
    flex-wrap: wrap;
}

.philosophy-step {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--accent);
    padding: 6px 16px;
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 20px;
    background: rgba(0, 212, 255, 0.05);
}

/* ═══════════════════════════════════════════════════
   EQUIPMENT
   ═══════════════════════════════════════════════════ */
.equipment-category {
    margin-bottom: 48px;
}

.category-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.3rem;
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--glass-border);
}

.equipment-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.equipment-badge {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    padding: 28px;
    text-align: center;
    transition: all var(--transition);
}

.equipment-badge:hover {
    background: var(--bg-card-hover);
    border-color: rgba(0, 212, 255, 0.15);
    transform: translateY(-4px);
}

.badge-icon {
    color: var(--accent);
    margin-bottom: 16px;
    display: inline-flex;
    padding: 12px;
    background: rgba(0, 212, 255, 0.08);
    border-radius: 12px;
}

.equipment-badge h4 {
    font-size: 1rem;
    margin-bottom: 8px;
}

.equipment-badge p {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

/* Certifications */
.certifications-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.cert-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    color: var(--text-secondary);
    transition: all var(--transition);
}

.cert-badge:hover {
    background: var(--bg-card-hover);
    border-color: rgba(0, 212, 255, 0.15);
    color: var(--text-primary);
}

.cert-icon {
    color: var(--accent);
    flex-shrink: 0;
    display: inline-flex;
}

/* ═══════════════════════════════════════════════════
   PRICING
   ═══════════════════════════════════════════════════ */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-bottom: 32px;
}

.pricing-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 36px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all var(--transition);
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 212, 255, 0.2);
    box-shadow: var(--shadow-glow);
}

.pricing-card.featured {
    border-color: rgba(0, 212, 255, 0.3);
    background: rgba(0, 212, 255, 0.04);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-accent);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 20px;
    border-radius: 20px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.pricing-header {
    text-align: center;
    margin-bottom: 28px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--glass-border);
}

.pricing-header h3 {
    font-size: 1.1rem;
    color: var(--text-secondary);
    font-weight: 500;
    margin-bottom: 12px;
}

.pricing-amount {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
}

.price {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.currency {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.price-unit {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-left: 4px;
}

.pricing-features {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.pricing-features li svg {
    flex-shrink: 0;
}

.pricing-note {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
    font-style: italic;
}

.pricing-cta {
    text-align: center;
    margin-top: 32px;
}

/* ═══════════════════════════════════════════════════
   CONTACT
   ═══════════════════════════════════════════════════ */
.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
    align-items: start;
}

.contact-form {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 40px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

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

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

.form-group:last-child:not(.form-row .form-group) {
    margin-bottom: 24px;
}

.form-group label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: all var(--transition);
    outline: none;
}

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
}

.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='12' viewBox='0 0 24 24' fill='none' stroke='%23a0a0b8' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
}

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

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

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

/* Contact Info */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.info-card {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 24px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
}

.info-icon {
    color: var(--accent);
    flex-shrink: 0;
    padding: 10px;
    background: rgba(0, 212, 255, 0.08);
    border-radius: 10px;
}

.info-card h4 {
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.info-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px 24px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-size: 0.95rem;
    transition: all var(--transition);
}

.social-link:hover {
    background: var(--bg-card-hover);
    border-color: rgba(0, 212, 255, 0.15);
    color: var(--text-primary);
}

/* ═══════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════ */
.footer {
    background: var(--bg-primary);
    border-top: 1px solid var(--glass-border);
    padding: 64px 0 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 800;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 2px;
    display: inline-block;
    margin-bottom: 12px;
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    max-width: 320px;
}

.footer-links h4,
.footer-legal h4 {
    font-size: 0.9rem;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.footer-links ul,
.footer-legal ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a,
.footer-legal a {
    color: var(--text-secondary);
    font-size: 0.9rem;
    transition: color var(--transition);
}

.footer-links a:hover,
.footer-legal a:hover {
    color: var(--accent);
}

.footer-bottom {
    border-top: 1px solid var(--glass-border);
    padding-top: 24px;
    text-align: center;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.footer-credit {
    margin-top: 8px;
    font-size: 0.8rem;
}

.footer-credit a {
    color: var(--accent);
    text-decoration: none;
}

.footer-credit a:hover {
    text-decoration: underline;
}

/* ═══════════════════════════════════════════════════
   SCROLL REVEAL ANIMATIONS
   ═══════════════════════════════════════════════════ */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* Staggered children */
.reveal:nth-child(2) { transition-delay: 0.1s; }
.reveal:nth-child(3) { transition-delay: 0.2s; }
.reveal:nth-child(4) { transition-delay: 0.3s; }

/* ═══════════════════════════════════════════════════
   RESPONSIVE — Tablet (≤1024px)
   ═══════════════════════════════════════════════════ */
@media (max-width: 1024px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .services-grid {
        gap: 24px;
    }

    .equipment-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .footer-brand {
        grid-column: 1 / -1;
    }
}

/* ═══════════════════════════════════════════════════
   RESPONSIVE — Mobile (≤768px)
   ═══════════════════════════════════════════════════ */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: rgba(10, 10, 26, 0.98);
        backdrop-filter: blur(30px);
        -webkit-backdrop-filter: blur(30px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 32px;
        transition: right var(--transition);
        border-left: 1px solid var(--glass-border);
    }

    .nav-links.open {
        right: 0;
    }

    .nav-links a {
        font-size: 1.1rem;
    }

    .hero-title {
        letter-spacing: 6px;
    }

    .section {
        padding: 72px 0;
    }

    .section-header {
        margin-bottom: 3rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        padding: 28px;
    }

    .equipment-grid {
        grid-template-columns: 1fr;
    }

    .certifications-grid {
        grid-template-columns: 1fr;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto 32px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

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

    .contact-form {
        padding: 28px;
    }

    .stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

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

/* ═══════════════════════════════════════════════════
   RESPONSIVE — Small mobile (≤480px)
   ═══════════════════════════════════════════════════ */
@media (max-width: 480px) {
    html {
        font-size: 14px;
    }

    .hero-title {
        letter-spacing: 4px;
    }

    .section {
        padding: 56px 0;
    }

    .container {
        padding: 0 16px;
    }

    .service-card {
        padding: 24px;
    }

    .pricing-card {
        padding: 28px;
    }

    .contact-form {
        padding: 20px;
    }

    .philosophy {
        justify-content: center;
    }
}

/* ═══════════════════════════════════════════════════
   SUBPAGE COMPONENTS
   ═══════════════════════════════════════════════════ */

/* ─── Btn-link "En savoir plus" ─── */
.service-cta {
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid var(--glass-border);
    text-align: center;
}

.philosophy + .service-cta {
    border-top: none;
    margin-top: auto;
}

.btn-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent);
    font-weight: 500;
    font-size: 0.95rem;
    transition: all var(--transition);
}

.btn-link:hover {
    color: #fff;
    gap: 12px;
}

.btn-link svg {
    transition: transform var(--transition);
}

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

/* ─── Hero Subpage ─── */
.hero-sub {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 50%, #16213e 100%);
    animation: heroGradient 15s ease infinite;
    background-size: 400% 400%;
    padding-top: 80px;
}

.hero-sub-content {
    text-align: center;
    z-index: 1;
    padding: 0 24px;
    max-width: 800px;
}

.hero-sub-breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 24px;
    font-size: 0.9rem;
    opacity: 0;
    animation: heroReveal 0.8s ease forwards 0.2s;
}

.hero-sub-breadcrumb a {
    color: var(--text-muted);
}

.hero-sub-breadcrumb a:hover {
    color: var(--accent);
}

.hero-sub-breadcrumb span {
    color: var(--text-muted);
}

.hero-sub-breadcrumb .current {
    color: var(--text-secondary);
}

.hero-sub-title {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    font-weight: 800;
    letter-spacing: 4px;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0;
    transform: translateY(30px);
    animation: heroReveal 1s ease forwards 0.3s;
    margin-bottom: 16px;
}

.hero-sub-tagline {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    color: var(--text-secondary);
    margin-bottom: 40px;
    opacity: 0;
    animation: heroReveal 1s ease forwards 0.6s;
}

.hero-sub .hero-cta {
    animation-delay: 0.9s;
}

/* ─── Workflow Steps ─── */
.workflow {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    position: relative;
    flex-wrap: wrap;
}

.workflow-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
    min-width: 180px;
    max-width: 260px;
    position: relative;
    padding: 0 16px;
}

.workflow-number {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(0, 212, 255, 0.1);
    border: 2px solid var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.workflow-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 28px;
    left: calc(50% + 28px);
    width: calc(100% - 56px);
    height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--accent-violet));
    opacity: 0.4;
}

.workflow-step h4 {
    font-size: 1.05rem;
    margin-bottom: 6px;
}

.workflow-step p {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

/* ─── Use-cases / Prestations Grid ─── */
.usecases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.usecase-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 32px;
    text-align: center;
    transition: all var(--transition);
}

.usecase-card:hover {
    background: var(--bg-card-hover);
    border-color: rgba(0, 212, 255, 0.2);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

.usecase-icon {
    color: var(--accent);
    margin-bottom: 20px;
    display: inline-flex;
    padding: 14px;
    background: rgba(0, 212, 255, 0.08);
    border-radius: 12px;
}

.usecase-card h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.usecase-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* ─── Philosophy Expanded ─── */
.philosophy-expanded {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.philosophy-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 40px 32px;
    text-align: center;
    transition: all var(--transition);
    position: relative;
}

.philosophy-card:hover {
    background: var(--bg-card-hover);
    border-color: rgba(0, 212, 255, 0.2);
    box-shadow: var(--shadow-glow);
}

.philosophy-card .philosophy-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.15;
    position: absolute;
    top: 16px;
    right: 24px;
}

.philosophy-card .philosophy-icon {
    color: var(--accent);
    margin-bottom: 20px;
    display: inline-flex;
    padding: 14px;
    background: rgba(0, 212, 255, 0.08);
    border-radius: 12px;
}

.philosophy-card h4 {
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.philosophy-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* ─── Certification Detail Grid ─── */
.cert-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.cert-detail-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 32px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    transition: all var(--transition);
}

.cert-detail-card:hover {
    background: var(--bg-card-hover);
    border-color: rgba(0, 212, 255, 0.2);
}

.cert-detail-card .cert-detail-icon {
    color: var(--accent);
    flex-shrink: 0;
    display: inline-flex;
    padding: 12px;
    background: rgba(0, 212, 255, 0.08);
    border-radius: 12px;
}

.cert-detail-card h4 {
    font-size: 1.05rem;
    margin-bottom: 6px;
}

.cert-detail-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* ─── Equipment Specs ─── */
.equipment-spec {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.equipment-spec span {
    font-size: 0.75rem;
    color: var(--accent);
    padding: 4px 12px;
    border: 1px solid rgba(0, 212, 255, 0.25);
    border-radius: 20px;
    background: rgba(0, 212, 255, 0.05);
}

/* ─── Page CTA Banner ─── */
.page-cta {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.08), rgba(0, 102, 204, 0.08));
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    padding: 80px 0;
    text-align: center;
}

.page-cta h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-bottom: 12px;
}

.page-cta p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 32px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* ═══════════════════════════════════════════════════
   SUBPAGE RESPONSIVE — Tablet (≤768px)
   ═══════════════════════════════════════════════════ */
@media (max-width: 768px) {
    .hero-sub {
        min-height: 50vh;
    }

    .hero-sub-title {
        letter-spacing: 2px;
    }

    .workflow {
        flex-direction: column;
        align-items: center;
        gap: 32px;
    }

    .workflow-step {
        max-width: 100%;
    }

    .workflow-step:not(:last-child)::after {
        display: none;
    }

    .usecases-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .philosophy-expanded {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin: 0 auto;
    }

    .cert-detail-grid {
        grid-template-columns: 1fr;
    }

    .page-cta {
        padding: 56px 0;
    }
}

/* ═══════════════════════════════════════════════════
   SUBPAGE RESPONSIVE — Small mobile (≤480px)
   ═══════════════════════════════════════════════════ */
@media (max-width: 480px) {
    .usecases-grid {
        grid-template-columns: 1fr;
    }

    .usecase-card {
        padding: 24px;
    }

    .philosophy-card {
        padding: 28px 20px;
    }

    .cert-detail-card {
        padding: 24px;
        flex-direction: column;
    }

    .page-cta {
        padding: 40px 0;
    }
}

/* ─── Brand Logos ─── */
.badge-logo,
.cert-logo {
    width: 32px;
    height: 32px;
    object-fit: contain;
    filter: brightness(0) saturate(100%) invert(74%) sepia(52%) saturate(4431%) hue-rotate(158deg) brightness(101%) contrast(104%);
}

.badge-logo--original,
.cert-logo--original {
    filter: none;
}

.cert-detail-logo {
    width: 28px;
    height: 28px;
    object-fit: contain;
    filter: brightness(0) saturate(100%) invert(74%) sepia(52%) saturate(4431%) hue-rotate(158deg) brightness(101%) contrast(104%);
}

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

    .reveal {
        opacity: 1;
        transform: none;
    }

    .hero-title {
        opacity: 1;
        transform: none;
    }

    .hero-cta {
        opacity: 1;
        transform: none;
    }

    .scroll-indicator {
        opacity: 1;
    }
}
