/* =========================
   contact.css
   ========================= */

/* RESET + THEME */
*{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth}
:root{
  --bg:#07080d;
  --text:rgba(255,255,255,.92);
  --muted:rgba(255,255,255,.62);
  --stroke:rgba(255,255,255,.10);
  --panel:rgba(255,255,255,.04);

  --cyan:#22d3ee;
  --green:#34d399;
  --purple:#a78bfa;

  --radius:20px;
}

body{
  font-family:ui-sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  background:var(--bg);
  color:var(--text);
  line-height:1.6;
  overflow-x:hidden;
  padding-top:76px;
}

.container{width:min(1120px,92%);margin-inline:auto}
a{color:inherit;text-decoration:none}
img{max-width:100%;height:auto;display:block}
.muted{color:var(--muted)}

/* BACKGROUND */
.bg{position:fixed;inset:0;z-index:-1;pointer-events:none}
.bg-grid{
  position:absolute;inset:0;
  background:
    linear-gradient(to right, rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size:72px 72px;
  opacity:.10;
  mask-image:radial-gradient(circle at 50% 20%, black 0%, black 35%, transparent 70%);
}
.orb{
  position:absolute;
  width:520px;height:520px;border-radius:999px;
  filter:blur(60px);opacity:.30;
}
.orb-1{background:radial-gradient(circle at 30% 30%, var(--green), transparent 60%);left:-140px;top:120px}
.orb-2{background:radial-gradient(circle at 60% 40%, var(--purple), transparent 60%);right:-160px;top:220px}
.orb-3{background:radial-gradient(circle at 40% 40%, var(--cyan), transparent 60%);left:18%;bottom:-260px}

/* HEADER */
.header{
  position:fixed;top:0;left:0;width:100%;
  z-index:9999;
  background:rgba(7,8,13,.65);
  backdrop-filter:blur(14px);
  border-bottom:1px solid rgba(255,255,255,.06);
}
.header-container{
  display:flex;align-items:center;justify-content:space-between;
  gap:16px;padding:16px 0;
}
.brand{display:inline-flex;align-items:center;gap:10px;min-width:210px}
.logo{width:36px;height:36px;object-fit:contain}
.brand-name{font-weight:800;letter-spacing:.6px;font-size:13px;white-space:nowrap}
.accent{color:var(--cyan)}

.nav{display:flex;gap:18px;justify-content:center;flex:1}
.nav-link{
  color:rgba(255,255,255,.70);
  font-size:13px;
  padding:8px 10px;border-radius:10px;
  transition:.2s ease;
}
.nav-link:hover{color:rgba(255,255,255,.95);background:rgba(255,255,255,.05)}
.nav-link.is-active{color:var(--cyan)}

.header-actions{
  display:flex;align-items:center;gap:10px;
  min-width:210px;justify-content:flex-end;
}

.chip{
  display:inline-flex;align-items:center;gap:8px;
  padding:9px 12px;border-radius:999px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.03);
  color:rgba(255,255,255,.78);
  cursor:pointer;
}
.chip-dot{
  width:8px;height:8px;border-radius:999px;
  background:var(--cyan);
  box-shadow:0 0 14px rgba(34,211,238,.55);
}

/* BUTTONS */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:10px;
  padding:15px 22px;border-radius:12px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.04);
  color:rgba(255,255,255,.92);
  transition:transform .15s ease, box-shadow .15s ease, background .15s ease;
  font-weight:650;
}
.btn:hover{transform:translateY(-1px);background:rgba(255,255,255,.06)}
.btn:active{transform:translateY(0)}
.btn-small{padding:11px 16px;border-radius:10px;font-size:13px}
.btn-arrow{opacity:.9}

.btn-primary{
  border:1px solid rgba(34,211,238,.30);
  background:
    radial-gradient(80% 120% at 30% 20%, rgba(34,211,238,.35), transparent 60%),
    linear-gradient(135deg, rgba(34,211,238,.30), rgba(52,211,153,.22));
  box-shadow:0 10px 30px rgba(34,211,238,.14);
}
.btn-primary:hover{box-shadow:0 14px 38px rgba(34,211,238,.20)
 
}

.btn-gradient{
  border:1px solid rgba(255,255,255,.12);
  background:
    linear-gradient(90deg, rgba(52,211,153,.95), rgba(34,211,238,.95), rgba(167,139,250,.90));
  color:#081018;
}
.btn-gradient:hover{filter:brightness(1.05)}
.btn-full{width:100%}

/* TEXT HELPERS */
.grad{
  background:linear-gradient(90deg, var(--cyan), var(--green), var(--purple));
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}

/* CONTACT HERO */
.contact-hero{padding:64px 0 46px}
.contact-title{
  text-align:center;
  font-size:clamp(34px,5vw,56px);
  letter-spacing:-.9px;
  line-height:1.08;
}
.contact-subtitle{
  text-align:center;
  max-width:740px;
  margin:12px auto 0;
  color:rgba(255,255,255,.70);
  font-size:14px;
  line-height:1.9;
}

.contact-grid{
  margin-top:34px;
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap:18px;
  align-items:start;
}

/* CARDS */
.card{
  border-radius:var(--radius);
  border:1px solid rgba(255,255,255,.10);
  background:
    radial-gradient(120% 140% at 0% 0%, rgba(34,211,238,.10), transparent 55%),
    radial-gradient(120% 140% at 100% 20%, rgba(167,139,250,.10), transparent 55%),
    rgba(255,255,255,.03);
  box-shadow: 0 24px 70px rgba(0,0,0,.38);
}
.card-form{padding:18px}
.card-mini{padding:18px}
.card-title{font-size:14px;font-weight:800;margin-bottom:14px;color:rgba(255,255,255,.92)}

/* FORM */
.form{display:grid;gap:14px}
.form-row{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
}
.field{display:grid;gap:7px}
label{font-size:12px;color:rgba(255,255,255,.75)}
.req{color:rgba(52,211,153,.95)}

input, select, textarea{
  width:100%;
  padding:12px 12px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(0,0,0,.25);
  color:rgba(255,255,255,.90);
  outline:none;
}
input::placeholder, textarea::placeholder{color:rgba(255,255,255,.40)}
input:focus, select:focus, textarea:focus{
  border-color:rgba(34,211,238,.35);
  box-shadow:0 0 0 3px rgba(34,211,238,.12);
}
textarea{resize:vertical;min-height:140px}

.form-foot{
  text-align:center;
  font-size:12px;
  color:rgba(255,255,255,.55);
}
.link{
  color:rgba(34,211,238,.95);
  border-bottom:1px solid rgba(34,211,238,.35);
}
.link:hover{filter:brightness(1.1)}

/* SIDE */
.side{display:grid;gap:18px}

.mini-row{
  display:grid;
  grid-template-columns:40px 1fr;
  gap:12px;
  align-items:center;
  padding:12px;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.08);
  background:rgba(0,0,0,.22);
}
.mini-ico{
  width:40px;height:40px;border-radius:14px;
  display:inline-flex;align-items:center;justify-content:center;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.04);
  color:var(--cyan);
}
.mini-k{font-size:11px;color:rgba(255,255,255,.55)}
.mini-v{font-size:13px;color:rgba(255,255,255,.88)}
.mini-v:hover{color:rgba(34,211,238,.95)}

.why{list-style:none;display:grid;gap:12px;margin-top:4px}
.why li{
  display:grid;grid-template-columns:10px 1fr;gap:10px;
  padding:10px 10px;border-radius:14px;
  border:1px solid rgba(255,255,255,.08);
  background:rgba(0,0,0,.18);
}
.why-dot{
  width:10px;height:10px;border-radius:999px;
  background:linear-gradient(90deg, var(--green), var(--cyan));
  margin-top:5px;
}
.why-t{font-size:13px;font-weight:800}
.why-p{font-size:12px;color:rgba(255,255,255,.62);margin-top:2px}

/* FAQ */
.faq{
  padding:34px 0 68px;
  border-top:1px solid rgba(255,255,255,.06);
}
.faq-title{text-align:center;font-size:20px;letter-spacing:-.2px}
.faq-subtitle{
  text-align:center;
  margin-top:10px;
  color:rgba(255,255,255,.62);
  font-size:12px;
}
.faq-grid{
  margin-top:22px;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
}
.faq-item{
  border-radius:16px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.03);
  overflow:hidden;
}
.faq-q{
  width:100%;
  display:flex;justify-content:space-between;align-items:center;
  gap:12px;
  padding:14px 14px;
  background:transparent;
  color:rgba(255,255,255,.90);
  border:0;
  cursor:pointer;
  text-align:left;
  font-weight:800;
  font-size:13px;
}
.faq-icon{
  width:28px;height:28px;border-radius:10px;
  display:inline-flex;align-items:center;justify-content:center;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(0,0,0,.22);
  color:rgba(255,255,255,.90);
}
.faq-a{
  max-height:0;
  overflow:hidden;
  transition:max-height .28s ease;
}
.faq-a p{
  padding:0 14px 14px;
  color:rgba(255,255,255,.68);
  font-size:12px;
  line-height:1.75;
}
.faq-item.is-open .faq-icon{color:var(--cyan)}
.faq-item.is-open .faq-a{max-height:220px}

/* FOOTER */
.footer{
  /* border-top:1px solid rgba(255,255,255,.06); */
  padding:30px 0 18px;
}
.footer-inner{
  display:grid;
  grid-template-columns:1.1fr 1fr;
  gap:22px;
  align-items:start;
}
.foot-left{display:grid;gap:10px}
.foot-brand{opacity:.95}
.foot-desc{max-width:360px}
.foot-mail:hover{color:rgba(34,211,238,.95)}

.foot-cols{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:14px;
}
.foot-col{display:grid;gap:8px}
.foot-h{font-weight:900;font-size:12px;color:rgba(255,255,255,.82)}
.foot-col a{font-size:12px;color:rgba(255,255,255,.62)}
.foot-col a:hover{color:rgba(34,211,238,.95)}

.foot-bottom{
  margin-top:18px;
  padding-top:14px;
  border-top:1px solid rgba(255,255,255,.06);
  display:flex;justify-content:space-between;align-items:center;
  gap:10px;
}

/* MOBILE MENU */
.hamburger{
  display:none;
  width:40px;height:40px;
  border-radius:10px;
  border:1px solid rgba(255,255,255,.15);
  background:rgba(255,255,255,.04);
  cursor:pointer;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:6px;
}
.hamburger span{
  width:20px;height:2px;border-radius:999px;
  background:rgba(255,255,255,.95);
}
.hamburger:hover span{background:var(--cyan)}

.mobile-overlay{
  position:fixed;inset:0;
  background:rgba(0,0,0,.45);
  backdrop-filter:blur(14px);
  opacity:0;pointer-events:none;
  transition:opacity .35s ease;
  z-index:9998;
}
body.menu-open .mobile-overlay{opacity:1;pointer-events:auto}
body.menu-open .header{z-index:9997 !important}

.mobile-menu{
  position:fixed;top:0;right:0;
  width:min(86vw,340px);
  height:100vh;
  background:rgba(7,8,13,.96);
  border-left:1px solid rgba(255,255,255,.10);
  z-index:9999;
  padding:16px;
  transform:translateX(110%);
  opacity:0;
  transition:transform .6s cubic-bezier(.4,0,.2,1), opacity .35s ease;
}
body.menu-open .mobile-menu{transform:translateX(0);opacity:1}
.mobile-menu-head{
  display:flex;justify-content:space-between;align-items:center;
  padding-bottom:12px;
  border-bottom:1px solid rgba(255,255,255,.08);
  margin-bottom:16px;
}
.mobile-title{font-weight:900}
.mobile-close{
  width:40px;height:40px;border-radius:12px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.04);
  color:#fff;cursor:pointer;
}
.mobile-close:hover{
  color:var(--cyan);
  border-color:rgba(34,211,238,.45);
  background:rgba(34,211,238,.10);
}
.mobile-nav{display:grid;gap:12px}
.mobile-nav a{
  padding:14px;border-radius:12px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.03);
}

/* RESPONSIVE */
@media (max-width:980px){
  .nav{display:none}
  .hamburger{display:flex}
  .brand{min-width:0}
  .header-actions{min-width:0}
  .header-container{padding:12px 0;gap:10px}
  .btn.btn-primary.btn-small{display:none}
}

@media (max-width:1024px){
  .contact-grid{grid-template-columns:1fr;gap:14px}
  .side{grid-template-columns:1fr 1fr}
  .faq-grid{grid-template-columns:1fr}
  .footer-inner{grid-template-columns:1fr}
}

@media (max-width:720px){
  .form-row{grid-template-columns:1fr}
  .side{grid-template-columns:1fr}
  .card-form{padding:14px}

    .footer-bottom{
  flex-direction:column;
  justify-content:center;
  text-align:center;
}
}

/* Hover button: text white + pointer */
.btn-gradient{
  cursor:pointer;
}

.btn-gradient:hover{
  color:#fff;              /* texte blanc */
}

.btn-gradient:hover .btn-arrow{
  color:#fff;
  opacity:1;
}

/* =========================
   FOOTER LEGAL LINKS
   ========================= */
.footer-legal{
  margin-top:12px;
  display:flex;
  justify-content:center;
  flex-wrap:wrap;
  gap:12px;
}

.footer-legal a{
  font-size:12px;
  color:rgba(255,255,255,.62);
  padding:8px 12px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.02);
  transition:background .18s ease, color .18s ease, border-color .18s ease;
}

.footer-legal a:hover{
  color:rgba(255,255,255,.92);
  background:rgba(255,255,255,.04);
  border-color:rgba(255,255,255,.16);
}