/* ============ RGM Dronexpertises — feuille de style ============ */

:root{
  --navy: #16324c;
  --navy-2: #1e4a6e;
  --blue: #2f77b5;
  --blue-light: #eaf3fb;
  --orange: #e2792f;
  --orange-light: #fdf1e6;
  --green: #2f8f5c;
  --green-light: #eaf7f0;
  --bg: #f5f8fb;
  --white: #ffffff;
  --text: #1c2b3a;
  --text-soft: #55677a;
  --border: #e1e8ef;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(22,50,76,.08);
  --shadow-hover: 0 16px 40px rgba(22,50,76,.14);
}

*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{
  font-family:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif;
  color:var(--text);
  background:var(--white);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%;height:auto;display:block}
a{text-decoration:none;color:inherit}
ul{list-style:none}
h1,h2,h3,h4{
  font-family:'Poppins',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif;
  font-weight:700;
  color:var(--navy);
  line-height:1.25;
}
.container{
  width:100%;
  max-width:1180px;
  margin:0 auto;
  padding:0 24px;
}
section{padding:88px 0}
.section-tight{padding:56px 0}
.eyebrow{
  display:inline-block;
  font-size:.8rem;
  font-weight:700;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:var(--blue);
  margin-bottom:14px;
}
.section-head{max-width:680px;margin:0 auto 52px;text-align:center}
.section-head h2{font-size:clamp(1.6rem,3vw,2.3rem);margin-bottom:14px}
.section-head p{color:var(--text-soft);font-size:1.05rem}

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:14px 28px;
  border-radius:999px;
  font-weight:600;
  font-size:.95rem;
  border:2px solid transparent;
  cursor:pointer;
  transition:transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
  white-space:nowrap;
}
.btn:hover{transform:translateY(-2px)}
.btn-primary{background:var(--orange);color:var(--white);box-shadow:0 8px 20px rgba(226,121,47,.35)}
.btn-primary:hover{background:#cf6a24;box-shadow:0 12px 26px rgba(226,121,47,.42)}
.btn-outline{border-color:rgba(255,255,255,.55);color:var(--white)}
.btn-outline:hover{background:rgba(255,255,255,.12)}
.btn-navy{background:var(--navy);color:var(--white)}
.btn-navy:hover{background:var(--navy-2)}

/* ---------- Header ---------- */
.site-header{
  position:sticky;top:0;z-index:100;
  background:#ffffff;
  border-bottom:1px solid var(--border);
}
.header-inner{
  display:flex;align-items:center;justify-content:space-between;
  padding:12px 0;flex-wrap:nowrap;gap:12px;
}
.header-inner .brand{flex:1 1 auto}
.header-inner .header-cta{flex-shrink:0}
.brand{display:flex;align-items:center;gap:12px;min-width:0}
.brand img{width:52px;height:52px;border-radius:50%;flex-shrink:0}
.brand-text{line-height:1.15;min-width:0}
.brand-text strong{display:block;font-family:'Poppins',sans-serif;font-weight:800;color:var(--navy);font-size:1.05rem;letter-spacing:.01em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.brand-text span{display:block;font-size:.72rem;color:var(--text-soft);letter-spacing:.03em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

nav.main-nav{display:flex;align-items:center;gap:34px}
nav.main-nav a{
  font-weight:600;font-size:.95rem;color:var(--text);
  position:relative;padding:6px 0;
}
nav.main-nav a::after{
  content:"";position:absolute;left:0;bottom:0;height:2px;width:0;
  background:var(--orange);transition:width .2s ease;
}
nav.main-nav a:hover::after,
nav.main-nav a.active::after{width:100%}
nav.main-nav a.active{color:var(--navy)}
.nav-mobile-cta{display:none}

.header-cta{display:flex;align-items:center;gap:16px}
.header-phone{display:flex;align-items:center;gap:8px;font-weight:700;color:var(--navy);font-size:.95rem}
.header-phone svg{width:18px;height:18px;color:var(--orange)}

.nav-toggle{
  display:none;background:none;border:none;cursor:pointer;
  width:40px;height:40px;position:relative;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after{
  content:"";position:absolute;left:8px;right:8px;height:2px;background:var(--navy);transition:.2s;
}
.nav-toggle span{top:19px}
.nav-toggle span::before{top:-7px}
.nav-toggle span::after{top:7px}
.nav-toggle.open span{background:transparent}
.nav-toggle.open span::before{top:0;transform:rotate(45deg)}
.nav-toggle.open span::after{top:0;transform:rotate(-45deg)}

/* ---------- Hero ---------- */
.hero{
  position:relative;
  background:linear-gradient(120deg,var(--navy) 0%,var(--navy-2) 60%);
  color:var(--white);
  overflow:hidden;
}
.hero-inner{
  display:grid;grid-template-columns:1.05fr .95fr;gap:40px;align-items:center;
  padding:80px 0 60px;
}
.hero h1{color:var(--white);font-size:clamp(2rem,4vw,3.1rem);margin-bottom:18px}
.hero h1 em{color:#8fc4ff;font-style:normal}
.hero p.lead{color:#cfe0ee;font-size:1.15rem;max-width:520px;margin-bottom:32px}
.hero-badges{display:flex;flex-wrap:wrap;gap:22px;margin-top:44px}
.hero-badges .badge{display:flex;align-items:center;gap:10px;font-size:.88rem;color:#dceafb;font-weight:600}
.hero-badges svg{width:20px;height:20px;color:#8fc4ff;flex-shrink:0}
.hero-actions{display:flex;flex-wrap:wrap;gap:14px}
.hero-media{border-radius:20px;overflow:hidden;box-shadow:0 30px 60px rgba(0,0,0,.35)}
.hero-media img{width:100%;height:100%;object-fit:cover}

/* ---------- Trust strip ---------- */
.trust-strip{background:var(--white);border-bottom:1px solid var(--border)}
.trust-strip .container{
  display:flex;flex-wrap:wrap;gap:32px;justify-content:center;
  padding:30px 24px;
}
.trust-item{display:flex;align-items:center;gap:12px;font-weight:600;color:var(--navy);font-size:.95rem}
.trust-item svg{width:26px;height:26px;color:var(--blue);flex-shrink:0}

/* ---------- Service cards ---------- */
.services-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:28px}
.service-card{
  background:var(--white);border:1px solid var(--border);border-radius:var(--radius);
  overflow:hidden;box-shadow:var(--shadow);transition:transform .2s ease, box-shadow .2s ease;
  display:flex;flex-direction:column;
}
.service-card:hover{transform:translateY(-6px);box-shadow:var(--shadow-hover)}
.service-card .card-head{
  padding:22px 24px;display:flex;align-items:center;gap:14px;color:var(--white);
}
.service-card .card-head svg{width:30px;height:30px;flex-shrink:0}
.service-card .card-head h3{color:var(--white);font-size:1.08rem}
.service-card.blue .card-head{background:linear-gradient(135deg,var(--blue),#1f5e94)}
.service-card.orange .card-head{background:linear-gradient(135deg,var(--orange),#c96622)}
.service-card.green .card-head{background:linear-gradient(135deg,var(--green),#226a44)}
.service-card .card-body{padding:26px 24px;flex:1;display:flex;flex-direction:column}
.service-card .card-body p{color:var(--text-soft);margin-bottom:18px}
.service-card .card-body ul{margin-bottom:22px;flex:1}
.service-card .card-body li{
  display:flex;gap:10px;align-items:flex-start;color:var(--text);font-size:.93rem;margin-bottom:10px;
}
.service-card .card-body li svg{width:16px;height:16px;margin-top:3px;flex-shrink:0}
.service-card.blue li svg{color:var(--blue)}
.service-card.orange li svg{color:var(--orange)}
.service-card.green li svg{color:var(--green)}
.service-card .card-link{font-weight:700;font-size:.9rem;display:inline-flex;align-items:center;gap:6px}
.service-card.blue .card-link{color:var(--blue)}
.service-card.orange .card-link{color:var(--orange)}
.service-card.green .card-link{color:var(--green)}

/* ---------- Advantages ---------- */
.advantages{background:var(--bg)}
.advantages-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:26px}
.advantage{
  background:var(--white);border-radius:var(--radius);padding:30px 22px;text-align:center;
  border:1px solid var(--border);box-shadow:var(--shadow);
}
.advantage .icon-circle{
  width:58px;height:58px;border-radius:50%;background:var(--blue-light);
  display:flex;align-items:center;justify-content:center;margin:0 auto 18px;
}
.advantage .icon-circle svg{width:28px;height:28px;color:var(--blue)}
.advantage h4{font-size:1.02rem;margin-bottom:8px}
.advantage p{color:var(--text-soft);font-size:.9rem}

/* ---------- CTA banner ---------- */
.cta-banner{
  background:linear-gradient(120deg,var(--navy),var(--navy-2));
  color:var(--white);border-radius:var(--radius);
  padding:44px 40px;
  display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:28px;
}
.cta-banner h3{color:var(--white);font-size:1.5rem;margin-bottom:6px}
.cta-banner p{color:#cfe0ee}
.cta-contacts{display:flex;flex-wrap:wrap;gap:26px}
.cta-contacts a{display:flex;align-items:center;gap:10px;font-weight:600;color:var(--white)}
.cta-contacts svg{width:20px;height:20px;color:#8fc4ff}

/* ---------- Split section (about / services detail) ---------- */
.split{display:grid;grid-template-columns:1fr 1fr;gap:56px;align-items:center}
.split.reverse .split-media{order:2}
.split-media img{border-radius:var(--radius);box-shadow:var(--shadow)}
.split-copy .eyebrow{margin-bottom:12px}
.split-copy h2{font-size:clamp(1.5rem,3vw,2.1rem);margin-bottom:16px}
.split-copy p{color:var(--text-soft);margin-bottom:18px}
.feature-list li{display:flex;gap:14px;margin-bottom:20px;align-items:flex-start}
.feature-list .feature-icon{
  width:42px;height:42px;border-radius:12px;flex-shrink:0;
  display:flex;align-items:center;justify-content:center;
}
.feature-list .feature-icon svg{width:20px;height:20px}
.feature-list h4{font-size:1rem;margin-bottom:4px}
.feature-list p{color:var(--text-soft);font-size:.92rem;margin:0}

.service-block{padding:96px 0;border-bottom:1px solid var(--border)}
.service-block:last-of-type{border-bottom:none}
.service-block.tint-blue{background:var(--blue-light)}
.service-block.tint-orange{background:var(--orange-light)}
.service-block.tint-green{background:var(--green-light)}

/* ---------- Values / about grid ---------- */
.values-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:26px}
.value-card{padding:28px;border-radius:var(--radius);background:var(--white);border:1px solid var(--border);box-shadow:var(--shadow)}
.value-card .icon-circle{width:52px;height:52px;border-radius:14px;background:var(--blue-light);display:flex;align-items:center;justify-content:center;margin-bottom:16px}
.value-card .icon-circle svg{width:26px;height:26px;color:var(--blue)}

/* ---------- Brochure block ---------- */
.brochure{display:grid;grid-template-columns:.9fr 1.1fr;gap:48px;align-items:center;background:var(--bg);border-radius:var(--radius);padding:48px;}
.brochure img{border-radius:10px;box-shadow:var(--shadow)}

/* ---------- Contact page ---------- */
.contact-grid{display:grid;grid-template-columns:.9fr 1.1fr;gap:48px;align-items:start}
.contact-info-card{background:var(--navy);color:var(--white);border-radius:var(--radius);padding:38px}
.contact-info-card h3{color:var(--white);margin-bottom:8px}
.contact-info-card p{color:#cfe0ee;margin-bottom:26px}
.contact-info-list li{display:flex;gap:14px;align-items:flex-start;margin-bottom:22px}
.contact-info-list svg{width:20px;height:20px;color:#8fc4ff;flex-shrink:0;margin-top:3px}
.contact-info-list strong{display:block;font-size:.95rem}
.contact-info-list span{color:#cfe0ee;font-size:.9rem}

.form-card{background:var(--white);border:1px solid var(--border);border-radius:var(--radius);padding:38px;box-shadow:var(--shadow)}
.form-row{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.field{margin-bottom:20px}
.field label{display:block;font-weight:600;font-size:.88rem;margin-bottom:7px;color:var(--navy)}
.field input, .field select, .field textarea{
  width:100%;padding:13px 15px;border:1.5px solid var(--border);border-radius:10px;
  font-family:inherit;font-size:.95rem;color:var(--text);background:var(--white);
  transition:border-color .15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus{outline:none;border-color:var(--blue)}
.field textarea{resize:vertical;min-height:120px}
.form-note{font-size:.82rem;color:var(--text-soft);margin-top:14px}
.form-result{font-size:.9rem;font-weight:600;margin-top:16px;padding:0;min-height:0}
.form-result.success{color:var(--green);padding:14px 16px;border-radius:10px;background:var(--green-light)}
.form-result.error{color:#b93a1c;padding:14px 16px;border-radius:10px;background:var(--orange-light)}

/* ---------- Zones map ---------- */
.zone-banner{
  display:flex;align-items:center;gap:24px;background:var(--green-light);
  border-radius:var(--radius);padding:30px 34px;
}
.zone-banner svg{width:46px;height:46px;color:var(--green);flex-shrink:0}

/* ---------- FAQ ---------- */
.faq-jump{display:flex;flex-wrap:wrap;gap:12px;justify-content:center;margin-bottom:8px}
.faq-jump a{
  padding:10px 20px;border-radius:999px;border:1.5px solid var(--border);
  font-weight:600;font-size:.88rem;color:var(--navy);transition:.15s;
}
.faq-jump a:hover{border-color:var(--blue);color:var(--blue);background:var(--blue-light)}

.faq-category{padding:64px 0;border-bottom:1px solid var(--border)}
.faq-category:last-of-type{border-bottom:none}
.faq-category-head{display:flex;align-items:center;gap:16px;margin-bottom:30px}
.faq-category-head .icon-circle{
  width:52px;height:52px;border-radius:14px;display:flex;align-items:center;justify-content:center;flex-shrink:0;
}
.faq-category-head .icon-circle svg{width:26px;height:26px}
.faq-category-head h2{font-size:1.4rem;margin:0}
.faq-category.blue .icon-circle{background:var(--blue-light)}
.faq-category.blue .icon-circle svg{color:var(--blue)}
.faq-category.orange .icon-circle{background:var(--orange-light)}
.faq-category.orange .icon-circle svg{color:var(--orange)}
.faq-category.green .icon-circle{background:var(--green-light)}
.faq-category.green .icon-circle svg{color:var(--green)}
.faq-category.navy .icon-circle{background:var(--blue-light)}
.faq-category.navy .icon-circle svg{color:var(--navy)}

.faq-list{display:flex;flex-direction:column;gap:14px}
.faq-item{
  border:1px solid var(--border);border-radius:12px;background:var(--white);
  overflow:hidden;transition:box-shadow .15s ease;
}
.faq-item[open]{box-shadow:var(--shadow)}
.faq-item summary{
  list-style:none;cursor:pointer;padding:20px 24px;font-weight:700;color:var(--navy);
  display:flex;justify-content:space-between;align-items:center;gap:16px;
}
.faq-item summary::-webkit-details-marker{display:none}
.faq-item summary .plus{
  flex-shrink:0;width:26px;height:26px;border-radius:50%;background:var(--bg);
  display:flex;align-items:center;justify-content:center;color:var(--blue);
  font-size:1.2rem;line-height:1;transition:transform .2s ease;
}
.faq-item[open] summary .plus{transform:rotate(45deg)}
.faq-answer{padding:0 24px 22px;color:var(--text-soft)}
.faq-answer p{margin:0}

/* ---------- Footer ---------- */
footer{background:var(--navy);color:#cfe0ee;padding:64px 0 24px}
.footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:40px;padding-bottom:40px;border-bottom:1px solid rgba(255,255,255,.12)}
.footer-brand{display:flex;align-items:center;gap:12px;margin-bottom:16px}
.footer-brand img{width:46px;height:46px;border-radius:50%}
.footer-brand strong{color:var(--white);font-family:'Poppins',sans-serif;font-size:1.05rem}
footer p{color:#a9bfd3;font-size:.92rem}
footer h4{color:var(--white);font-size:.95rem;margin-bottom:18px;letter-spacing:.02em}
footer ul li{margin-bottom:12px}
footer ul li a{color:#a9bfd3;font-size:.92rem;transition:color .15s}
footer ul li a:hover{color:var(--white)}
.footer-bottom{
  display:flex;justify-content:space-between;flex-wrap:wrap;gap:10px;
  padding-top:22px;font-size:.82rem;color:#8fa4ba;
}
.footer-bottom a{color:#8fa4ba}
.footer-bottom a:hover{color:var(--white)}

/* ---------- Page header (inner pages) ---------- */
.page-hero{
  background:linear-gradient(120deg,var(--navy),var(--navy-2));
  color:var(--white);padding:64px 0 56px;text-align:center;
}
.page-hero h1{color:var(--white);font-size:clamp(1.8rem,3.5vw,2.6rem);margin-bottom:12px}
.page-hero p{color:#cfe0ee;max-width:620px;margin:0 auto}
.breadcrumb{font-size:.85rem;color:#9fc0e0;margin-bottom:16px}
.breadcrumb a{color:#9fc0e0;font-weight:600}
.breadcrumb a:hover{color:var(--white)}

/* ---------- Responsive ---------- */
@media (max-width:980px){
  .services-grid{grid-template-columns:1fr}
  .advantages-grid{grid-template-columns:1fr 1fr}
  .hero-inner{grid-template-columns:1fr;padding-top:48px}
  .hero-media{order:-1}
  .split, .brochure, .contact-grid{grid-template-columns:1fr}
  .split.reverse .split-media{order:0}
  .values-grid{grid-template-columns:1fr 1fr}
  .footer-grid{grid-template-columns:1fr 1fr}
}
@media (max-width:760px){
  nav.main-nav{
    position:fixed;top:0;left:0;right:0;bottom:0;z-index:99;
    background:var(--white);flex-direction:column;align-items:flex-start;
    padding:92px 24px 28px;gap:4px;transform:translateX(100%);transition:transform .25s ease;
    overflow-y:auto;
  }
  nav.main-nav.open{transform:translateX(0)}
  nav.main-nav a{width:100%;padding:14px 0;border-bottom:1px solid var(--border);font-size:1.05rem}
  .nav-toggle{display:block}
  nav.main-nav a.nav-mobile-cta{
    display:block;width:100%;margin-top:14px;padding:14px 18px;text-align:center;
    border-radius:12px;font-weight:700;background:var(--bg);color:var(--navy);border:none;
  }
  nav.main-nav a.nav-mobile-cta.accent{background:var(--orange);color:var(--white)}
  .brand-text span{display:none}
  .brand img{width:40px;height:40px}
  .header-phone span{display:none}
  .header-phone{padding:8px;background:var(--blue-light);border-radius:50%}
  .header-cta{gap:10px}
  .header-cta .btn-primary{display:none}
  .advantages-grid{grid-template-columns:1fr}
  .form-row{grid-template-columns:1fr}
  .footer-grid{grid-template-columns:1fr}
  section{padding:60px 0}
  .cta-banner{padding:32px 24px}
  .values-grid{grid-template-columns:1fr}
  .brochure{padding:28px}
}
