/*
Theme Name: VisioDrone
Theme URI: https://visiodrone.com
Author: VisioDrone
Description: Thème professionnel pour prestations drone — design tech sombre bleu électrique
Version: 1.0
*/

:root {
  --black: #030508;
  --dark: #080d14;
  --panel: #0b1220;
  --card: #0e1828;
  --border: #1a2d4a;
  --blue: #0a7cff;
  --blue-bright: #2d9cff;
  --electric: #00d4ff;
  --electric-dim: rgba(0,212,255,0.15);
  --orange: #ff6b1a;
  --white: #e8f0ff;
  --grey: #8a9fc0;
  --font-head: 'Rajdhani', sans-serif;
  --font-body: 'Exo 2', sans-serif;
  --font-mono: 'Share Tech Mono', monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  overflow-x: hidden;
  cursor: default;
}

::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--dark); }
::-webkit-scrollbar-thumb { background: var(--blue); border-radius: 2px; }

nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5%;
  height: 70px;
  background: rgba(3,5,8,0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0,212,255,0.1);
}
.nav-logo {
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--white);
  text-decoration: none;
}
.nav-logo span { color: var(--electric); }
.nav-links { display: flex; gap: 2.5rem; list-style: none; }
.nav-links a {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--grey);
  text-decoration: none;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: color 0.3s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute; bottom: -4px; left: 0; right: 0;
  height: 1px; background: var(--electric);
  transform: scaleX(0); transition: transform 0.3s;
}
.nav-links a:hover { color: var(--electric); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-cta {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 2px;
  padding: 8px 20px;
  border: 1px solid var(--electric);
  color: var(--electric);
  text-decoration: none;
  text-transform: uppercase;
  transition: all 0.3s;
  background: transparent;
}
.nav-cta:hover { background: var(--electric); color: var(--black); }
.nav-burger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.nav-burger span { width: 24px; height: 2px; background: var(--electric); display: block; }

#hero {
  min-height: 100vh;
  display: flex; align-items: center;
  position: relative;
  overflow: hidden;
  padding: 0 5%;
}
.hero-grid {
  position: absolute; inset: 0; z-index: 0;
  background-image:
    linear-gradient(rgba(0,212,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,212,255,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: gridDrift 20s linear infinite;
}
@keyframes gridDrift {
  0% { transform: translateY(0); }
  100% { transform: translateY(60px); }
}
.hero-glow {
  position: absolute;
  width: 700px; height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,212,255,0.08) 0%, transparent 65%);
  top: -150px; right: -100px; z-index: 0;
  animation: pulse 6s ease-in-out infinite;
}
.hero-glow2 {
  position: absolute;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(10,124,255,0.1) 0%, transparent 65%);
  bottom: 0; left: 10%; z-index: 0;
  animation: pulse 8s ease-in-out infinite reverse;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.1); opacity: 0.7; }
}
.hero-scan {
  position: absolute; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--electric), transparent);
  animation: scan 4s linear infinite;
  z-index: 1; opacity: 0.4;
}
@keyframes scan {
  0% { top: 0%; }
  100% { top: 100%; }
}
.hero-content { position: relative; z-index: 2; max-width: 700px; }
.hero-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--electric);
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  display: flex; align-items: center; gap: 12px;
}
.hero-tag::before { content: ''; width: 30px; height: 1px; background: var(--electric); }
h1 {
  font-family: var(--font-head);
  font-size: clamp(3.5rem, 7vw, 6rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -1px;
  margin-bottom: 0.3rem;
}
h1 .accent { color: var(--electric); }
h1 .line2 { display: block; font-weight: 300; font-size: 0.65em; color: var(--grey); letter-spacing: 6px; margin-top: 0.4rem; }
.hero-desc {
  font-size: 1.05rem;
  font-weight: 300;
  color: var(--grey);
  line-height: 1.7;
  margin: 2rem 0 3rem;
  max-width: 500px;
}
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn-primary {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 2px;
  padding: 14px 32px;
  background: var(--electric);
  color: var(--black);
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 700;
  transition: all 0.3s;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
}
.btn-primary:hover { background: var(--blue-bright); box-shadow: 0 0 30px rgba(0,212,255,0.4); }
.btn-secondary {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 2px;
  padding: 14px 32px;
  border: 1px solid var(--border);
  color: var(--grey);
  text-decoration: none;
  text-transform: uppercase;
  transition: all 0.3s;
}
.btn-secondary:hover { border-color: var(--electric); color: var(--electric); }
.hero-stats {
  position: absolute; right: 5%; bottom: 15%; z-index: 2;
  display: flex; flex-direction: column; gap: 1.5rem;
}
.stat { border-left: 2px solid var(--electric); padding-left: 1rem; animation: fadeInRight 1s ease both; }
.stat:nth-child(2) { animation-delay: 0.2s; }
.stat:nth-child(3) { animation-delay: 0.4s; }
@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(20px); }
  to { opacity: 1; transform: translateX(0); }
}
.stat-num { font-family: var(--font-head); font-size: 2rem; font-weight: 700; color: var(--electric); line-height: 1; }
.stat-label { font-family: var(--font-mono); font-size: 0.65rem; color: var(--grey); letter-spacing: 2px; text-transform: uppercase; }
.hero-scroll {
  position: absolute; bottom: 2.5rem; left: 50%; transform: translateX(-50%);
  z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.hero-scroll span { font-family: var(--font-mono); font-size: 0.6rem; color: var(--grey); letter-spacing: 3px; text-transform: uppercase; }
.scroll-line { width: 1px; height: 40px; background: linear-gradient(var(--electric), transparent); animation: scrollPulse 1.5s ease-in-out infinite; }
@keyframes scrollPulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }

section { padding: 100px 5%; }
.section-tag { font-family: var(--font-mono); font-size: 0.68rem; color: var(--electric); letter-spacing: 4px; text-transform: uppercase; margin-bottom: 1rem; display: flex; align-items: center; gap: 10px; }
.section-tag::before { content: '//'; opacity: 0.5; }
.section-title { font-family: var(--font-head); font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 700; letter-spacing: -0.5px; line-height: 1.1; margin-bottom: 1rem; }
.section-title span { color: var(--electric); }
.section-sub { color: var(--grey); font-weight: 300; font-size: 1rem; max-width: 500px; line-height: 1.7; margin-bottom: 4rem; }
.divider { height: 1px; background: linear-gradient(90deg, var(--electric), transparent); margin-bottom: 4rem; opacity: 0.3; }

#services { background: var(--dark); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5px; }
.service-card { background: var(--panel); padding: 2.5rem; position: relative; overflow: hidden; transition: all 0.4s; border: 1px solid transparent; }
.service-card::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(0,212,255,0.05) 0%, transparent 60%); opacity: 0; transition: opacity 0.4s; }
.service-card:hover { border-color: rgba(0,212,255,0.3); transform: translateY(-4px); background: var(--card); }
.service-card:hover::before { opacity: 1; }
.service-icon { width: 56px; height: 56px; background: var(--electric-dim); border: 1px solid rgba(0,212,255,0.3); display: flex; align-items: center; justify-content: center; margin-bottom: 1.5rem; font-size: 1.5rem; clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px)); }
.service-number { font-family: var(--font-mono); font-size: 0.65rem; color: rgba(0,212,255,0.4); letter-spacing: 2px; margin-bottom: 0.8rem; }
.service-name { font-family: var(--font-head); font-size: 1.3rem; font-weight: 600; margin-bottom: 0.8rem; color: var(--white); }
.service-desc { font-size: 0.9rem; color: var(--grey); line-height: 1.6; font-weight: 300; }
.service-more { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-mono); font-size: 0.65rem; color: var(--electric); letter-spacing: 2px; text-transform: uppercase; margin-top: 1.5rem; opacity: 0; transition: opacity 0.3s; }
.service-card:hover .service-more { opacity: 1; }

#avantages { background: var(--black); }
.avantages-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; align-items: center; }
.avantages-visual { position: relative; aspect-ratio: 1; max-width: 460px; }
.av-ring { position: absolute; border-radius: 50%; border: 1px solid rgba(0,212,255,0.15); }
.av-ring-1 { inset: 0; animation: rotate 20s linear infinite; }
.av-ring-2 { inset: 10%; animation: rotate 15s linear infinite reverse; border-style: dashed; }
.av-ring-3 { inset: 22%; animation: rotate 10s linear infinite; }
@keyframes rotate { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.av-center { position: absolute; inset: 30%; background: var(--electric-dim); border-radius: 50%; border: 2px solid var(--electric); display: flex; align-items: center; justify-content: center; font-size: 2.5rem; box-shadow: 0 0 60px rgba(0,212,255,0.2); animation: centerPulse 3s ease-in-out infinite; }
@keyframes centerPulse { 0%,100% { box-shadow: 0 0 30px rgba(0,212,255,0.2); } 50% { box-shadow: 0 0 80px rgba(0,212,255,0.4); } }
.av-dot { position: absolute; width: 10px; height: 10px; background: var(--electric); border-radius: 50%; box-shadow: 0 0 10px var(--electric); }
.av-dot-1 { top: 5%; left: 50%; transform: translateX(-50%); }
.av-dot-2 { bottom: 5%; right: 20%; }
.av-dot-3 { top: 30%; right: 0; }
.avantages-list { display: flex; flex-direction: column; gap: 1.5rem; }
.av-item { display: flex; gap: 1.2rem; align-items: flex-start; padding: 1.5rem; background: var(--panel); border: 1px solid var(--border); transition: border-color 0.3s; }
.av-item:hover { border-color: rgba(0,212,255,0.3); }
.av-icon { font-size: 1.4rem; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; background: var(--electric-dim); border: 1px solid rgba(0,212,255,0.2); flex-shrink: 0; }
.av-text h4 { font-family: var(--font-head); font-size: 1rem; font-weight: 600; margin-bottom: 0.3rem; }
.av-text p { font-size: 0.88rem; color: var(--grey); font-weight: 300; line-height: 1.5; }

#realisations { background: var(--dark); }
.portfolio-filter { display: flex; gap: 0.8rem; flex-wrap: wrap; margin-bottom: 3rem; }
.filter-btn { font-family: var(--font-mono); font-size: 0.65rem; letter-spacing: 2px; padding: 8px 18px; background: transparent; border: 1px solid var(--border); color: var(--grey); cursor: pointer; text-transform: uppercase; transition: all 0.3s; }
.filter-btn.active, .filter-btn:hover { background: var(--electric-dim); border-color: var(--electric); color: var(--electric); }
.portfolio-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: auto; gap: 4px; }
.portfolio-item { position: relative; aspect-ratio: 4/3; background: var(--panel); overflow: hidden; cursor: pointer; }
.portfolio-item:first-child { grid-column: span 2; aspect-ratio: auto; min-height: 360px; }
.portfolio-placeholder { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.8rem; background: linear-gradient(135deg, var(--panel) 0%, var(--card) 100%); border: 1px solid var(--border); transition: all 0.4s; }
.portfolio-placeholder:hover { background: linear-gradient(135deg, var(--card) 0%, var(--panel) 100%); border-color: rgba(0,212,255,0.3); }
.portfolio-placeholder .ph-icon { font-size: 2.5rem; opacity: 0.5; }
.portfolio-placeholder .ph-label { font-family: var(--font-mono); font-size: 0.65rem; color: var(--grey); letter-spacing: 2px; text-transform: uppercase; opacity: 0.6; }
.portfolio-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(3,5,8,0.95) 0%, transparent 60%); opacity: 0; transition: opacity 0.4s; display: flex; align-items: flex-end; padding: 1.5rem; }
.portfolio-item:hover .portfolio-overlay { opacity: 1; }
.po-cat { font-family: var(--font-mono); font-size: 0.6rem; color: var(--electric); letter-spacing: 2px; text-transform: uppercase; display: block; margin-bottom: 0.3rem; }
.po-title { font-family: var(--font-head); font-size: 1.1rem; font-weight: 600; color: var(--white); }

#tarifs { background: var(--black); }
.tarifs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5px; }
.tarif-card { background: var(--panel); padding: 2.5rem; border: 1px solid var(--border); position: relative; transition: all 0.3s; }
.tarif-card.featured { background: linear-gradient(135deg, #0a1528 0%, #0e1e38 100%); border-color: var(--electric); }
.tarif-card.featured::before { content: 'POPULAIRE'; position: absolute; top: -1px; left: 50%; transform: translateX(-50%); background: var(--electric); color: var(--black); font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 2px; padding: 4px 14px; }
.tarif-card:hover { transform: translateY(-4px); }
.tarif-name { font-family: var(--font-head); font-size: 1.1rem; font-weight: 600; color: var(--grey); letter-spacing: 2px; text-transform: uppercase; margin-bottom: 1.5rem; }
.tarif-price { font-family: var(--font-head); font-size: 3rem; font-weight: 700; color: var(--white); line-height: 1; margin-bottom: 0.3rem; }
.tarif-price span { font-size: 1.2rem; color: var(--grey); }
.tarif-unit { font-family: var(--font-mono); font-size: 0.65rem; color: var(--grey); letter-spacing: 2px; margin-bottom: 2rem; }
.tarif-features { list-style: none; margin-bottom: 2.5rem; }
.tarif-features li { display: flex; align-items: center; gap: 0.7rem; padding: 0.6rem 0; border-bottom: 1px solid var(--border); font-size: 0.9rem; color: var(--grey); font-weight: 300; }
.tarif-features li::before { content: '→'; color: var(--electric); font-size: 0.8rem; }
.tarif-btn { display: block; text-align: center; font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 2px; padding: 12px; text-transform: uppercase; text-decoration: none; border: 1px solid var(--border); color: var(--grey); transition: all 0.3s; }
.tarif-btn:hover, .tarif-card.featured .tarif-btn { background: var(--electric); border-color: var(--electric); color: var(--black); font-weight: 700; }
.tarif-note { font-family: var(--font-mono); font-size: 0.68rem; color: rgba(138,159,192,0.5); text-align: center; margin-top: 2rem; letter-spacing: 1px; }

#contact { background: var(--dark); }
.contact-layout { display: grid; grid-template-columns: 1fr 1.4fr; gap: 6rem; align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 2rem; }
.contact-item { display: flex; gap: 1rem; align-items: flex-start; padding-bottom: 2rem; border-bottom: 1px solid var(--border); }
.ci-icon { width: 42px; height: 42px; background: var(--electric-dim); border: 1px solid rgba(0,212,255,0.2); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0; }
.ci-label { font-family: var(--font-mono); font-size: 0.6rem; color: var(--electric); letter-spacing: 2px; text-transform: uppercase; margin-bottom: 0.3rem; }
.ci-value { font-size: 0.95rem; color: var(--white); }
.certifs { background: var(--panel); border: 1px solid var(--border); padding: 1.5rem; margin-top: 1rem; }
.certifs-title { font-family: var(--font-mono); font-size: 0.65rem; color: var(--electric); letter-spacing: 2px; text-transform: uppercase; margin-bottom: 1rem; }
.certifs-list { display: flex; flex-direction: column; gap: 0.5rem; }
.certif-badge { display: flex; align-items: center; gap: 0.6rem; font-size: 0.85rem; color: var(--grey); font-weight: 300; }
.certif-badge::before { content: '✓'; color: var(--electric); font-size: 0.8rem; }
.contact-form { display: flex; flex-direction: column; gap: 1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-label { font-family: var(--font-mono); font-size: 0.62rem; color: var(--grey); letter-spacing: 2px; text-transform: uppercase; }
.form-input, .form-select, .form-textarea { background: var(--panel); border: 1px solid var(--border); color: var(--white); padding: 12px 16px; font-family: var(--font-body); font-size: 0.9rem; transition: border-color 0.3s; outline: none; width: 100%; }
.form-input:focus, .form-select:focus, .form-textarea:focus { border-color: var(--electric); background: var(--card); }
.form-select { cursor: pointer; }
.form-select option { background: var(--panel); }
.form-textarea { min-height: 130px; resize: vertical; }
.form-submit { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 3px; padding: 15px; background: var(--electric); color: var(--black); border: none; cursor: pointer; text-transform: uppercase; font-weight: 700; transition: all 0.3s; clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px)); width: 100%; }
.form-submit:hover { background: var(--blue-bright); box-shadow: 0 0 30px rgba(0,212,255,0.4); }

footer { background: var(--black); border-top: 1px solid var(--border); padding: 3rem 5%; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1.5rem; }
.footer-logo { font-family: var(--font-head); font-size: 1.4rem; font-weight: 700; letter-spacing: 3px; }
.footer-logo span { color: var(--electric); }
.footer-copy { font-family: var(--font-mono); font-size: 0.62rem; color: rgba(138,159,192,0.4); letter-spacing: 2px; text-align: center; }
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a { font-family: var(--font-mono); font-size: 0.62rem; color: var(--grey); text-decoration: none; letter-spacing: 1px; transition: color 0.3s; }
.footer-links a:hover { color: var(--electric); }

.fade-up { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .tarifs-grid { grid-template-columns: 1fr; max-width: 500px; margin: 0 auto; }
  .avantages-layout { grid-template-columns: 1fr; }
  .avantages-visual { display: none; }
  .hero-stats { display: none; }
}
@media (max-width: 768px) {
  .services-grid { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: 1fr 1fr; }
  .portfolio-item:first-child { grid-column: span 2; min-height: 220px; }
  .contact-layout { grid-template-columns: 1fr; gap: 3rem; }
  .form-row { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  h1 { font-size: 3rem; }
}
@media (max-width: 480px) {
  .portfolio-grid { grid-template-columns: 1fr; }
  .portfolio-item:first-child { grid-column: span 1; min-height: 200px; }
  section { padding: 70px 5%; }
}
