@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&family=Roboto:wght@400;500;700&display=swap');

/* ============================================================
   IOT Link — feuille de style commune
   Palette et polices reprises du site officiel iot-link.io
   ============================================================ */

:root {
  --navy:        #173d56;
  --navy-deep:   #0f2c40;
  --orange:      #ffa558;
  --orange-dark: #e88632;
  --btn-dark:    #1a2027;
  --blue:        #60a1c9;
  --blue-light:  #75beee;
  --text:        #3a4a5a;
  --muted:       #6a7886;
  --line:        #e4e9ee;
  --bg-soft:     #f4f7fa;
  --white:       #ffffff;
  --radius:      14px;
  --shadow:      0 14px 36px rgba(23, 61, 86, 0.12);
  --shadow-sm:   0 6px 18px rgba(23, 61, 86, 0.08);
  --maxw:        1200px;
  --font:        'Poppins', 'Segoe UI', Roboto, -apple-system, Helvetica, Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--text);
  line-height: 1.7;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--orange-dark); text-decoration: none; }
a:hover { color: var(--orange); }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 26px; }
.brandword .pfx { color: var(--blue); font-weight: 500; }

/* ============================================================
   BUTTONS — pilules orange
   ============================================================ */
.btn {
  display: inline-block;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 700;
  padding: 13px 28px;
  border-radius: 40px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.12s ease, background 0.2s ease, color 0.2s ease;
  text-align: center;
  line-height: 1.2;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 9px 22px rgba(0, 0, 0, 0.25); }
.btn-primary { background: var(--orange); color: var(--white); border-color: var(--orange); }
.btn-primary:hover { background: var(--btn-dark); border-color: var(--btn-dark); color: var(--white); }
.btn-outline { background: transparent; color: var(--orange); border-color: var(--orange); }
.btn-outline:hover { background: var(--btn-dark); border-color: var(--btn-dark); color: var(--white); }
.btn-lg { font-size: 1rem; padding: 15px 34px; }

/* ============================================================
   HEADER — transparent, posé sur le hero
   ============================================================ */
.site-header {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 50;
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 30px;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 26px 26px 0;
}
.logo img { height: 64px; width: auto; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  margin: 0 auto;
}
.main-nav > a,
.nav-dropdown > a {
  position: relative;
  color: #eaf1f7;
  font-weight: 500;
  font-size: 0.96rem;
  cursor: pointer;
  padding: 8px 2px;
  display: inline-block;
  white-space: nowrap;
}
.main-nav > a::after,
.nav-dropdown > a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 2px;
  background: var(--white);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.main-nav > a:hover,
.nav-dropdown:hover > a { color: var(--white); }
.main-nav > a:hover::after,
.nav-dropdown:hover > a::after,
.main-nav > a.active::after { transform: scaleX(1); }
.caret { font-size: 0.7em; vertical-align: middle; }

.nav-dropdown { position: relative; }
.mega-menu {
  position: absolute;
  top: 100%; left: 50%;
  transform: translateX(-50%) translateY(12px);
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 14px;
  display: flex;
  gap: 6px;
  opacity: 0; visibility: hidden;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
}
.nav-dropdown:hover .mega-menu {
  opacity: 1; visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.mega-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border-radius: 10px;
  min-width: 250px;
}
.mega-item:hover { background: var(--bg-soft); }
.mega-item img { width: 58px; height: 58px; object-fit: contain; flex-shrink: 0; }
.mega-text { display: flex; flex-direction: column; line-height: 1.35; }
.mega-text .brandword { font-size: 1.05rem; font-weight: 700; color: var(--navy); }
.mega-text small { color: var(--muted); font-size: 0.85rem; }

/* bandeau client (fin, au-dessus du header) */
.client-bar {
  background: var(--navy-deep);
  color: #cddae3;
  font-size: 0.84rem;
  font-weight: 500;
  padding: 8px 0;
  letter-spacing: 0.2px;
}
.client-bar .container {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
}
.client-bar a {
  color: var(--orange);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.15s ease;
}
.client-bar a:hover { color: var(--orange-dark); }
.client-bar .arrow {
  display: inline-block;
  transition: transform 0.2s ease;
}
.client-bar a:hover .arrow { transform: translateX(4px); }

/* zone droite : langue + boutons */
.header-right { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.lang-switch {
  position: relative;
  font-size: 0.82rem;
  font-weight: 700;
}
.lang-current {
  color: #eaf1f7;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 6px;
  padding: 4px 12px;
  cursor: pointer;
}
.lang-current::after { content: " \25be"; font-size: 0.8em; }
.lang-menu {
  position: absolute;
  top: 100%; right: 0;
  margin-top: 4px;
  background: var(--white);
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: 6px;
  min-width: 140px;
  opacity: 0; visibility: hidden;
  transition: all 0.15s ease;
}
.lang-switch:hover .lang-menu { opacity: 1; visibility: visible; }
.lang-menu a { display: block; padding: 7px 12px; border-radius: 6px; color: var(--text); }
.lang-menu a:hover { background: var(--bg-soft); }
.lang-menu a.active { color: var(--orange-dark); }
.header-cta { display: flex; gap: 12px; }

.burger { display: none; background: none; border: 0; cursor: pointer; padding: 6px; }
.burger span { display: block; width: 26px; height: 2px; background: var(--white); margin: 6px 0; }

/* ============================================================
   HERO — photo de fond + superposition navy
   ============================================================ */
.hero {
  position: relative;
  background-size: cover;
  background-position: center;
  color: var(--white);
  padding: 188px 0 90px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(120deg, rgba(15, 44, 64, 0.92) 0%, rgba(23, 61, 86, 0.72) 55%, rgba(23, 61, 86, 0.45) 100%);
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
}
.hero h1 {
  color: var(--white);
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.12;
  margin-bottom: 14px;
}
.hero .subtitle {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 30px;
}
.hero .benefits-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 18px;
}
.hero-benefits {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 26px;
  margin-bottom: 32px;
  list-style: none;
}
.hero-benefits li {
  position: relative;
  padding-left: 36px;
  font-weight: 600;
  color: #eef4f8;
}
.hero-benefits li::before {
  content: "";
  position: absolute;
  left: 0; top: 2px;
  width: 22px; height: 22px;
  border: 2px solid var(--blue-light);
  border-radius: 50%;
}
.hero-benefits li::after {
  content: "\2713";
  position: absolute;
  left: 6px; top: 2px;
  color: var(--blue-light);
  font-size: 0.74rem;
  font-weight: 800;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-visual { text-align: center; }
.hero-visual img {
  margin: 0 auto;
  max-height: 460px;
  width: auto;
  filter: drop-shadow(0 22px 40px rgba(0, 0, 0, 0.45));
}

/* ============================================================
   SECTIONS / TITRES
   ============================================================ */
section { padding: 80px 0; }
.section-soft { background: var(--bg-soft); }
.section-navy { background: var(--navy); color: #cddae3; }

h1, h2, h3 { color: var(--navy); line-height: 1.25; }
.section-navy h2, .section-navy h3 { color: var(--white); }

h2.section-title { font-size: 2.05rem; font-weight: 800; margin-bottom: 14px; letter-spacing: -0.5px; }
.section-title.center { text-align: center; }
.lead { color: var(--muted); font-size: 1.04rem; }
.lead.center { text-align: center; max-width: 780px; margin: 0 auto; }
.section-navy .lead { color: #b9c8d3; }

.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 1.6px;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--orange-dark);
  margin-bottom: 12px;
}
.section-navy .eyebrow { color: var(--orange); }

/* ============================================================
   CARTES PRODUITS
   ============================================================ */
.cards-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.product-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 38px 32px;
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.product-card img { margin: 0 auto 18px; max-height: 150px; width: auto; }
.product-card h3 { font-size: 1.6rem; margin-bottom: 12px; }
.product-card p { color: var(--muted); margin-bottom: 22px; }

/* ============================================================
   SPLIT (texte + image)
   ============================================================ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 54px; align-items: center; }
.split.reverse .split-text { order: 2; }
.split-img img { border-radius: var(--radius); margin: 0 auto; }

/* liste à puces "coche" */
.check-list { list-style: none; margin: 18px 0; }
.check-list li {
  position: relative;
  padding-left: 36px;
  margin-bottom: 12px;
  color: var(--text);
}
.check-list li strong { color: var(--navy); }
.check-list li::before {
  content: "\2713";
  position: absolute;
  left: 0; top: 3px;
  width: 23px; height: 23px;
  background: var(--blue);
  color: var(--white);
  border-radius: 50%;
  font-size: 0.74rem;
  font-weight: 700;
  text-align: center;
  line-height: 23px;
}

/* ============================================================
   GRILLE D'ICÔNES
   ============================================================ */
.icon-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(165px, 1fr));
  gap: 22px;
  margin-top: 30px;
}
.icon-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 16px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.icon-item img { width: 66px; height: 66px; margin: 0 auto 12px; }
.icon-item span { font-weight: 600; font-size: 0.94rem; color: var(--text); }

/* ============================================================
   BANNIÈRE CTA
   ============================================================ */
.cta-banner {
  position: relative;
  background: var(--navy);
  color: var(--white);
  text-align: center;
  padding: 78px 0;
  background-size: cover;
  background-position: center;
}
.cta-banner::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(120deg, rgba(15, 44, 64, 0.93), rgba(23, 61, 86, 0.82));
}
.cta-banner .container { position: relative; }
.cta-banner h2 { color: var(--white); font-size: 2.05rem; font-weight: 800; margin-bottom: 14px; }
.cta-banner p { color: #cfdde6; max-width: 660px; margin: 0 auto 26px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--navy-deep); color: #9fb2c0; padding: 58px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1.2fr; gap: 38px; }
.site-footer h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 9px; }
.site-footer a { color: #9fb2c0; }
.site-footer a:hover { color: var(--white); }
.footer-logo img { height: 56px; margin-bottom: 14px; }
.footer-bottom {
  margin-top: 46px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 18px 0;
  text-align: center;
  font-size: 0.85rem;
  color: #76899a;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  /* ---- en-tête mobile ---- */
  .header-inner {
    flex-wrap: wrap;
    gap: 0;
    padding: 14px 20px;
    align-items: center;
  }
  .logo { margin-right: auto; }
  .logo img { height: 50px; }
  .burger { display: block; }

  /* nav + langue + boutons : repliés dans le menu burger */
  .main-nav,
  .header-right {
    order: 5;
    flex-basis: 100%;
    width: 100%;
    display: none;
  }
  .site-header.nav-open .header-inner {
    background: rgba(15, 44, 64, 0.99);
    border-radius: 0 0 var(--radius) var(--radius);
    max-height: 92vh;
    overflow-y: auto;
  }
  .site-header.nav-open .main-nav,
  .site-header.nav-open .header-right { display: flex; }

  .main-nav {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    margin-top: 12px;
  }
  .main-nav > a,
  .nav-dropdown > a { padding: 12px 4px; width: 100%; }
  .main-nav > a::after,
  .nav-dropdown > a::after { display: none; }
  .nav-dropdown { width: 100%; }
  .mega-menu,
  .nav-dropdown:hover .mega-menu {
    position: static; transform: none;
    opacity: 1; visibility: visible;
    box-shadow: none; background: transparent;
    padding: 2px 0 8px 14px;
    flex-direction: column; gap: 4px;
  }
  .mega-item { min-width: 0; padding: 10px 12px; }
  .mega-item img { width: 44px; height: 44px; }
  .mega-text .brandword { color: var(--white); }
  .mega-text small { color: #9fb3c2; }
  .mega-item:hover { background: rgba(255, 255, 255, 0.08); }

  .header-right {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    margin-top: 10px;
    padding-bottom: 6px;
  }
  .lang-switch .lang-current { display: none; }
  .lang-menu {
    position: static;
    opacity: 1; visibility: visible;
    box-shadow: none; background: transparent;
    padding: 0; margin: 0;
    display: flex; gap: 8px;
  }
  .lang-menu a {
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #cddae3;
  }
  .lang-menu a.active { color: var(--orange); border-color: var(--orange); }
  .client-bar { font-size: 0.78rem; padding: 7px 0; }
  .client-bar .container { justify-content: center; padding: 0 16px; gap: 6px; flex-wrap: wrap; }
  .header-cta { flex-direction: column; gap: 10px; }
  .header-cta .btn { width: 100%; }

  /* ---- contenu ---- */
  .hero { padding-top: 128px; }
  .hero-grid, .split, .cards-2 { grid-template-columns: 1fr; }
  .split.reverse .split-text { order: 0; }
  .hero h1 { font-size: 2.15rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  section { padding: 54px 0; }
  .hero-benefits { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  h2.section-title { font-size: 1.65rem; }
  .header-cta .btn { padding: 10px 18px; font-size: 0.85rem; }
}

/* ============================================================
   PAGES INTERNES — hero, étapes, comparaison réseaux, FAQ
   ============================================================ */
.page-hero {
  background: linear-gradient(120deg, var(--navy-deep), var(--navy));
  color: #cddae3;
  padding: 178px 0 78px;
  text-align: center;
}
.page-hero .eyebrow { color: var(--orange); }
.page-hero h1 { color: var(--white); font-size: 2.7rem; font-weight: 800; margin-bottom: 16px; }
.page-hero p { max-width: 800px; margin: 0 auto; font-size: 1.08rem; color: #b9c8d3; }

/* étapes numérotées */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 36px; }
.step {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 26px;
  box-shadow: var(--shadow-sm);
}
.step-num {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--white);
  font-weight: 800;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.step p { color: var(--muted); margin: 0; }

/* comparaison réseaux */
.net-compare { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 32px; }
.net-card { text-align: center; }
.net-card img { border-radius: var(--radius); border: 1px solid var(--line); margin: 0 auto 14px; }
.net-card span { font-weight: 800; color: var(--navy); letter-spacing: 1px; }

/* FAQ accordéon */
.faq { max-width: 880px; margin: 34px auto 0; }
.faq details {
  border: 1px solid var(--line);
  border-radius: 10px;
  margin-bottom: 12px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.faq summary {
  cursor: pointer;
  padding: 18px 54px 18px 22px;
  font-weight: 700;
  color: var(--navy);
  list-style: none;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 22px; top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  line-height: 1;
  color: var(--orange-dark);
  font-weight: 700;
}
.faq details[open] summary::after { content: "\2013"; }
.faq .faq-body { padding: 0 22px 20px; color: var(--muted); }

@media (max-width: 980px) {
  .page-hero { padding-top: 150px; }
  .page-hero h1 { font-size: 2rem; }
  .steps, .net-compare { grid-template-columns: 1fr; }
}

/* ============================================================
   FORMULAIRE DE CONTACT
   ============================================================ */
.contact-form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 38px;
  box-shadow: var(--shadow-sm);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 7px;
  font-size: 0.9rem;
}
.form-group .req { color: var(--orange-dark); }
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text);
  background: var(--white);
}
.form-group input:focus,
.form-group textarea:focus { outline: none; border-color: var(--blue); }
.form-group textarea { min-height: 150px; resize: vertical; }
.form-consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 22px;
}
.form-consent input { margin-top: 4px; flex-shrink: 0; }
.contact-info-card {
  background: var(--navy);
  color: #cddae3;
  border-radius: var(--radius);
  padding: 40px 38px;
}
.contact-info-card h3 { color: var(--white); margin-bottom: 18px; }
.contact-info-card a { color: var(--orange); }
.contact-info-card p { margin-bottom: 14px; }

/* ============================================================
   TEXTE LÉGAL (politique de confidentialité)
   ============================================================ */
.legal { max-width: 880px; margin: 0 auto; }
.legal h2 { font-size: 1.5rem; margin: 36px 0 12px; }
.legal h3 { font-size: 1.15rem; margin: 26px 0 10px; }
.legal h4 { font-size: 1rem; margin: 20px 0 8px; color: var(--navy); }
.legal p, .legal li { color: var(--text); margin-bottom: 12px; }
.legal ul { margin: 0 0 12px 22px; }
.legal table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
}
.legal th, .legal td {
  border: 1px solid var(--line);
  padding: 10px 14px;
  text-align: left;
  font-size: 0.92rem;
}
.legal th { background: var(--bg-soft); color: var(--navy); }

@media (max-width: 560px) {
  .form-row { grid-template-columns: 1fr; }
  .contact-form-card, .contact-info-card { padding: 26px; }
}

/* ============================================================
   RESSOURCES — cartes documentation
   ============================================================ */
.resource-cards { margin-top: 34px; }
.resource-cards .product-card { display: flex; flex-direction: column; }
.resource-cards .product-card p { flex: 1 1 auto; }
.resource-cards .btn { align-self: center; }
.resource-icon {
  width: 70px; height: 70px; margin: 0 auto 20px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(255, 165, 88, 0.18);
  color: var(--orange-dark);
}
.resource-icon svg { width: 32px; height: 32px; }
.btn.is-soon {
  background: var(--bg-soft); color: var(--muted);
  border-color: var(--line); cursor: not-allowed; pointer-events: none;
}
.btn.is-soon:hover { transform: none; box-shadow: none; }
