/* =================================================================
   main.css — Support Informatique +963 | Shared styles
   Couleurs inspirées du logo aigle doré
================================================================= */

/* RESET */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --accent:        #F5C200;
  --accent-dim:    rgba(245,194,0,0.12);
  --accent-border: rgba(245,194,0,0.25);
  --accent-glow:   rgba(245,194,0,0.18);
  --bg:            #0c0c0e;
  --surface:       rgba(255,255,255,0.04);
  --text:          rgba(232,226,210,0.92);
  --text-muted:    rgba(172,165,142,0.78);
  --white:         #ffffff;
  --radius:        18px;
  --font-head:     'Outfit', system-ui, sans-serif;
  --font-body:     'DM Sans', system-ui, sans-serif;
  --ease:          cubic-bezier(0.16,1,0.3,1);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

h1,h2,h3,h4 {
  font-family: var(--font-head);
  color: var(--white);
  letter-spacing: -0.025em;
  line-height: 1.15;
}

h1 { font-size: clamp(2.2rem,5.5vw,3.8rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem,3.5vw,2.6rem); font-weight: 700; }
h3 { font-size: clamp(1.05rem,2vw,1.35rem); font-weight: 600; }

a { color: var(--accent); text-decoration: none; transition: color .2s; }
a:hover { color: var(--white); }

strong { color: #ffd84d; }
img { max-width: 100%; display: block; }

::selection { background: rgba(245,194,0,.3); color: #000; }

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: rgba(245,194,0,.35); border-radius: 3px; }

/* ── CANVAS ─────────────────────────────────────── */
#aether-canvas {
  position: fixed; inset: 0;
  width: 100%; height: 100%;
  z-index: 0; pointer-events: none;
}

/* ── LAYOUT ──────────────────────────────────────── */
.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 24px; }

.section { position: relative; z-index: 1; padding: 96px 0; }

/* ── SECTION LABEL ───────────────────────────────── */
.section-label {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 14px; border-radius: 999px;
  background: var(--accent-dim);
  border: 1px solid var(--accent-border);
  font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 20px;
}

.section-header { margin-bottom: 56px; }
.section-header p { color: var(--text-muted); max-width: 560px; margin-top: 12px; font-size: 1.05rem; }

/* ── GRIDS ───────────────────────────────────────── */
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 32px; align-items: center; }

/* ── CARD ────────────────────────────────────────── */
.card {
  background: var(--surface);
  border: 1px solid var(--accent-border);
  border-radius: var(--radius);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 8px 32px rgba(0,0,0,.4), inset 0 1px 0 rgba(255,255,255,.05);
  padding: 32px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 56px rgba(0,0,0,.55), 0 0 0 1px rgba(245,194,0,.28), inset 0 1px 0 rgba(255,255,255,.07);
}

/* ── BUTTON ──────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 30px; border-radius: 12px;
  font-family: var(--font-head); font-size: 0.92rem;
  font-weight: 600; letter-spacing: 0.03em;
  cursor: pointer; border: none;
  transition: all .28s var(--ease);
  text-decoration: none;
}

.btn-primary {
  background: var(--accent);
  color: #0c0c00;
  box-shadow: 0 4px 20px rgba(245,194,0,.3);
}
.btn-primary:hover {
  background: #ffd84d;
  color: #0c0c00;
  box-shadow: 0 8px 32px rgba(245,194,0,.45);
  transform: translateY(-2px);
}

.btn-outline {
  background: var(--accent-dim);
  border: 1px solid var(--accent-border);
  color: var(--white);
  backdrop-filter: blur(8px);
}
.btn-outline:hover {
  background: rgba(245,194,0,.22);
  border-color: rgba(245,194,0,.6);
  color: var(--white);
  transform: translateY(-2px);
}

/* ── DIVIDER ─────────────────────────────────────── */
.divider {
  width: 100%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-border), transparent);
}

/* ── FEATURE LIST ────────────────────────────────── */
.feature-list { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.feature-list li { display: flex; align-items: flex-start; gap: 14px; font-size: 0.95rem; color: var(--text); }
.feature-check {
  width: 22px; height: 22px; border-radius: 50%;
  background: rgba(245,194,0,.12);
  border: 1px solid var(--accent-border);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 2px;
}

/* ── SERVICE CARD ICON ───────────────────────────── */
.service-card-icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--accent-dim);
  border: 1px solid var(--accent-border);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}

.service-card-link {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 20px; font-size: 0.85rem; font-weight: 600;
  color: var(--accent); transition: gap .2s;
}
.service-card-link:hover { gap: 10px; color: var(--accent); }

/* ── ZONES ───────────────────────────────────────── */
.zones-grid { display: flex; flex-wrap: wrap; gap: 12px; }
.zone-tag {
  padding: 8px 18px; border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--accent-border);
  font-size: 0.85rem; font-weight: 500;
  color: var(--text); backdrop-filter: blur(8px);
}

/* ── FORM ────────────────────────────────────────── */
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.form-group label {
  font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: rgba(210,195,150,.85);
}
.form-group input,
.form-group textarea,
.form-group select {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(245,194,0,.22);
  border-radius: 10px; color: var(--white);
  padding: 13px 16px;
  font-family: var(--font-body); font-size: 0.95rem;
  transition: border-color .25s, box-shadow .25s;
  outline: none; width: 100%;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(160,150,110,.45); }
.form-group input:focus,
.form-group textarea:focus {
  border-color: rgba(245,194,0,.6);
  box-shadow: 0 0 0 3px rgba(245,194,0,.1);
}
.form-group select { appearance: none; -webkit-appearance: none; }
.form-group textarea { resize: vertical; min-height: 120px; }

/* ── CONTACT ITEMS ───────────────────────────────── */
.contact-info { display: flex; flex-direction: column; gap: 24px; }
.contact-item { display: flex; align-items: flex-start; gap: 16px; }
.contact-item-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--accent-dim);
  border: 1px solid var(--accent-border);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-item h4 {
  font-size: 0.78rem; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--text-muted); margin-bottom: 4px;
}
.contact-item a, .contact-item p { font-size: 0.95rem; font-weight: 500; color: var(--white); }
.contact-item a:hover { color: var(--accent); }

/* ── HEADER / NAV ────────────────────────────────── */
header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(12,12,14,.9);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border-bottom: 1px solid var(--accent-border);
  box-shadow: 0 2px 40px rgba(0,0,0,.6);
}

nav {
  display: flex; align-items: center;
  justify-content: space-between; height: 68px;
}

.nav-logo {
  font-family: var(--font-head); font-weight: 800;
  font-size: 1.12rem; color: var(--white);
  letter-spacing: -0.02em;
  display: flex; align-items: center; gap: 10px;
}
.nav-logo span { color: var(--accent); }

.nav-logo-img { height: 42px; width: auto; }

.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav-links a {
  color: rgba(220,210,180,.85);
  font-size: 0.875rem; font-weight: 500;
  padding: 8px 14px; border-radius: 8px; transition: all .2s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--white); background: rgba(245,194,0,.1); }
.nav-links a.active { color: var(--accent); }

.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-phone {
  font-family: var(--font-head); font-weight: 600; font-size: 0.88rem;
  color: var(--accent); padding: 8px 16px; border-radius: 8px;
  border: 1px solid var(--accent-border);
  background: var(--accent-dim); transition: all .2s;
}
.nav-phone:hover { background: rgba(245,194,0,.22); color: var(--white); }

.nav-toggle {
  display: none; background: none; border: none;
  cursor: pointer; flex-direction: column; gap: 5px; padding: 4px;
}
.nav-toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--text); border-radius: 2px; transition: all .3s;
}

/* ── FOOTER ──────────────────────────────────────── */
footer {
  position: relative; z-index: 1;
  background: rgba(8,8,10,.97);
  border-top: 1px solid var(--accent-border);
}
.footer-top {
  padding: 56px 0 40px;
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 48px;
}
.footer-brand p { font-size: 0.88rem; color: var(--text-muted); margin-top: 12px; line-height: 1.7; }
.footer-col h4 {
  font-size: 0.76rem; text-transform: uppercase;
  letter-spacing: 0.09em; color: rgba(200,180,100,.7); margin-bottom: 16px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a { font-size: 0.88rem; color: var(--text-muted); transition: color .2s; }
.footer-col ul li a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(245,194,0,.08);
  padding: 20px 0; display: flex;
  align-items: center; justify-content: space-between;
  font-size: 0.8rem; color: rgba(140,130,100,.6);
}

/* ── ANIMATIONS ──────────────────────────────────── */
.fade-up {
  opacity: 0; transform: translateY(28px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

@keyframes float {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@keyframes pulse-dot {
  0%,100% { opacity: 1; transform: scale(1); }
  50% { opacity: .5; transform: scale(.8); }
}

/* ── WHATSAPP FLOAT ──────────────────────────────── */
.whatsapp-float {
  position: fixed; bottom: 28px; right: 28px;
  z-index: 500;
  width: 60px; height: 60px; border-radius: 50%;
  background: #25D366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 24px rgba(37,211,102,.45);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
  text-decoration: none;
}
.whatsapp-float:hover {
  transform: scale(1.12);
  box-shadow: 0 10px 36px rgba(37,211,102,.6);
  color: white;
}
.whatsapp-float svg { width: 32px; height: 32px; }
.whatsapp-tooltip {
  position: absolute; right: 70px;
  background: #1a1a1a; color: white;
  border: 1px solid rgba(37,211,102,.3);
  padding: 7px 14px; border-radius: 8px;
  font-family: var(--font-head); font-size: 0.8rem; font-weight: 600;
  white-space: nowrap;
  opacity: 0; pointer-events: none;
  transition: opacity .25s;
}
.whatsapp-float:hover .whatsapp-tooltip { opacity: 1; }

/* ── PAGE HERO (subpages) ────────────────────────── */
.page-hero {
  position: relative; z-index: 1;
  padding: 148px 0 80px; text-align: center;
}
.page-hero h1 { max-width: 760px; margin: 0 auto 20px; }
.page-hero p { max-width: 580px; margin: 0 auto 36px; color: var(--text-muted); font-size: 1.08rem; }
.page-hero .hero-actions { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; }

/* ── CTA SECTION ─────────────────────────────────── */
.cta-section {
  position: relative; z-index: 1;
  padding: 80px 0; text-align: center;
}
.cta-box {
  max-width: 740px; margin: 0 auto;
  background: var(--accent-dim);
  border: 1px solid var(--accent-border);
  border-radius: 24px;
  padding: 56px 48px;
  backdrop-filter: blur(12px);
}
.cta-box h2 { margin-bottom: 16px; }
.cta-box p { color: var(--text-muted); margin-bottom: 32px; }
.cta-box .cta-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ── PROCESS STEPS ───────────────────────────────── */
.steps-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.step {
  text-align: center; padding: 28px 20px;
  background: var(--surface);
  border: 1px solid var(--accent-border);
  border-radius: var(--radius);
  position: relative;
}
.step-num {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--accent); color: #0c0c00;
  font-family: var(--font-head); font-weight: 800; font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
}
.step h3 { font-size: 1rem; margin-bottom: 8px; }
.step p { font-size: 0.86rem; color: var(--text-muted); }

/* ── CUSTOM SELECT DROPDOWN ──────────────────────── */
.custom-select-wrap { position: relative; width: 100%; }

.custom-select-trigger {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(245,194,0,.22);
  border-radius: 10px;
  color: rgba(160,150,110,.5);
  padding: 13px 16px;
  font-family: var(--font-body); font-size: 0.95rem;
  cursor: pointer; width: 100%;
  display: flex; align-items: center; justify-content: space-between;
  transition: border-color .25s, box-shadow .25s;
  user-select: none; -webkit-user-select: none;
}

.custom-select-trigger.has-value { color: var(--white); }

.custom-select-arrow {
  width: 0; height: 0; flex-shrink: 0; margin-left: 10px;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid rgba(245,194,0,.6);
  transition: transform .2s var(--ease);
}

.custom-select-wrap.open .custom-select-trigger {
  border-color: rgba(245,194,0,.6);
  box-shadow: 0 0 0 3px rgba(245,194,0,.1);
}

.custom-select-wrap.open .custom-select-arrow {
  transform: rotate(180deg);
}

.custom-options {
  display: none;
  position: absolute; top: calc(100% + 6px); left: 0; right: 0;
  background: #141416;
  border: 1px solid rgba(245,194,0,.3);
  border-radius: 10px; overflow: hidden;
  z-index: 300;
  box-shadow: 0 12px 40px rgba(0,0,0,.7);
}

.custom-select-wrap.open .custom-options { display: block; }

.custom-option {
  padding: 13px 16px;
  color: rgba(232,226,210,.85);
  cursor: pointer; font-size: 0.92rem;
  border-bottom: 1px solid rgba(245,194,0,.06);
  transition: background .15s, color .15s;
}

.custom-option:last-child { border-bottom: none; }

.custom-option:hover,
.custom-option.is-selected {
  background: rgba(245,194,0,.1);
  color: var(--accent);
}

/* ── RESPONSIVE ──────────────────────────────────── */
@media (max-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(2,1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .steps-grid { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 768px) {
  .section { padding: 72px 0; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .page-hero { padding: 130px 0 60px; }
  .cta-box { padding: 40px 24px; }
}

@media (max-width: 480px) {
  .steps-grid { grid-template-columns: 1fr; }
}

/* Mobile nav open state */
body.nav-open .nav-links,
body.nav-open .nav-cta {
  display: flex; flex-direction: column;
  position: fixed; top: 68px; left: 0; right: 0;
  background: rgba(12,12,14,.97);
  border-bottom: 1px solid var(--accent-border);
  padding: 20px 24px 28px;
  backdrop-filter: blur(20px);
  z-index: 99; gap: 4px;
}
body.nav-open .nav-cta {
  top: auto; bottom: 0;
  border-bottom: none; border-top: 1px solid var(--accent-border);
  flex-direction: row;
}
