/* == RESET & BASE == */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: 'font-body', system-ui, sans-serif; background: var(--dark-bg); color: var(--text-main); line-height: 1.6; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; font-size: 1rem; }

/* == FONT FACES == */
@font-face { font-family: 'font-heading'; src: url('/fonts/plus-jakarta-sans-800.woff2') format('woff2'); font-weight: 800; font-display: swap; }
@font-face { font-family: 'font-heading'; src: url('/fonts/plus-jakarta-sans-700.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'font-display'; src: url('/fonts/syne-800.woff2') format('woff2'); font-weight: 800; font-display: swap; }
@font-face { font-family: 'font-display'; src: url('/fonts/syne-700.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'font-body'; src: url('/fonts/dm-sans-400.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'font-body'; src: url('/fonts/dm-sans-500.woff2') format('woff2'); font-weight: 500; font-display: swap; }

/* == DESIGN TOKENS == */
:root {
  --dark-bg: #071a2e;
  --darker-bg: #040f1c;
  --card-bg: #0d2137;
  --text-main: #f0f8ff;
  --text-muted: #8db8d8;
  --accent: #00b894;
  --accent-hover: #00a381;
  --accent-secondary: #1a6b5c;
  --white: #ffffff;
  --radius: 12px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow: 0 10px 30px -10px rgba(0,0,0,0.6);
  --shadow-hover: 0 20px 40px -10px rgba(0,184,148,0.3);
  --max-width: 1200px;
  --section-padding: 5rem 1.5rem;
}

/* == TYPOGRAPHY == */
h1 { font-family: 'font-heading', sans-serif; font-weight: 800; font-size: clamp(2rem, 5vw, 3.5rem); line-height: 1.1; }
h2 { font-family: 'font-heading', sans-serif; font-weight: 800; font-size: clamp(1.6rem, 3.5vw, 2.5rem); line-height: 1.2; }
h3 { font-family: 'font-heading', sans-serif; font-weight: 700; font-size: clamp(1.2rem, 2.5vw, 1.6rem); line-height: 1.3; }
h4 { font-family: 'font-heading', sans-serif; font-weight: 700; font-size: 1.1rem; }
p { color: var(--text-muted); line-height: 1.7; }
.highlight { color: var(--accent); }
.section-title { text-align: center; margin-bottom: 1rem; }
.section-subtitle { text-align: center; color: var(--text-muted); max-width: 640px; margin: 0 auto 3rem; }

/* == LAYOUT == */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 1.5rem; }
section { padding: var(--section-padding); }

/* == LOADER == */
#loader { position: fixed; inset: 0; background: var(--darker-bg); display: flex; align-items: center; justify-content: center; z-index: 9999; transition: opacity 0.4s ease, visibility 0.4s ease; }
#loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-spinner { width: 48px; height: 48px; border: 3px solid rgba(0,184,148,0.2); border-top-color: var(--accent); border-radius: 50%; animation: spin 0.8s linear infinite; }

/* == HEADER == */
#header { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; padding: 1.2rem 0; transition: background 0.4s ease, backdrop-filter 0.4s ease, box-shadow 0.4s ease; }
#header.scrolled { background: rgba(7,26,46,0.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 1px 20px rgba(0,0,0,0.4); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.logo { display: flex; align-items: center; gap: 0.6rem; font-family: 'font-heading', sans-serif; font-weight: 800; font-size: 1.3rem; letter-spacing: -0.02em; transition: filter var(--transition), transform var(--transition); }
.logo:hover { transform: scale(1.05); filter: drop-shadow(0 0 8px var(--accent)); }
.logo svg { fill: var(--accent); flex-shrink: 0; }
.logo-text { color: var(--text-main); }
.logo-text span { color: var(--accent); }
nav { display: flex; align-items: center; gap: 0.25rem; }
nav a { padding: 0.5rem 0.75rem; color: var(--text-muted); font-weight: 500; font-size: 0.9rem; border-radius: 8px; transition: color var(--transition), background var(--transition); }
nav a:hover, nav a.active { color: var(--text-main); background: rgba(255,255,255,0.06); }
.header-cta { display: flex; align-items: center; gap: 0.75rem; }
.header-phone { color: var(--accent); font-weight: 700; font-size: 0.95rem; display: flex; align-items: center; gap: 0.4rem; transition: opacity var(--transition); }
.header-phone:hover { opacity: 0.8; }
.burger { display: none; flex-direction: column; gap: 5px; padding: 8px; border-radius: 8px; transition: background var(--transition); }
.burger span { display: block; width: 22px; height: 2px; background: var(--text-main); border-radius: 2px; transition: transform 0.3s ease, opacity 0.3s ease; }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-overlay { display: none; position: fixed; inset: 0; background: var(--dark-bg); z-index: 999; flex-direction: column; align-items: center; justify-content: center; gap: 1.5rem; opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0.3s ease; }
.mobile-overlay.open { opacity: 1; visibility: visible; }
.mobile-overlay a { font-size: 1.4rem; font-weight: 700; color: var(--text-main); padding: 0.75rem 2rem; border-radius: var(--radius); transition: color var(--transition), background var(--transition); }
.mobile-overlay a:hover { color: var(--accent); }
.mobile-overlay .btn { font-size: 1rem; }

/* == FOOTER == */
footer { background: #000000; padding: 4rem 1.5rem 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 3rem; max-width: var(--max-width); margin: 0 auto 3rem; }
.footer-brand .logo { margin-bottom: 1rem; }
.footer-tagline { color: var(--text-muted); font-size: 0.9rem; line-height: 1.6; }
.footer-col h4 { color: var(--text-main); font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 1.2rem; }
.footer-col ul li { margin-bottom: 0.6rem; }
.footer-col ul a { color: var(--text-muted); font-size: 0.9rem; transition: color var(--transition); }
.footer-col ul a:hover { color: var(--accent); }
.footer-contact-item { display: flex; align-items: center; gap: 0.6rem; color: var(--text-muted); font-size: 0.9rem; margin-bottom: 0.6rem; }
.footer-contact-item a { color: var(--text-muted); transition: color var(--transition); }
.footer-contact-item a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.06); padding-top: 2rem; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; max-width: var(--max-width); margin: 0 auto; }
.footer-bottom p, .footer-bottom a { color: rgba(141,184,216,0.5); font-size: 0.82rem; }
.footer-bottom a:hover { color: var(--accent); }
.footer-legal { display: flex; gap: 1.5rem; }

/* == BUTTONS == */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.8rem 1.75rem; border-radius: 50px; font-weight: 600; font-size: 0.95rem; cursor: pointer; transition: background var(--transition), color var(--transition), transform var(--transition), box-shadow var(--transition); position: relative; overflow: hidden; border: 2px solid transparent; text-decoration: none; white-space: nowrap; }
.btn:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.btn-primary { background: var(--accent); color: var(--white); border-color: var(--accent); }
.btn-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,184,148,0.4); }
.btn-outline { background: transparent; color: var(--accent); border-color: var(--accent); }
.btn-outline:hover { background: var(--accent); color: var(--white); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,184,148,0.4); }
.btn-lg { padding: 1rem 2.25rem; font-size: 1.05rem; }
.btn-sm { padding: 0.55rem 1.2rem; font-size: 0.85rem; }
.ripple { position: absolute; border-radius: 50%; background: rgba(255,255,255,0.4); transform: scale(0); animation: rippleAnim 0.6s ease-out forwards; pointer-events: none; }

/* == REVEAL SCROLL == */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.6s var(--transition), transform 0.6s var(--transition); }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* == HERO == */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; background-repeat: no-repeat; }
.hero-overlay { position: absolute; inset: 0; background: rgba(4,15,28,0.82); }
#particles-canvas { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.hero-content { position: relative; z-index: 2; max-width: var(--max-width); margin: 0 auto; padding: 6rem 1.5rem 4rem; }
.hero-badge-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 2rem; }
.hero-badge { display: inline-flex; align-items: center; gap: 0.4rem; background: rgba(0,184,148,0.12); border: 1px solid rgba(0,184,148,0.3); color: var(--accent); padding: 0.4rem 0.9rem; border-radius: 50px; font-size: 0.82rem; font-weight: 600; opacity: 0; animation: slideUpFade 0.5s ease forwards; }
.hero h1 { margin-bottom: 1.5rem; max-width: 780px; }
.hero-subtitle { font-size: 1.1rem; color: var(--text-muted); max-width: 640px; margin-bottom: 2.5rem; line-height: 1.7; }
.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; }

/* == SONAR PULSE == */
.sonar-wrap { position: absolute; right: 8%; top: 50%; transform: translateY(-50%); width: 180px; height: 180px; display: flex; align-items: center; justify-content: center; }
.sonar-ring { position: absolute; width: 100%; height: 100%; border: 2px solid var(--accent); border-radius: 50%; animation: sonarPulse 2.4s ease-out infinite; }
.sonar-ring:nth-child(2) { animation-delay: 0.6s; }
.sonar-ring:nth-child(3) { animation-delay: 1.2s; }
.sonar-icon { position: relative; z-index: 1; width: 56px; height: 56px; background: rgba(0,184,148,0.15); border: 2px solid var(--accent); border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.sonar-icon svg { fill: var(--accent); width: 28px; height: 28px; }

/* == STATS == */
.stats-section { background: radial-gradient(ellipse at center, var(--accent), var(--accent-secondary)); padding: 4rem 1.5rem; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; max-width: var(--max-width); margin: 0 auto; text-align: center; }
.stat-item {}
.stat-value { font-family: 'font-heading', sans-serif; font-weight: 800; font-size: clamp(2.5rem, 5vw, 3.5rem); color: var(--white); line-height: 1; text-shadow: 0 0 20px rgba(255,255,255,0.4); display: block; }
.stat-label { color: rgba(255,255,255,0.8); font-size: 0.9rem; margin-top: 0.5rem; display: block; }

/* == FEATURE CARDS == */
.feature-card { background: var(--card-bg); border-radius: var(--radius); padding: 2rem; border: 1px solid rgba(255,255,255,0.05); transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition); cursor: default; }
.feature-card:hover { transform: translateY(-10px); box-shadow: 0 0 30px rgba(0,184,148,0.2); border-color: var(--accent); }
.feature-card .card-icon { width: 56px; height: 56px; background: rgba(0,184,148,0.1); border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 1.25rem; }
.feature-card .card-icon svg { width: 28px; height: 28px; fill: var(--accent); }
.feature-card h3 { color: var(--text-main); margin-bottom: 0.75rem; font-size: 1.15rem; }
.feature-card p { font-size: 0.9rem; line-height: 1.6; margin-bottom: 1rem; }
.feature-card .card-link { color: var(--accent); font-size: 0.88rem; font-weight: 600; display: inline-flex; align-items: center; gap: 0.3rem; transition: gap var(--transition); }
.feature-card .card-link:hover { gap: 0.6rem; }
.cards-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.cards-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.cards-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

/* == WAVE DIVIDER == */
.wave-divider { line-height: 0; overflow: hidden; }
.wave-divider svg { display: block; width: 100%; }

/* == TIMELINE == */
.timeline { position: relative; max-width: 900px; margin: 0 auto; }
.timeline::before { content: ''; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; background: rgba(0,184,148,0.2); transform: translateX(-50%); }
.timeline-item { display: grid; grid-template-columns: 1fr 60px 1fr; gap: 1rem; align-items: center; margin-bottom: 3rem; }
.timeline-item:nth-child(even) .timeline-content { grid-column: 3; grid-row: 1; }
.timeline-item:nth-child(even) .timeline-empty { grid-column: 1; grid-row: 1; }
.timeline-dot { grid-column: 2; width: 44px; height: 44px; background: var(--accent); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; color: var(--white); font-size: 1rem; box-shadow: 0 0 0 6px rgba(0,184,148,0.15); flex-shrink: 0; justify-self: center; }
.timeline-content { background: var(--card-bg); padding: 1.5rem; border-radius: var(--radius); border: 1px solid rgba(255,255,255,0.05); }
.timeline-content h3 { color: var(--text-main); margin-bottom: 0.5rem; font-size: 1rem; }
.timeline-content p { font-size: 0.88rem; }
.timeline-step { display: flex; flex-direction: column; gap: 2rem; }
.timeline-step-item { display: flex; gap: 1.5rem; align-items: flex-start; }
.step-num { width: 40px; height: 40px; background: var(--accent); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; color: var(--white); flex-shrink: 0; }

/* == TESTIMONIALS == */
.testimonial-card { background: var(--card-bg); border-radius: var(--radius); padding: 1.75rem; border: 1px solid rgba(255,255,255,0.05); }
.testimonial-card .stars { color: #ffd700; margin-bottom: 0.75rem; font-size: 0.9rem; letter-spacing: 2px; }
.testimonial-card blockquote { color: var(--text-main); font-size: 0.95rem; line-height: 1.6; margin-bottom: 1rem; font-style: italic; }
.testimonial-card .author { color: var(--text-muted); font-size: 0.85rem; font-weight: 600; }
.carousel-wrap { position: relative; overflow: hidden; }
.carousel-track { display: flex; transition: transform 0.5s ease; }
.carousel-slide { min-width: 100%; padding: 0 1rem; }
.carousel-dots { display: flex; justify-content: center; gap: 0.5rem; margin-top: 1.5rem; }
.carousel-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.2); border: none; cursor: pointer; transition: background var(--transition), opacity var(--transition); }
.carousel-dot.active { background: var(--accent); opacity: 1; }

/* == FAQ ACCORDION == */
.faq-item { border-bottom: 1px solid rgba(255,255,255,0.06); }
.faq-question { display: flex; align-items: center; justify-content: space-between; padding: 1.25rem 0; cursor: pointer; color: var(--text-main); font-weight: 600; font-size: 1rem; gap: 1rem; background: none; width: 100%; text-align: left; transition: color var(--transition); }
.faq-question:hover { color: var(--accent); }
.faq-icon { width: 24px; height: 24px; flex-shrink: 0; border: 2px solid var(--accent); border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: transform var(--transition); }
.faq-icon::after { content: '+'; color: var(--accent); font-size: 0.9rem; line-height: 1; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.faq-answer-inner { padding: 0 0 1.25rem; color: var(--text-muted); font-size: 0.92rem; line-height: 1.7; }

/* == ZONE PILLS == */
.zones-wrap { display: flex; flex-wrap: wrap; gap: 0.6rem; justify-content: center; }
.zone-pill { display: inline-block; padding: 0.45rem 1rem; border: 1px solid rgba(0,184,148,0.3); border-radius: 50px; color: var(--text-muted); font-size: 0.85rem; font-weight: 500; transition: background var(--transition), color var(--transition), transform var(--transition); cursor: default; }
.zone-pill:hover, .zone-pill a:hover { background: var(--accent); color: var(--white); transform: scale(1.05); }
.zone-pill a { color: inherit; }

/* == PORTFOLIO CARDS == */
.portfolio-card { border-radius: var(--radius); overflow: hidden; position: relative; aspect-ratio: 4/3; cursor: pointer; }
.portfolio-before, .portfolio-after { position: absolute; inset: 0; display: flex; align-items: flex-end; padding: 1rem; }
.portfolio-before { background: linear-gradient(135deg, #0f1f2e, #1a2f40); }
.portfolio-after { background: linear-gradient(135deg, #0a2e2a, #0d4a3e); clip-path: inset(0 100% 0 0); transition: clip-path 0.5s ease; }
.portfolio-card:hover .portfolio-after { clip-path: inset(0 0% 0 0); }
.portfolio-label { background: rgba(0,0,0,0.6); backdrop-filter: blur(4px); padding: 0.5rem 0.75rem; border-radius: 8px; font-size: 0.8rem; color: var(--white); line-height: 1.4; position: relative; z-index: 1; }
.portfolio-label strong { color: var(--accent); display: block; margin-bottom: 0.2rem; }
.portfolio-swipe-line { position: absolute; top: 0; bottom: 0; width: 2px; background: var(--accent); left: 0; opacity: 0; transition: opacity 0.3s ease; pointer-events: none; }
.portfolio-card:hover .portfolio-swipe-line { opacity: 1; left: 50%; }

/* == ASSURANCE SECTION == */
.assurance-section { background: radial-gradient(ellipse at center, var(--accent), var(--accent-secondary)); padding: var(--section-padding); color: var(--white); }
.assurance-section h2 { color: var(--white); }
.assurance-section p { color: rgba(255,255,255,0.85); }
.mini-testimonial { background: var(--white); border-radius: var(--radius); padding: 1.25rem; color: var(--dark-bg); }
.mini-testimonial p { color: var(--dark-bg); font-size: 0.88rem; line-height: 1.6; margin-bottom: 0.6rem; }
.mini-testimonial .author { color: var(--accent-secondary); font-size: 0.8rem; font-weight: 700; }

/* == NORMES CARDS == */
.norm-card { background: var(--card-bg); border-radius: var(--radius); padding: 1.5rem; border-left: 3px solid var(--accent); }
.norm-card h4 { color: var(--text-main); margin-bottom: 0.5rem; display: flex; align-items: center; gap: 0.5rem; }
.norm-card h4 svg { fill: var(--accent); width: 20px; height: 20px; flex-shrink: 0; }
.norm-card p { font-size: 0.88rem; }

/* == FORM == */
.form-group { position: relative; margin-bottom: 1.25rem; }
.form-group label { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: var(--text-muted); font-size: 0.9rem; transition: all 0.2s ease; pointer-events: none; background: transparent; padding: 0 0.25rem; z-index: 1; }
.form-group.textarea-group label { top: 1rem; transform: none; }
.form-group input, .form-group select, .form-group textarea { width: 100%; background: var(--card-bg); border: 1.5px solid rgba(255,255,255,0.1); border-radius: var(--radius); padding: 1rem; color: var(--text-main); font-size: 0.95rem; transition: border-color var(--transition), box-shadow var(--transition); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(0,184,148,0.12); }
.form-group input:focus ~ label, .form-group input:not(:placeholder-shown) ~ label,
.form-group textarea:focus ~ label, .form-group textarea:not(:placeholder-shown) ~ label { top: -0.4rem; transform: none; font-size: 0.75rem; color: var(--accent); background: var(--card-bg); }
.form-group select option { background: var(--card-bg); }
.checkbox-group { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.6rem; margin-bottom: 1.25rem; }
.checkbox-label { display: flex; align-items: center; gap: 0.6rem; padding: 0.75rem 1rem; background: var(--card-bg); border: 1.5px solid rgba(255,255,255,0.1); border-radius: var(--radius); cursor: pointer; font-size: 0.88rem; color: var(--text-muted); transition: border-color var(--transition), background var(--transition), color var(--transition); }
.checkbox-label input[type="checkbox"] { display: none; }
.checkbox-label input[type="checkbox"]:checked + span.checkbox-custom { background: var(--accent); border-color: var(--accent); }
.checkbox-label input[type="checkbox"]:checked + span.checkbox-custom::after { opacity: 1; }
.checkbox-label:has(input:checked) { border-color: var(--accent); background: rgba(0,184,148,0.08); color: var(--text-main); }
.checkbox-custom { width: 18px; height: 18px; border: 2px solid rgba(255,255,255,0.2); border-radius: 4px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: all var(--transition); }
.checkbox-custom::after { content: '✓'; color: var(--white); font-size: 0.7rem; opacity: 0; transition: opacity 0.2s ease; }
.form-card { background: var(--card-bg); border-radius: var(--radius); padding: 2rem; border: 1px solid rgba(255,255,255,0.07); }
.diagnosis-result { background: var(--card-bg); border: 1px solid var(--accent); border-radius: var(--radius); padding: 1.25rem; margin-top: 1rem; display: none; }
.diagnosis-result.visible { display: block; }
.diagnosis-result .diag-label { color: var(--accent); font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.5rem; }
.diagnosis-result p { font-size: 0.9rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-note { font-size: 0.8rem; color: var(--text-muted); margin-top: 0.5rem; display: flex; align-items: center; gap: 0.4rem; }

/* == BADGES == */
.badge { display: inline-flex; align-items: center; gap: 0.4rem; background: rgba(0,184,148,0.12); border: 1px solid rgba(0,184,148,0.3); color: var(--accent); padding: 0.35rem 0.85rem; border-radius: 50px; font-size: 0.8rem; font-weight: 600; }

/* == LIGHTBOX == */
#lightbox { display: none; position: fixed; inset: 0; background: rgba(4,15,28,0.95); z-index: 2000; align-items: center; justify-content: center; }
#lightbox.open { display: flex; }
.lightbox-content { max-width: 90vw; max-height: 90vh; position: relative; }
.lightbox-close { position: absolute; top: -2.5rem; right: 0; background: none; border: none; color: var(--white); font-size: 1.5rem; cursor: pointer; opacity: 0.7; transition: opacity var(--transition); }
.lightbox-close:hover { opacity: 1; }

/* == FILTER TABS == */
.filter-tabs { display: flex; gap: 0.5rem; flex-wrap: wrap; justify-content: center; margin-bottom: 2rem; }
.filter-btn { padding: 0.5rem 1.2rem; border: 1.5px solid rgba(255,255,255,0.1); border-radius: 50px; color: var(--text-muted); font-size: 0.88rem; font-weight: 600; background: transparent; cursor: pointer; transition: all var(--transition); }
.filter-btn.active, .filter-btn:hover { border-color: var(--accent); color: var(--accent); background: rgba(0,184,148,0.08); }

/* == BEFORE/AFTER LABEL == */
.ba-tag { position: absolute; top: 0.5rem; left: 0.5rem; font-size: 0.7rem; font-weight: 700; padding: 0.2rem 0.5rem; border-radius: 4px; text-transform: uppercase; letter-spacing: 0.05em; z-index: 2; }
.ba-tag.before { background: rgba(255,255,255,0.15); color: var(--white); }
.ba-tag.after { background: var(--accent); color: var(--white); }

/* == CTA SECTION == */
.cta-section { text-align: center; padding: 4rem 1.5rem; }
.cta-section h2 { margin-bottom: 1rem; }
.cta-section p { margin-bottom: 2rem; }
.cta-section .btn-group { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* == PAGE HERO (inner pages) == */
.page-hero { background: var(--dark-bg); padding: 7rem 1.5rem 4rem; text-align: center; border-bottom: 1px solid rgba(255,255,255,0.05); }
.page-hero h1 { margin-bottom: 1rem; }
.page-hero p { max-width: 640px; margin: 0 auto; }
.breadcrumb { display: flex; align-items: center; gap: 0.5rem; justify-content: center; margin-bottom: 1.5rem; font-size: 0.85rem; color: var(--text-muted); }
.breadcrumb a { color: var(--text-muted); transition: color var(--transition); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { color: var(--accent); }

/* == TECH TABLE == */
.tech-table { width: 100%; border-collapse: collapse; margin: 2rem 0; }
.tech-table th { background: var(--card-bg); color: var(--accent); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.05em; padding: 0.85rem 1rem; text-align: left; border-bottom: 2px solid rgba(0,184,148,0.3); }
.tech-table td { padding: 0.85rem 1rem; color: var(--text-muted); border-bottom: 1px solid rgba(255,255,255,0.04); font-size: 0.9rem; }
.tech-table tr:hover td { background: rgba(255,255,255,0.02); }
.tech-table td:first-child { color: var(--text-main); font-weight: 600; }

/* == STAR RATING == */
.star-rating { color: #ffd700; font-size: 1.1rem; letter-spacing: 2px; }
.rating-summary { display: flex; align-items: center; gap: 1rem; margin-bottom: 2.5rem; }
.rating-score { font-family: 'font-heading', sans-serif; font-weight: 800; font-size: 3rem; color: var(--text-main); line-height: 1; }
.rating-info { display: flex; flex-direction: column; gap: 0.25rem; }
.rating-count { color: var(--text-muted); font-size: 0.88rem; }

/* == SUCCESS PAGE == */
.success-icon { width: 80px; height: 80px; background: rgba(0,184,148,0.12); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 1.5rem; }
.success-icon svg { fill: var(--accent); width: 40px; height: 40px; animation: scaleIn 0.5s ease forwards; }

/* == 404 == */
.error-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 2rem; }
.error-code { font-family: 'font-heading', sans-serif; font-weight: 800; font-size: clamp(6rem, 15vw, 10rem); color: var(--accent); opacity: 0.15; line-height: 1; position: absolute; }
.error-content { position: relative; z-index: 1; }
.error-hero { position: relative; text-align: center; padding: clamp(5rem, 12vw, 8rem) 1.5rem 4rem; display: flex; flex-direction: column; align-items: center; gap: 1.5rem; }
.error-drop { width: clamp(80px, 15vw, 120px); height: clamp(80px, 15vw, 120px); }
.quick-links { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; margin-top: 0.5rem; }
.search-bar { display: flex; gap: 0.5rem; width: 100%; max-width: 420px; }
.search-bar input { flex: 1; background: var(--card-bg); border: 1.5px solid rgba(255,255,255,0.1); border-radius: var(--radius); padding: 0.65rem 1rem; color: var(--text-main); font-size: 0.95rem; outline: none; transition: border-color .2s; }
.search-bar input:focus { border-color: var(--accent); }
.search-bar button { background: var(--accent); color: var(--darker-bg); border: none; border-radius: var(--radius); padding: 0.65rem 1.25rem; font-weight: 700; cursor: pointer; white-space: nowrap; transition: opacity .2s; }
.search-bar button:hover { opacity: 0.85; }

/* == BLOG == */
.blog-card { background: var(--card-bg); border-radius: var(--radius); overflow: hidden; border: 1px solid rgba(255,255,255,0.05); transition: transform var(--transition), box-shadow var(--transition); }
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.blog-card-img { aspect-ratio: 16/9; background: linear-gradient(135deg, var(--dark-bg), var(--card-bg)); position: relative; overflow: hidden; }
.blog-card-body { padding: 1.5rem; }
.blog-meta { display: flex; gap: 1rem; margin-bottom: 0.75rem; }
.blog-meta span { font-size: 0.78rem; color: var(--text-muted); }
.blog-meta .cat { color: var(--accent); font-weight: 600; }
.blog-card h3 { color: var(--text-main); margin-bottom: 0.6rem; font-size: 1.05rem; }
.blog-card p { font-size: 0.88rem; margin-bottom: 1rem; }
.read-more { color: var(--accent); font-size: 0.85rem; font-weight: 600; display: inline-flex; align-items: center; gap: 0.3rem; transition: gap var(--transition); }
.read-more:hover { gap: 0.6rem; }

/* == ARTICLE == */
.article-body { max-width: 760px; margin: 0 auto; }
.article-body h2 { margin: 2.5rem 0 1rem; }
.article-body h3 { margin: 2rem 0 0.75rem; }
.article-body p { margin-bottom: 1.25rem; font-size: 1rem; color: var(--text-muted); }
.article-body ul { margin: 1rem 0 1.25rem 1.5rem; list-style: disc; }
.article-body ul li { color: var(--text-muted); margin-bottom: 0.4rem; font-size: 0.95rem; }
.article-cta-box { background: var(--card-bg); border: 2px solid var(--accent); border-radius: var(--radius); padding: 1.75rem; margin: 2.5rem 0; text-align: center; }
.article-cta-box h3 { color: var(--text-main); margin-bottom: 0.75rem; }
.article-cta-box p { margin-bottom: 1.25rem; }

/* == URGENCE == */
.urgence-phone { font-family: 'font-heading', sans-serif; font-weight: 800; font-size: clamp(2.5rem, 8vw, 4.5rem); color: var(--accent); text-align: center; display: block; line-height: 1; margin-bottom: 1rem; transition: opacity var(--transition); }
.urgence-phone:hover { opacity: 0.8; }
.checklist { display: flex; flex-direction: column; gap: 0.75rem; }
.checklist-item { display: flex; align-items: flex-start; gap: 0.75rem; padding: 0.75rem 1rem; background: var(--card-bg); border-radius: var(--radius); border-left: 3px solid var(--accent); }
.checklist-item .check { color: var(--accent); font-size: 1rem; flex-shrink: 0; margin-top: 0.05rem; }
.checklist-item p { font-size: 0.9rem; margin: 0; }

/* == LEGAL PAGES == */
.legal-content { max-width: 760px; margin: 0 auto; }
.legal-content h2 { margin: 2.5rem 0 1rem; font-size: 1.3rem; }
.legal-content h3 { margin: 1.75rem 0 0.75rem; font-size: 1.1rem; }
.legal-content p { margin-bottom: 1rem; font-size: 0.95rem; }
.legal-content ul { margin: 0.75rem 0 1rem 1.5rem; list-style: disc; }
.legal-content ul li { color: var(--text-muted); font-size: 0.92rem; margin-bottom: 0.3rem; }
.legal-content a { color: var(--accent); }

/* == SIDEBAR == */
.page-with-sidebar { display: grid; grid-template-columns: 1fr 320px; gap: 3rem; align-items: start; }
.sidebar { position: sticky; top: 6rem; }
.sidebar-card { background: var(--card-bg); border-radius: var(--radius); padding: 1.5rem; border: 1px solid rgba(255,255,255,0.07); margin-bottom: 1.25rem; }
.sidebar-card h4 { color: var(--text-main); margin-bottom: 1rem; font-size: 1rem; }
.sidebar-phone { font-family: 'font-heading', sans-serif; font-weight: 800; font-size: 1.5rem; color: var(--accent); display: block; margin-bottom: 0.25rem; }
.sidebar-guarantee { display: flex; align-items: center; gap: 0.6rem; font-size: 0.85rem; color: var(--text-muted); margin-bottom: 0.5rem; }
.sidebar-guarantee svg { fill: var(--accent); width: 16px; height: 16px; flex-shrink: 0; }

/* == TRANSITIONS ALTERNÉES TIMELINE TECH == */
.tech-section-block { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; margin-bottom: 5rem; }
.tech-section-block:nth-child(even) .tech-text { order: 2; }
.tech-section-block:nth-child(even) .tech-visual { order: 1; }
.tech-visual { background: var(--card-bg); border-radius: var(--radius); padding: 3rem; display: flex; align-items: center; justify-content: center; aspect-ratio: 1; border: 1px solid rgba(255,255,255,0.05); }
.tech-big-icon { width: 80px; height: 80px; fill: var(--accent); }
.tech-text .badge { margin-bottom: 1rem; }
.tech-text h2 { margin-bottom: 1rem; }
.tech-text p { margin-bottom: 1.5rem; }
.tech-specs { display: flex; flex-direction: column; gap: 0.6rem; }
.tech-spec { display: flex; align-items: center; gap: 0.6rem; font-size: 0.88rem; color: var(--text-muted); }
.tech-spec::before { content: '→'; color: var(--accent); font-weight: 700; }

/* == VALUES CARDS (A-PROPOS) == */
.value-card { text-align: center; padding: 2.5rem 1.5rem; background: var(--card-bg); border-radius: var(--radius); border: 1px solid rgba(255,255,255,0.05); }
.value-icon { width: 64px; height: 64px; margin: 0 auto 1.25rem; background: rgba(0,184,148,0.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.value-icon svg { fill: var(--accent); width: 32px; height: 32px; }
.value-card h3 { color: var(--text-main); margin-bottom: 0.75rem; }

/* == TEAM == */
.team-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; max-width: 700px; margin: 0 auto; }
.team-card { background: var(--card-bg); border-radius: var(--radius); padding: 2rem; text-align: center; border: 1px solid rgba(255,255,255,0.05); }
.team-avatar { width: 80px; height: 80px; margin: 0 auto 1rem; border-radius: 50%; background: var(--darker-bg); border: 3px solid rgba(0,184,148,0.3); display: flex; align-items: center; justify-content: center; }
.team-avatar svg { fill: var(--text-muted); width: 40px; height: 40px; }
.team-card h3 { color: var(--text-main); margin-bottom: 0.25rem; font-size: 1.1rem; }
.team-card .role { color: var(--accent); font-size: 0.85rem; font-weight: 600; }

/* == URGENCE BIG == */
.urgence-hero { background: linear-gradient(135deg, var(--darker-bg) 0%, var(--dark-bg) 100%); padding: 8rem 1.5rem 5rem; text-align: center; border-bottom: 2px solid var(--accent); }
.urgence-hero h1 { color: var(--text-main); margin-bottom: 1rem; }
.urgence-hero .subtitle { font-size: 1.1rem; color: var(--text-muted); margin-bottom: 2rem; }

/* == KEYFRAMES == */
@keyframes slideUpFade { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes sonarPulse { 0% { transform: scale(1); opacity: 1; } 100% { transform: scale(2.5); opacity: 0; } }
@keyframes rippleAnim { to { transform: scale(4); opacity: 0; } }
@keyframes fadeOut { from { opacity: 1; } to { opacity: 0; visibility: hidden; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes scaleIn { from { transform: scale(0); } to { transform: scale(1); } }
@keyframes floatUp { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* == MEDIA QUERIES == */
@media (max-width: 1024px) {
  .cards-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .tech-section-block { grid-template-columns: 1fr; gap: 2rem; }
  .tech-section-block:nth-child(even) .tech-text { order: 0; }
  .tech-section-block:nth-child(even) .tech-visual { order: 0; }
  .page-with-sidebar { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .timeline::before { left: 20px; }
  .timeline-item { grid-template-columns: 40px 1fr; }
  .timeline-dot { grid-column: 1; width: 36px; height: 36px; font-size: 0.85rem; }
  .timeline-content { grid-column: 2; }
  .timeline-item:nth-child(even) .timeline-content { grid-column: 2; grid-row: auto; }
  .timeline-item:nth-child(even) .timeline-empty { display: none; }
  .sonar-wrap { display: none; }
}

@media (max-width: 768px) {
  :root { --section-padding: 3.5rem 1rem; }
  .cards-grid-3 { grid-template-columns: 1fr; }
  .cards-grid-2 { grid-template-columns: 1fr; }
  .cards-grid-4 { grid-template-columns: 1fr; }
  nav { display: none; }
  .burger { display: flex; }
  .mobile-overlay { display: flex; }
  .header-phone { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .form-row { grid-template-columns: 1fr; }
  .checkbox-group { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; max-width: 340px; }
  .sonar-wrap { display: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .hero-ctas { flex-direction: column; align-items: flex-start; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .btn-lg { width: 100%; justify-content: center; }
  .filter-tabs { gap: 0.35rem; }
  .filter-btn { font-size: 0.8rem; padding: 0.4rem 0.9rem; }
}
