/* ===== PAGES INTERNES — Yannice Industries ===== */

/* PAGE HERO (compact) */
.page-hero {
    min-height: 45vh;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: calc(80px + var(--space-xl)) var(--container-padding) var(--space-xl);
    overflow: hidden;
    background: var(--bg-deep);
}
.page-hero .hero-bg {
    position: absolute; inset: 0;
    background:
        radial-gradient(ellipse at 20% 80%, rgba(255,107,107,0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(78,205,196,0.06) 0%, transparent 50%),
        var(--bg-deep);
}
.page-hero-content { position: relative; z-index: 10; max-width: 1200px; margin: 0 auto; width: 100%; }
.page-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 6vw, 3.5rem);
    font-weight: 400; line-height: 1.1;
    color: var(--text-primary);
    margin-bottom: var(--space-md);
}
.page-hero h1 em {
    font-style: italic;
    background: var(--gradient-vibrant);
    background-size: 200% 200%;
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 5s ease-in-out infinite;
}
.page-hero .hero-subtitle {
    font-size: 1rem; line-height: 1.7;
    color: var(--text-secondary); max-width: 600px;
}
@media (min-width: 768px) {
    .page-hero { min-height: 50vh; }
    .page-hero .hero-subtitle { font-size: 1.15rem; line-height: 1.8; }
}

/* BREADCRUMB */
.breadcrumb {
    position: relative; z-index: 10;
    max-width: 1200px; margin: 0 auto var(--space-md); width: 100%;
    display: flex; align-items: center; gap: 0.5rem;
    font-size: 0.8rem; color: var(--text-muted);
}
.breadcrumb a { color: var(--text-muted); text-decoration: none; transition: color 0.3s ease; }
.breadcrumb a:hover { color: var(--color-coral); }
.breadcrumb svg { width: 14px; height: 14px; opacity: 0.5; }
.breadcrumb span { color: var(--text-secondary); }

/* PAGE CONTENT */
.page-content {
    background: var(--bg-primary);
    padding: var(--space-2xl) var(--container-padding);
}
.page-content .section-inner { max-width: 1200px; margin: 0 auto; }

.content-intro { max-width: 800px; margin-bottom: var(--space-2xl); }
.content-intro p { font-size: 1rem; line-height: 1.8; color: var(--text-secondary); margin-bottom: var(--space-md); }
.content-intro strong { color: var(--text-primary); }
@media (min-width: 768px) { .content-intro p { font-size: 1.1rem; line-height: 1.9; } }

.page-content h2 {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 400; line-height: 1.15;
    color: var(--text-primary); margin-bottom: var(--space-lg);
}
.page-content h3 {
    font-family: var(--font-display);
    font-size: 1.3rem; font-weight: 600;
    color: var(--text-primary); margin-bottom: var(--space-sm);
}
@media (min-width: 768px) { .page-content h3 { font-size: 1.5rem; } }

/* FEATURES GRID */
.features-grid { display: grid; gap: var(--space-md); margin-bottom: var(--space-2xl); }
@media (min-width: 768px) { .features-grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-lg); } }
@media (min-width: 1024px) { .features-grid.cols-3 { grid-template-columns: repeat(3, 1fr); } }

.feature-card {
    position: relative; padding: var(--space-lg);
    background: var(--bg-card); border-radius: 1.25rem;
    border: 1px solid var(--border-subtle); transition: all 0.4s ease;
}
@media (min-width: 768px) {
    .feature-card { padding: var(--space-xl) var(--space-lg); border-radius: 1.5rem; }
    .feature-card:hover { border-color: rgba(255,107,107,0.2); box-shadow: var(--shadow-card); transform: translateY(-4px); }
    .feature-card:nth-child(2):hover { border-color: rgba(78,205,196,0.3); }
    .feature-card:nth-child(3):hover { border-color: rgba(168,85,247,0.3); }
    .feature-card:nth-child(4):hover { border-color: rgba(251,191,36,0.3); }
}

.feature-icon {
    width: 48px; height: 48px; background: var(--bg-deep);
    border-radius: 12px; display: flex; align-items: center;
    justify-content: center; margin-bottom: var(--space-md);
}
.feature-icon svg { width: 22px; height: 22px; stroke: var(--color-coral); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.feature-card:nth-child(2) .feature-icon svg { stroke: var(--color-cyan); }
.feature-card:nth-child(3) .feature-icon svg { stroke: var(--color-violet); }
.feature-card:nth-child(4) .feature-icon svg { stroke: var(--color-gold); }
.feature-card:nth-child(5) .feature-icon svg { stroke: var(--color-pink); }
.feature-card:nth-child(6) .feature-icon svg { stroke: var(--color-cyan); }
.feature-card p { color: var(--text-secondary); line-height: 1.7; font-size: 0.9rem; }
@media (min-width: 768px) { .feature-card p { font-size: 0.95rem; line-height: 1.8; } }

/* PROCESS STEPS */
.process-steps { display: grid; gap: var(--space-lg); margin-bottom: var(--space-2xl); counter-reset: step; }
@media (min-width: 768px) { .process-steps { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); } }
.process-step { position: relative; padding: var(--space-lg); padding-top: calc(var(--space-lg) + 0.5rem); counter-increment: step; }
.process-step::before {
    content: counter(step, decimal-leading-zero);
    font-family: var(--font-display); font-size: 3rem; font-weight: 600;
    background: var(--gradient-vibrant); -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text; opacity: 0.3; position: absolute; top: 0; left: var(--space-lg); line-height: 1;
}
.process-step p { color: var(--text-secondary); line-height: 1.7; font-size: 0.9rem; }

/* CTA BANNER */
.cta-banner {
    background: var(--bg-deep); padding: var(--space-2xl) var(--container-padding);
    text-align: center; position: relative; overflow: hidden;
}
.cta-banner::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(ellipse at 30% 50%, rgba(255,107,107,0.08) 0%, transparent 50%),
                radial-gradient(ellipse at 70% 50%, rgba(78,205,196,0.06) 0%, transparent 50%);
}
.cta-banner .section-inner { position: relative; z-index: 1; max-width: 700px; margin: 0 auto; }
.cta-banner h2 {
    font-family: var(--font-display); font-size: clamp(1.75rem, 5vw, 3rem);
    font-weight: 400; line-height: 1.15; color: var(--text-primary); margin-bottom: var(--space-md);
}
.cta-banner p { color: var(--text-secondary); font-size: 1rem; line-height: 1.7; margin-bottom: var(--space-lg); }

/* ZONE GEO */
.zone-section { background: var(--bg-deep); padding: var(--space-2xl) var(--container-padding); }
.zone-section .section-inner { max-width: 1200px; margin: 0 auto; }
.zone-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: var(--space-md); }
.zone-tags span {
    font-size: 0.8rem; padding: 0.4rem 1rem;
    background: var(--bg-card); border: 1px solid var(--border-subtle);
    border-radius: 2rem; color: var(--text-secondary); transition: all 0.3s ease;
}
@media (min-width: 768px) { .zone-tags span:hover { border-color: rgba(255,107,107,0.3); color: var(--color-coral); } }

/* RELATED SERVICES LINKS */
.related-services { background: var(--bg-primary); padding: var(--space-2xl) var(--container-padding); }
.related-services .section-inner { max-width: 1200px; margin: 0 auto; }
.related-grid { display: grid; gap: var(--space-md); margin-top: var(--space-lg); }
@media (min-width: 768px) { .related-grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: var(--space-lg); } }
.related-link {
    display: flex; align-items: center; justify-content: space-between;
    padding: var(--space-lg); background: var(--bg-card); border: 1px solid var(--border-subtle);
    border-radius: 1.25rem; text-decoration: none; color: var(--text-primary); transition: all 0.4s ease;
}
.related-link:hover { border-color: rgba(255,107,107,0.3); transform: translateY(-4px); box-shadow: var(--shadow-card); }
.related-link h3 { font-family: var(--font-display); font-size: 1.1rem; font-weight: 600; margin-bottom: 0.25rem; }
.related-link p { font-size: 0.85rem; color: var(--text-secondary); }
.related-link svg { width: 20px; height: 20px; stroke: var(--text-muted); fill: none; stroke-width: 2; flex-shrink: 0; transition: transform 0.3s ease, stroke 0.3s ease; }
.related-link:hover svg { transform: translateX(4px); stroke: var(--color-coral); }

/* ABOUT PAGE */
.about-grid { display: grid; gap: var(--space-lg); margin-bottom: var(--space-2xl); }
@media (min-width: 768px) { .about-grid { grid-template-columns: 1fr 1fr; gap: var(--space-xl); align-items: start; } }
.about-text p { font-size: 1rem; line-height: 1.8; color: var(--text-secondary); margin-bottom: var(--space-md); }
.about-text strong { color: var(--text-primary); }
.about-sidebar { padding: var(--space-lg); background: var(--bg-card); border: 1px solid var(--border-subtle); border-radius: 1.5rem; }
.about-sidebar h3 { font-family: var(--font-display); font-size: 1.2rem; color: var(--text-primary); margin-bottom: var(--space-md); }
.about-sidebar ul { list-style: none; display: flex; flex-direction: column; gap: var(--space-sm); }
.about-sidebar li { display: flex; align-items: center; gap: 0.75rem; font-size: 0.95rem; color: var(--text-secondary); }
.about-sidebar li::before { content: ''; width: 6px; height: 6px; background: var(--color-coral); border-radius: 50%; flex-shrink: 0; }
.about-sidebar li:nth-child(2)::before { background: var(--color-cyan); }
.about-sidebar li:nth-child(3)::before { background: var(--color-violet); }
.about-sidebar li:nth-child(4)::before { background: var(--color-gold); }
.about-sidebar li:nth-child(5)::before { background: var(--color-pink); }

.values-grid { display: grid; gap: var(--space-md); margin-bottom: var(--space-2xl); }
@media (min-width: 768px) { .values-grid { grid-template-columns: repeat(3, 1fr); gap: var(--space-lg); } }
.value-card { padding: var(--space-lg); border-left: 3px solid var(--color-coral); }
.value-card:nth-child(2) { border-left-color: var(--color-cyan); }
.value-card:nth-child(3) { border-left-color: var(--color-violet); }
.value-card h3 { font-family: var(--font-display); font-size: 1.2rem; color: var(--text-primary); margin-bottom: var(--space-xs); }
.value-card p { color: var(--text-secondary); line-height: 1.7; font-size: 0.9rem; }

/* DROPDOWN NAV */
.desktop-nav .nav-dropdown { position: relative; }
.desktop-nav .nav-dropdown-menu {
    display: none; position: absolute; top: calc(100% + 0.75rem);
    left: 50%; transform: translateX(-50%);
    background: var(--header-bg); backdrop-filter: blur(20px);
    border: 1px solid var(--border-subtle); border-radius: 1rem;
    padding: 0.75rem; min-width: 240px; z-index: 200;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}
.desktop-nav .nav-dropdown:hover .nav-dropdown-menu { display: block; }
.desktop-nav .nav-dropdown-menu a {
    display: block; padding: 0.6rem 1rem; border-radius: 0.5rem;
    font-size: 0.85rem !important; white-space: nowrap;
}
.desktop-nav .nav-dropdown-menu a:hover { background: var(--border-subtle); }
.desktop-nav .nav-dropdown-menu a::after { display: none !important; }

/* LIGHT THEME */
[data-theme="light"] .page-hero { background: var(--bg-deep); }
[data-theme="light"] .page-hero .hero-bg {
    background: radial-gradient(ellipse at 20% 80%, rgba(255,107,107,0.05) 0%, transparent 50%),
                radial-gradient(ellipse at 80% 20%, rgba(78,205,196,0.04) 0%, transparent 50%),
                var(--bg-deep);
}
[data-theme="light"] .feature-card { box-shadow: var(--shadow-card); }
[data-theme="light"] .feature-icon { background: var(--bg-deep); }
[data-theme="light"] .zone-tags span { background: var(--bg-card); }
[data-theme="light"] .about-sidebar { box-shadow: var(--shadow-card); }
[data-theme="light"] .related-link { box-shadow: var(--shadow-card); }
[data-theme="light"] .cta-banner::before {
    background: radial-gradient(ellipse at 30% 50%, rgba(255,107,107,0.04) 0%, transparent 50%),
                radial-gradient(ellipse at 70% 50%, rgba(78,205,196,0.03) 0%, transparent 50%);
}

/* TRANSITIONS */
.page-hero, .page-content, .cta-banner, .zone-section, .related-services { transition: background-color 0.5s ease; }
