/* ============================================
   HIBIS CONSEIL — Design system
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Archivo:ital,wght@0,500;0,600;0,700;0,800;0,900;1,600&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --navy: #0F3D68;
  --navy-dark: #0A2740;
  --navy-deeper: #071A2B;
  --green: #5FA646;
  --green-dark: #487B35;
  --red: #E4344A;
  --paper: #F6F7F4;
  --paper-dim: #ECEEE9;
  --ink: #16232C;
  --ink-soft: #4A5860;
  --line: #D9DED8;
  --white: #FFFFFF;

  --font-display: 'Archivo', sans-serif;
  --font-body: 'Inter', sans-serif;

  --container: 1180px;
  --radius: 3px;
}

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

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--navy-dark);
  line-height: 1.12;
  margin: 0 0 0.5em;
  font-weight: 800;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.4rem, 4.2vw, 4rem); font-weight: 900; }
h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
h3 { font-size: 1.3rem; font-weight: 700; }

p { margin: 0 0 1em; color: var(--ink-soft); max-width: 62ch; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

section { padding: 88px 0; }

@media (max-width: 720px) {
  section { padding: 56px 0; }
  .container { padding: 0 20px; }
}

/* ---------- Focus & motion ---------- */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 14px 26px;
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.1s ease;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--green);
  color: var(--white);
}
.btn-primary:hover { background: var(--green-dark); }

.btn-outline {
  background: transparent;
  border-color: rgba(255,255,255,0.5);
  color: var(--white);
}
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,0.08); }

.btn-navy {
  background: var(--navy);
  color: var(--white);
}
.btn-navy:hover { background: var(--navy-dark); }

.btn-line {
  background: transparent;
  border-color: var(--navy);
  color: var(--navy);
}
.btn-line:hover { background: var(--navy); color: var(--white); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand img { height: 42px; width: auto; }

.nav {
  display: flex;
  align-items: center;
  gap: 34px;
}

.nav-links {
  display: flex;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink);
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.nav-links a:hover, .nav-links a[aria-current="page"] {
  color: var(--navy);
  border-bottom-color: var(--green);
}

.nav-cta {
  display: none;
}
@media (min-width: 860px) {
  .nav-cta { display: inline-flex; }
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--navy-dark);
  display: block;
}

@media (max-width: 859px) {
  .menu-toggle { display: flex; }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    gap: 0;
    border-bottom: 1px solid var(--line);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
  }
  .nav-links.open { max-height: 400px; }
  .nav-links li { width: 100%; border-top: 1px solid var(--line); }
  .nav-links a { display: block; padding: 16px 20px; border-bottom: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--navy-dark);
  color: var(--white);
  overflow: hidden;
  padding: 0;
}

.hero-stripe {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, transparent 0%, transparent 58%, rgba(95,166,70,0.16) 58%, rgba(95,166,70,0.16) 60%, transparent 60%, transparent 100%),
    linear-gradient(115deg, transparent 0%, transparent 63%, rgba(228,52,74,0.14) 63%, rgba(228,52,74,0.14) 64.4%, transparent 64.4%, transparent 100%),
    radial-gradient(ellipse at 82% 20%, rgba(95,166,70,0.18), transparent 55%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  padding: 96px 0 84px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; padding: 64px 0 48px; }
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--paper);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 22px;
}
.hero-eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); }

.hero h1 { color: var(--white); margin-bottom: 22px; }
.hero h1 em { font-style: normal; color: var(--green); }

.hero-lede {
  color: rgba(246,247,244,0.82);
  font-size: 1.1rem;
  max-width: 46ch;
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.hero-panel {
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.04);
  padding: 30px;
  position: relative;
}
.hero-panel::before, .hero-panel::after,
.hero-panel .corner-tl, .hero-panel .corner-br {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  border-color: var(--green);
  border-style: solid;
}
.hero-panel::before { top: -1px; left: -1px; border-width: 2px 0 0 2px; }
.hero-panel::after { bottom: -1px; right: -1px; border-width: 0 2px 2px 0; }

.hero-panel-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}

.hero-stat {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 14px 0;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.hero-stat:first-of-type { border-top: none; }
.hero-stat .num { font-family: var(--font-display); font-size: 1.6rem; font-weight: 800; color: var(--white); }
.hero-stat .label { font-size: 0.88rem; color: rgba(246,247,244,0.7); text-align: right; }

/* ---------- Section headers ---------- */
.section-head {
  max-width: 640px;
  margin-bottom: 48px;
}
.section-head .kicker {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--green-dark);
  margin-bottom: 10px;
  display: block;
}
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center p { margin-left: auto; margin-right: auto; }

/* ---------- Pillars / services grid ---------- */
.pillars {
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
@media (max-width: 860px) {
  .pillar-grid { grid-template-columns: 1fr; }
}

.pillar {
  background: var(--white);
  padding: 40px 34px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.pillar-index {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--green-dark);
  letter-spacing: 0.04em;
}

.pillar h3 { margin-bottom: 4px; }
.pillar p { margin-bottom: 4px; }

.pillar-link {
  margin-top: auto;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--navy);
  border-bottom: 2px solid var(--green);
  align-self: flex-start;
  padding-bottom: 2px;
}

/* ---------- Check list ---------- */
.check-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 18px;
}
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-weight: 500;
  color: var(--ink);
}
.check-list .mark {
  flex: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 900;
  margin-top: 2px;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
@media (max-width: 820px) {
  .two-col { grid-template-columns: 1fr; gap: 36px; }
}

/* ---------- Process steps ---------- */
.process {
  background: var(--navy-dark);
  color: var(--white);
}
.process .section-head .kicker { color: var(--green); }
.process h2 { color: var(--white); }
.process > .container > p { color: rgba(246,247,244,0.75); }

.process-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  margin-top: 48px;
  counter-reset: step;
}
@media (max-width: 980px) {
  .process-list { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
}
@media (max-width: 560px) {
  .process-list { grid-template-columns: 1fr; }
}

.process-step {
  padding-right: 22px;
  position: relative;
}
.process-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 22px;
  right: 0;
  width: 14px;
  height: 1px;
  background: rgba(255,255,255,0.25);
}
@media (max-width: 980px) {
  .process-step:not(:last-child)::after { display: none; }
}

.process-num {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--green);
  margin-bottom: 14px;
}
.process-step h4 {
  color: var(--white);
  font-size: 1.02rem;
  margin-bottom: 8px;
}
.process-step p {
  color: rgba(246,247,244,0.68);
  font-size: 0.92rem;
  margin-bottom: 0;
}

/* ---------- Cards ---------- */
.card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 30px;
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
  padding: 36px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.trust-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.trust-item .num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 900;
  color: var(--navy);
}
.trust-item .label {
  font-size: 0.88rem;
  color: var(--ink-soft);
  font-weight: 500;
}

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--green);
  color: var(--white);
}
.cta-band .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.cta-band h2 { color: var(--white); margin-bottom: 6px; }
.cta-band p { color: rgba(255,255,255,0.88); margin-bottom: 0; }

/* ---------- ERP examples grid ---------- */
.erp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
@media (max-width: 760px) {
  .erp-grid { grid-template-columns: repeat(2, 1fr); }
}
.erp-item {
  border: 1px solid var(--line);
  background: var(--white);
  padding: 20px 18px;
  font-weight: 600;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 12px;
}
.erp-item .ico {
  flex: none;
  width: 30px;
  height: 30px;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-deeper);
  color: rgba(246,247,244,0.75);
  padding: 64px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
@media (max-width: 780px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.footer-grid h4 {
  color: var(--white);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}
.footer-brand img { height: 38px; margin-bottom: 14px; filter: brightness(0) invert(1); }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-links a { font-size: 0.92rem; color: rgba(246,247,244,0.75); }
.footer-links a:hover { color: var(--white); }
.footer-bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.85rem;
  color: rgba(246,247,244,0.5);
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  background: var(--navy-dark);
  color: var(--white);
  padding: 64px 0 56px;
  position: relative;
  overflow: hidden;
}
.page-hero .hero-stripe { opacity: 0.7; }
.page-hero h1 { color: var(--white); margin-bottom: 14px; }
.page-hero .breadcrumb {
  font-size: 0.85rem;
  color: rgba(246,247,244,0.6);
  margin-bottom: 18px;
}
.page-hero .breadcrumb a { color: rgba(246,247,244,0.85); }
.page-hero .breadcrumb a:hover { color: var(--green); }
.page-hero p.lede { color: rgba(246,247,244,0.8); font-size: 1.05rem; }

/* ---------- Reveal on load ---------- */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Contact page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
}
@media (max-width: 880px) {
  .contact-grid { grid-template-columns: 1fr; }
}
.contact-info-item {
  display: flex;
  gap: 16px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}
.contact-info-item:first-child { border-top: none; }
.contact-info-item .ico {
  flex: none;
  width: 42px;
  height: 42px;
  background: var(--paper-dim);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-info-item h4 { margin-bottom: 4px; font-size: 1rem; }
.contact-info-item p { margin-bottom: 0; }

form.contact-form {
  display: grid;
  gap: 18px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
@media (max-width: 560px) {
  .form-row { grid-template-columns: 1fr; }
}
.field { display: grid; gap: 6px; }
.field label { font-size: 0.85rem; font-weight: 700; color: var(--navy-dark); }
.field input, .field select, .field textarea {
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--green);
  outline: none;
}
.field textarea { resize: vertical; min-height: 120px; }
.form-note {
  font-size: 0.82rem;
  color: var(--ink-soft);
  margin-top: -4px;
}
.form-status {
  display: none;
  padding: 14px 16px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.92rem;
}
.form-status.show { display: block; }
.form-status.ok { background: rgba(95,166,70,0.12); color: var(--green-dark); border: 1px solid rgba(95,166,70,0.3); }

/* ---------- Values / about grid ---------- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
@media (max-width: 700px) {
  .values-grid { grid-template-columns: 1fr; }
}
.value-card {
  background: var(--white);
  padding: 32px;
}
.value-card h3 { font-size: 1.1rem; }

.badge-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 20px;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border: 1px solid var(--line);
  background: var(--white);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--navy);
}
.badge .dot { width: 8px; height: 8px; background: var(--green); border-radius: 50%; }

/* Utility */
.mt-0 { margin-top: 0; }
.text-center { text-align: center; }
.bg-white { background: var(--white); }

/* ============================================
   Icônes & illustrations
   ============================================ */
.icon-circle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--paper-dim);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.icon-circle img { width: 26px; height: 26px; }

.pillar .icon-circle { margin-bottom: 6px; }

.erp-item .ico { display: flex; align-items: center; justify-content: center; }
.erp-item .ico img { width: 20px; height: 20px; }

.about-figure {
  border: 1px solid var(--line);
  overflow: hidden;
}
.about-figure img { width: 100%; display: block; }

/* ============================================
   Articles — grille & cartes
   ============================================ */
.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
@media (max-width: 900px) {
  .article-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .article-grid { grid-template-columns: 1fr; }
}

.article-card {
  background: var(--white);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.article-card:hover { border-color: var(--navy); transform: translateY(-2px); }

.article-card .thumb {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--navy-dark);
}
.article-card .thumb img { width: 100%; height: 100%; object-fit: cover; }

.article-card .body {
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.article-tag {
  align-self: flex-start;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--green-dark);
  background: rgba(95,166,70,0.1);
  padding: 4px 10px;
  border-radius: 999px;
}

.article-card h3 { font-size: 1.08rem; margin-bottom: 2px; }
.article-card p { font-size: 0.92rem; margin-bottom: 0; }

.article-meta {
  margin-top: auto;
  padding-top: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: var(--ink-soft);
  border-top: 1px solid var(--line);
}
.article-meta .read-link { font-weight: 700; color: var(--navy); }

.featured-article {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 0;
  border: 1px solid var(--line);
  background: var(--white);
  overflow: hidden;
  margin-bottom: 44px;
}
@media (max-width: 780px) {
  .featured-article { grid-template-columns: 1fr; }
}
.featured-article .thumb { overflow: hidden; }
.featured-article .thumb img { width: 100%; height: 100%; object-fit: cover; display: block; min-height: 260px; }
.featured-article .body { padding: 36px; display: flex; flex-direction: column; justify-content: center; gap: 12px; }

/* ---------- Filtres ---------- */
.filter-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.filter-tab {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.88rem;
  padding: 9px 18px;
  border: 1.5px solid var(--line);
  background: var(--white);
  color: var(--ink-soft);
  cursor: pointer;
  border-radius: 999px;
  transition: all 0.15s ease;
}
.filter-tab:hover { border-color: var(--navy); color: var(--navy); }
.filter-tab.active { background: var(--navy); border-color: var(--navy); color: var(--white); }

/* ============================================
   Page article (détail)
   ============================================ */
.article-hero-fig {
  aspect-ratio: 16 / 6;
  overflow: hidden;
  margin-top: 8px;
}
.article-hero-fig img { width: 100%; height: 100%; object-fit: cover; }

.article-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 56px;
  align-items: start;
}
@media (max-width: 880px) {
  .article-layout { grid-template-columns: 1fr; }
}

.article-body h2 {
  font-size: 1.5rem;
  margin-top: 1.4em;
}
.article-body p, .article-body li { max-width: 68ch; color: var(--ink-soft); }
.article-body ol, .article-body ul { padding-left: 22px; display: grid; gap: 10px; }
.article-body li { color: var(--ink); }

.article-intro {
  font-size: 1.12rem;
  color: var(--ink);
  max-width: 66ch;
}

.article-top-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.88rem;
  color: rgba(246,247,244,0.75);
  margin-bottom: 14px;
}

.sidebar-card {
  border: 1px solid var(--line);
  background: var(--white);
  padding: 24px;
  position: sticky;
  top: 96px;
}
.sidebar-card h4 { font-size: 0.95rem; margin-bottom: 16px; }
.sidebar-related { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 14px; }
.sidebar-related li a {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
}
.sidebar-related li a:hover { color: var(--navy); }
.sidebar-related .thumb {
  flex: none;
  width: 56px;
  height: 40px;
  overflow: hidden;
  border: 1px solid var(--line);
}
.sidebar-related .thumb img { width: 100%; height: 100%; object-fit: cover; }

/* ============================================
   Photos
   ============================================ */
.about-figure.photo img {
  aspect-ratio: 3 / 2;
  object-fit: cover;
  width: 100%;
}

/* ============================================
   Bouton WhatsApp flottant
   ============================================ */
.whatsapp-btn {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 300;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(7,26,43,0.28);
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.whatsapp-btn svg {
  width: 30px;
  height: 30px;
  fill: currentColor;
}
.whatsapp-btn:hover {
  background: #1EBE5D;
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 10px 26px rgba(7,26,43,0.34);
}
.whatsapp-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(37,211,102,0.55);
  animation: wa-pulse 2.4s ease-out infinite;
  pointer-events: none;
}
@keyframes wa-pulse {
  0%   { transform: scale(1); opacity: 1; }
  70%  { transform: scale(1.55); opacity: 0; }
  100% { transform: scale(1.55); opacity: 0; }
}
.whatsapp-btn .wa-tip {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%);
  background: var(--navy-deeper);
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
  padding: 7px 12px;
  border-radius: var(--radius);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease;
}
.whatsapp-btn:hover .wa-tip,
.whatsapp-btn:focus-visible .wa-tip { opacity: 1; }
@media (max-width: 720px) {
  .whatsapp-btn { right: 16px; bottom: 16px; width: 54px; height: 54px; }
  .whatsapp-btn .wa-tip { display: none; }
}
