@import url('https://fonts.googleapis.com/css2?family=Alexandria:wght@300;400;500;600;700&family=IBM+Plex+Mono:wght@500;600&family=IBM+Plex+Sans:wght@300;400;500;600;700&family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20..48,400,0,0&display=swap');

:root {
  --green: #008a5e;
  --green-75: #008a5ebf;
  --green-50: #008a5e80;
  --green-25: #008a5e40;
  --green-dark: #0e4846;
  --jungle-75: #0e4846bf;
  --jungle-50: #0e484680;
  --jungle-25: #0e484640;
  --teal: #006686;
  --teal-25: #00668640;
  --mint: #b9ddd3;
  --mint-light: #def6ee;
  --ink: #2a2a2a;
  --muted: #747474;
  --line: #d8d8d8;
  --surface: #f5f5f5;
  --white: #fff;
  --danger: #ed2424;
  --success: #32b70d;
  --info: #4ba8e6;
  --warning: #f9b938;
  --container: 1154px;
  --shadow: 0 12px 32px rgba(14, 72, 70, 0.12);
  --focus-ring: 0 0 0 3px rgba(0, 138, 94, 0.22);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family: 'Alexandria', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

.material-symbols-outlined {
  font-family: 'Material Symbols Outlined';
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 48;
  font-feature-settings: 'liga';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  vertical-align: middle;
}

.material-symbols-outlined.icon,
.material-symbols-outlined.field-icon {
  font-size: 1.15rem;
  width: 1.4em;
  min-width: 1.4em;
  top: 40%;
  text-align: center;
}

.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.brand-icon {
  display: inline-grid;
  width: 1.35em;
  height: 1.35em;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-family: 'IBM Plex Sans', Arial, sans-serif;
  font-size: .72em;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}

.field-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  pointer-events: none;
}

body.menu-open, body.modal-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; }
button { color: inherit; }
h1, h2, h3, h4, p { margin-top: 0; }
h1, h2, h3 { color: var(--green-dark); line-height: 1.2; }
h1 { font-size: 3rem; letter-spacing: 0; }
h2 { font-size: 1.875rem; }
h3 { font-size: 1.25rem; }
.container { width: min(var(--container), calc(100% - 48px)); margin-inline: auto; }
.section { padding: 64px 0; }
.section-tight { padding-top: 12px; }
.section-title { margin-bottom: 38px; text-align: center; }
.section-title p { max-width: 720px; margin: 12px auto 0; color: var(--muted); }
.section-action { margin: 28px 0 0; text-align: center; }
.eyebrow { color: var(--green); font-size: .78rem; font-weight: 700; letter-spacing: 0; text-transform: uppercase; }
/* .mono, .button { font-family: 'IBM Plex Mono', monospace; } */
.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  padding: 0 24px;
  background: var(--green);
  color: #fff;
  font-size: .85rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease;
}
.button:hover,
.button-outline:hover,
.button-white:hover {
  transform: none;
  box-shadow: inset 0 0 0 1000px rgba(0,0,0,.1);
}
.button:focus-visible,
.nav-link:focus-visible,
.drop-toggle:focus-visible,
.resource-link:focus-visible,
.accordion button:focus-visible,
.menu-toggle:focus-visible {
  outline: 0;
  box-shadow: var(--focus-ring);
}
.button:active { box-shadow: inset 0 0 0 1000px rgba(0,0,0,.18); }
.button[disabled],
.button.is-disabled,
.button[aria-disabled="true"] {
  border-color: var(--line);
  background: var(--line);
  color: var(--muted);
  cursor: not-allowed;
  pointer-events: none;
}
.button::after {
  content: var(--button-icon, 'arrow_forward');
  font-family: 'Material Symbols Outlined';
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
  font-size: 1rem;
}
.button-no-icon::after { content: none; }
.button-icon-download { --button-icon: 'download'; }
.button-outline { border-color: var(--green); background: transparent; color: var(--green); }
.button-blue { background: var(--teal); }
.button-white { background: #fff; color: var(--teal); }
.button-dark { background: var(--green-dark); }
.button-danger { background: var(--danger); }
.button-ghost { border-color: transparent; background: transparent; color: var(--green-dark); }

/* Header */
.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  height: 88px;
  border-bottom: 1px solid #b9ddd3;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(12px);
}
.nav-wrap { width: min(1220px, calc(100% - 36px)); height: 100%; margin: auto; display: flex; align-items: center; gap: 26px; }
.brand { flex: 0 0 auto; }
.brand img { width: 76px; height: 48px; object-fit: cover; object-position: left; }
.nav-links { display: flex; align-items: center; gap: 24px; margin-right: auto; font-size: .85rem; white-space: nowrap; }
.nav-link { position: relative; padding: 31px 0 27px; }
.nav-link::after { position: absolute; right: 0; bottom: 24px; left: 0; height: 2px; background: var(--green); content: ''; transform: scaleX(0); transition: transform .2s; }
.nav-link:hover, .nav-link.active { color: var(--green); }
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }
.nav-drop { position: relative; }
.drop-toggle { border: 0; padding-inline: 0; background: none; cursor: pointer; }
.drop-toggle::before { content: ''; }
.drop-toggle span::after {
  content: 'expand_more';
  font-family: 'Material Symbols Outlined';
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
  padding-left: 4px;
  font-size: 1rem;
}
.dropdown {
  position: absolute;
  top: 70px;
  left: -20px;
  min-width: 220px;
  padding: 10px;
  border: 1px solid #d9ebe6;
  background: #fff;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: .2s ease;
}
.nav-drop.open .dropdown { opacity: 1; pointer-events: auto; transform: none; }
.dropdown a { display: block; padding: 11px 12px; }
.dropdown a:hover { background: var(--mint-light); color: var(--green); }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.language-switcher { position: relative; }
.language-toggle {
  display: flex;
  min-height: 44px;
  align-items: center;
  gap: 8px;
  border: 0;
  padding: 8px;
  background: transparent;
  color: var(--ink);
  font-weight: 600;
  cursor: pointer;
}
.language-toggle:hover,
.language-switcher.open .language-toggle { color: var(--green); }
.language-toggle .material-symbols-outlined { font-size: 1rem; transition: transform .2s ease; }
.language-switcher.open .language-toggle .material-symbols-outlined { transform: rotate(180deg); }
.language-menu {
  position: absolute;
  z-index: 120;
  top: calc(100% + 10px);
  right: 0;
  display: grid;
  min-width: 58px;
  justify-items: center;
  gap: 6px;
  padding: 8px;
  border: 1px solid #d9ebe6;
  background: #fff;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: .2s ease;
}
.language-switcher.open .language-menu { opacity: 1; pointer-events: auto; transform: none; }
.language-option {
  display: grid;
  width: 42px;
  height: 34px;
  align-items: center;
  justify-items: center;
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}
.language-option:hover,
.language-option.selected { background: var(--mint-light); color: var(--green); box-shadow: inset 0 0 0 1px var(--green-50); }
.language-option { position: relative; }
.flag-ma i { display: none; }
.nav-actions .button { min-height: 52px; padding: 0 18px; font-size: .75rem; }
.menu-toggle { position: fixed; z-index: 160; top: 22px; right: auto; left: min(326px, calc(100vw - 62px)); display: grid; width: 44px; height: 44px; place-items: center; border: 0; background: transparent; color: var(--green-dark); font-size: 1.6rem; cursor: pointer; }
.menu-toggle .material-symbols-outlined { display: none; }
.menu-lines {
  display: block;
  width: 24px;
  height: 2px;
  background: currentColor;
  box-shadow: 0 -7px 0 currentColor, 0 7px 0 currentColor;
}
.menu-toggle::before { content: none; }
body.menu-open .menu-lines {
  width: auto;
  height: auto;
  background: transparent;
  box-shadow: none;
  font-size: 2rem;
  line-height: 1;
}
body.menu-open .menu-lines::before { content: '×'; }
.mobile-nav { display: none; }

@media (min-width: 1041px) {
  .menu-toggle { display: none; }
}

/* Footer */
.site-footer { margin-top: 0; padding: 58px 0 18px; background: linear-gradient(45deg, #00895e, #006686); color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.35fr .8fr .8fr .8fr; gap: 70px; }
.footer-brand { width: 100px; margin-bottom: 18px; filter: brightness(0) invert(1); }
.socials { display: flex; gap: 14px; margin: 18px 0; }
.social { display: grid; width: 22px;
    height: 22px; place-items: center; border-radius: 50%; background: #fff; color: var(--green); font-size: 1.35rem; font-weight: 700; }
.contact-list, .footer-links { display: grid; gap: 13px; margin: 0; padding: 0; list-style: none; }
.contact-list { font-size: .84rem; }
.contact-list li { display: flex; gap: 12px; align-items: flex-start; }
.footer-col h3 { margin-bottom: 16px; color: #fff; font-size: 1.1rem; }
.footer-links { font-size: .85rem; }
.footer-links a:hover { text-decoration: underline; }
.footer-bottom { margin-top: 52px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.55); text-align: center; font-size: .7rem; opacity: .9; }

/* Home */
.hero { position: relative; min-height: 617px; overflow: hidden; background: radial-gradient(circle at 80% 20%, #fff 0, #dcf8ef 30%, #c3f0e3 65%, #b6e7db 100%); }
.hero::before { position: absolute; inset: 0; background: url('assets/hero-art.webp') center/cover; content: ''; opacity: .22; mix-blend-mode: multiply; }
.hero-inner { position: relative; min-height: 617px; display: grid; grid-template-columns: 53% 47%; align-items: center; }
.hero-copy { z-index: 2; max-width: 650px; padding: 70px 0; }
.hero-copy h1 { margin-bottom: 18px; }
.hero-copy p { max-width: 510px; margin-bottom: 28px; color: #456461; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-visual { height: 617px; align-self: end; position: relative; }
.hero-visual .person { position: absolute; right: 20px; bottom: 0; height: 600px; width: auto; object-fit: contain; object-position: bottom; z-index:10;}
.metric-card { position: absolute; z-index: 4; padding: 18px; border: 1px solid rgba(0,138,94,.35); border-radius: 12px; background: rgba(255,255,255,.86); box-shadow: var(--shadow); color: var(--green-dark); backdrop-filter: blur(10px); }
.metric-card strong { display: block; font-size: 1.9rem; }
.metric-one { top: 100px; right: 5px; padding:0px;}.metric-two { bottom: 70px; left: 10px; z-index:11; padding:0px;}.metric-three {bottom: 65px;right: -15px; position:absolute;}
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.about-image { border-radius: 8px; }
.accordion { border-bottom: 1px solid var(--line); }
.accordion button { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 18px; border: 0; padding: 18px 0; background: transparent; text-align: left; cursor: pointer; transition: color .2s ease; }
.accordion button:hover,
.accordion.open button { color: var(--green); }
.accordion button span:last-child { font-size: 1.25rem; transition: color .2s ease; }
.accordion.open button span:last-child { color: var(--green); }
.accordion-panel { max-height: 0; overflow: hidden; color: var(--muted); transition: max-height .3s ease; }
.accordion.open .accordion-panel { max-height: 180px; padding-bottom: 18px; }
.promises { display: grid; grid-template-columns: repeat(3,1fr); gap: 64px; }
.promise-head { display: flex; align-items: center; gap: 16px; min-height: 62px; }
.promise-icon { display: grid; flex: 0 0 58px; width: 58px; height: 58px; place-items: center; border-radius: 12px; background: linear-gradient(135deg, var(--green), #56c8a5); color: #fff; font-size: 1.65rem; box-shadow: 0 10px 20px rgba(0,138,94,.2); }
.promise h3 { margin: 0; }.promise p { margin-top: 15px; color: var(--muted); }
.stats { background: var(--green); color: #fff; }
.stats-grid { display: grid; grid-template-columns: repeat(3,1fr); padding: 28px 0; text-align: center; }
.stat strong { display: block; font-size: 2.7rem; line-height: 1; }.stat small { opacity: .86; }
.role-tabs { display: flex; justify-content: center; gap: 12px; margin-bottom: 30px; }
.role-tab { border: 1px solid var(--green); padding: 14px 18px; background: transparent; color: var(--green); cursor: pointer; }
.role-tab.active { background: var(--green); color: #fff; }
.feature-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.feature-card { background: #fff; }
.feature-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.feature-content { padding: 18px; }
.feature-card h3 { font-size: 1rem; }.feature-card p, .feature-card li { font-size: .78rem; color: #676767; }
.feature-card ul { padding-left: 17px; }
.testimonial { padding: 70px 0; background: var(--green); color: #fff; text-align: center; }
.quote { max-width: 900px; margin: auto; font-size: 1.25rem; }
.quote::before, .quote::after { display: block; font-size: 3rem; line-height: 1; content: '“'; }.quote::after { content: '”'; text-align: right; }
.quote-person { display: flex; justify-content: center; align-items: center; gap: 14px; margin-top: 18px; }
.avatar { display: grid; width: 64px; height: 64px; place-items: center; border: 4px solid var(--green-dark); border-radius: 50%; background: #d4dedb; color: var(--green-dark); font-weight: 700; }
.quote-person p { margin: 0; text-align: left; }.quote-person small { color: var(--green-dark); }

.resource-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.resource-card { overflow: hidden; border: 1px solid transparent; background: #fff; transition: border-color .2s ease, box-shadow .2s ease; }
.resource-card:hover { border-color: var(--teal-25); box-shadow: var(--shadow); }
.resource-image { height: 230px; background: #e5e6ea; }
.resource-image.photo { background: url('assets/resource-hero.webp') center/cover; }
.resource-body { min-height: 155px; padding: 22px; }
.resource-meta { display: flex; justify-content: space-between; gap: 10px; color: #7e7e7e; font-size: .7rem; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }.tag { border: 1px solid var(--green-dark); padding: 2px 7px; color: var(--green-dark); font-size: .65rem; font-style: normal; }
.resource-card h3 { margin: 14px 0 8px; color: #313131; }
.resource-card p { color: #8a8a8a; font-size: .83rem; }
.resource-link { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 62px; padding: 0 22px; border-top: 1px solid var(--green-dark); color: var(--green-dark); font-weight: 600; transition: background-color .2s ease, color .2s ease; }
.resource-link:hover { background: var(--mint-light); }
.resource-card.download .resource-link { background: var(--green-dark); color: #fff; }
.resource-card.download .resource-link:hover { background: var(--teal); }

.cta { padding: 64px 40px; background: var(--teal) url('assets/hero-art.webp') center/cover; color: #fff; text-align: center; }
.cta h2 { margin-bottom: 14px; color: #fff; font-size: 3rem; }.cta p { margin-bottom: 26px; }
.cta-actions { display: flex; justify-content: center; gap: 10px; }
.cta .button-outline { border-color: #fff; color: #fff; }
.mobile-callout { position: relative; min-height: 500px; display: grid; grid-template-columns: 55% 45%; align-items: center; overflow: hidden; }
.mobile-callout::before { position: absolute; z-index: -1; left: 0; right: 0; bottom: 0; height: 75%; background: var(--green); clip-path: polygon(0 0,100% 36%,100% 100%,0 100%); content: ''; }
.mobile-copy { padding: 150px 0 50px 30px; color: #fff; }.mobile-copy h2 { color: #fff; }
.store-badges { display: flex; gap: 8px; }.store-badge { padding: 8px 14px; border-radius: 5px; background: #111; color: #fff; font-size: .72rem; }
.mobile-phone { max-height: 500px; width: 100%; object-fit: contain; transform: translateY(20px); }

/* Pricing */
.pricing-hero { padding: 48px 0 72px; text-align: center; }
.pricing-hero h1 { margin-bottom: 12px; font-size: 2.2rem; }
.pricing-hero p { color: #2f3d3c; font-size: .9rem; line-height: 1.35; }
.pricing-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; align-items: center; margin-top: 58px; text-align: left; }
.price-plan { display: grid; gap: 14px; }
.price-card { position: relative; min-height: 438px; display: flex; flex-direction: column; overflow: hidden; padding: 26px 28px 22px; border: 1px solid transparent; border-radius: 12px; background: #01a6a473; color: var(--green-dark); box-shadow: 0 6px 12px rgba(14,72,70,.18); transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.price-card.featured { min-height: 392px; background: #0fa8a6; color: #fff; box-shadow: 0 14px 30px rgba(14,72,70,.28); transform: translateY(-12px); }
.price-card.custom { min-height: 438px; align-items: center; justify-content: flex-start; border: 2px solid var(--green); box-shadow: none; text-align: center; }
.price-card:hover { border-color: var(--green-50); box-shadow: var(--shadow); }
.price-card.custom:hover { box-shadow: none; }
.price-card h2 { margin: 0 0 8px; color: var(--green-dark); text-align: center; font-size: 1.72rem; font-weight: 700; line-height: 1; }
.price-card.featured h2 { color: var(--green-dark); }
.price-card.custom h2 { margin-top: 4px; font-size: 1.72rem; }
.price { margin: 0; color: var(--green-dark); text-align: center; font-size: 1.45rem; font-weight: 700; line-height: 1; }
.price small { font-size: .68rem; font-weight: 500; }
.plan-users { margin: 4px 0 8px; color: #fff; text-align: center; font-size: .78rem; font-weight: 700; line-height: 1; }
.visit-pill { width: 100%; margin: 0 0 18px; border-radius: 999px; padding: 4px 12px; background: #fff; color: var(--green); text-align: center; font-size: .8rem; font-weight: 800; line-height: 1; }
.plan-includes { margin: 0 0 18px; text-align: center; font-size: .72rem; font-weight: 800; }
.feature-list { display: grid; gap: 12px; margin: 0 0 0; padding: 0; list-style: none; }
.feature-list li { display: flex; gap: 10px; align-items: flex-start; }
.feature-list li::before {
  display: grid;
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  place-items: center;
  border-radius: 50%;
  margin-top: 1px;
  background: var(--teal);
  color: #fff;
  content: 'check';
  font-family: 'Material Symbols Outlined';
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
  font-size: .75rem;
}
.feature-list span { color: var(--green-dark); font-size: .62rem; line-height: 1.18; }
.featured .feature-list li::before { background: #fff; color: var(--green); }
.featured .feature-list span { color: #fff; }
.plan-note { margin: 12px 0 0; color: var(--green-dark); font-size: .58rem; line-height: 1.25; }
.featured .plan-note { color: #fff; }
.price-card.custom p { margin: auto 0; max-width: 185px; color: #222; font-size: .86rem; font-weight: 700; line-height: 1.25; }
.plan-button { width: min(245px, 75%); margin-inline: auto; min-height: 56px; }
.ribbon { position: absolute; top: 22px; right: -42px; width: 165px; padding: 7px; background: #fff; color: var(--green); text-align: center; transform: rotate(45deg); font-size: .8rem; font-weight: 500; }

/* Feature/Solution page */
.feature-page-intro { padding: 28px 0 12px; text-align: center; }
.feature-page-intro p { max-width: 720px; margin: auto; }
.solution-list { display: grid; gap: 24px; padding: 26px 0 70px; }
.solution-item { display: grid; grid-template-columns: 1fr 1fr; gap: 38px; align-items: center; padding: 28px; background: #fff; }
/* .solution-item:nth-child(even) .solution-copy { order: 2; } */
.solution-item h2 { grid-column: 1/-1; margin: 0 0 -12px; text-align: center; font-size: 1.35rem; }
.solution-copy p, .solution-copy li { color: #6c6c6c; font-size: .84rem; }
.solution-copy p { margin-bottom: 16px; }
.solution-copy .summary { margin-bottom: 0; }
.solution-extra { margin-top: 16px; }
.solution-extra p { margin-bottom: 16px; }
.more-link { display: inline-block; color: var(--green-dark); text-decoration: none; }
.more-link:hover { text-decoration: underline; }
.solution-item.open .solution-extra { display: inline; }
.solution-visual { min-height: 255px; 
  background: #ffffff; 
  /* background: #0e4846; */
}

/* Forms */
.page-heading { margin: 24px 0 38px; text-align: center; }
.contact-layout { display: grid; grid-template-columns: 385px 1fr; gap: 32px; align-items: stretch; padding-bottom: 40px; }
.contact-panel { padding: 32px 26px; background: var(--green); color: #fff; }
.contact-panel h2 { color: #fff; }.contact-panel > p { color: #c7e7de; }
.contact-details { display: grid; gap: 28px; margin-top: 54px; padding: 0; list-style: none; }
.contact-details li { display: flex; gap: 18px; align-items: flex-start; }
.contact-socials { display: flex; gap: 14px; margin-top: 52px; font-size: 1.4rem; }
.contact-form { padding: 12px 0; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 24px; }
.field { position: relative; }
.field.full { grid-column: 1/-1; }
.field.has-icon > input,
.field.has-icon > textarea { padding-left: 38px; }
.field > input, .field > textarea, .field > select { width: 100%; border: 0; border-bottom: 1px solid #3d3d3d; border-radius: 0; padding: 14px 10px; outline: 0; background: transparent; color: #333; transition: border-color .2s ease, box-shadow .2s ease; }
.field > input:focus, .field > textarea:focus, .field > select:focus { border-color: var(--green); box-shadow: 0 1px 0 var(--green); }
.field.is-error > input, .field.is-error > textarea, .field.is-error > select { border-color: var(--danger); color: var(--danger); padding-bottom: 0px; box-shadow: 0 1px 0 var(--danger); }
.field.is-success > input, .field.is-success > textarea, .field.is-success > select { border-color: var(--success); box-shadow: 0 1px 0 var(--success); }
.field textarea { min-height: 88px; resize: vertical; }
.field-icon { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.field.is-error .field-icon { color: var(--danger); }
.field.is-success .field-icon { color: var(--success); }
.field-message { display: block; margin-top: 6px; color: var(--danger); font-size: .72rem; }
.checks { display: flex; flex-wrap: wrap; gap: 16px; padding: 10px 0 4px; }
.checks label { display: flex; align-items: center; gap: 6px; }.checks input { width: 23px; height: 23px; accent-color: var(--green); }
.checks input:focus-visible { outline: 0; box-shadow: var(--focus-ring); }
.form-submit { display: flex; justify-content: flex-end; margin-top: 30px; }
.form-note { grid-column: 1/-1; min-height: 22px; color: var(--green); font-size: .8rem; }

/* FAQ */
.faq-page { padding: 74px 0 40px; }.faq-list { max-width: 762px; margin: 40px auto 0; }
.faq-list .accordion button { padding: 24px 0; font-weight: 500; }

/* Resources */
.featured-resource { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; align-items: stretch; margin-bottom: 62px; }
.featured-resource-image { min-height: 470px; background: url('assets/resource-hero.webp') center/cover; }
.featured-resource-copy { padding: 12px 0; }
.featured-resource-copy h1 { margin: 18px 0 8px; font-size: 3rem; }

/* Articles */
.article-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: center; padding: 58px 0; }
.article-hero-copy h1 { font-size: 3rem; }.article-hero-image { min-height: 510px; border: 1px solid #d5d5d9; background: #e8e8ea; position: relative; }
/* .article-hero-image::before, .article-hero-image::after { position: absolute; top: 50%; left: 50%; width: 120%; height: 4px; background: #d4d4d8; content: ''; transform: translate(-50%,-50%) rotate(42deg); }.article-hero-image::after { transform: translate(-50%,-50%) rotate(-42deg); } */
.article-action { margin: 24px 0 0; }
.author { display: flex; align-items: center; gap: 12px; color: #777; }.author-logo { width: 42px; height: 42px; border: 2px solid var(--green-dark); border-radius: 50%; object-fit: contain; padding: 6px; }
.article-layout { display: grid; grid-template-columns: 270px 1fr; gap: 60px; align-items: start; padding-bottom: 64px; }
.toc { position: sticky; top: 120px; }.toc small { text-transform: uppercase; }.toc ol { padding-left: 18px; }.toc li { margin: 12px 0; }.toc a:hover { color: var(--green); }
.article-body { font-family: Arial, sans-serif;margin-top: 5%; }.article-body h2 { margin-top: 32px; color: var(--ink); } .article-body h3 { color: var(--ink); }
.takeaway, .tip { margin: 24px 0; border-left: 4px solid var(--green); padding: 24px 28px; background: var(--mint); }.takeaway li { margin: 12px 0; }

/* Modal and feedback states */
.modal-backdrop { position: fixed; z-index: 300; inset: 0; display: none; place-items: center; padding: 20px; background: rgba(3,28,26,.7); }
.modal-backdrop.open { display: grid; }
.modal { position: relative; width: min(720px,100%); background: #fff; box-shadow: 0 30px 70px rgba(0,0,0,.3); }
.modal-close { position: absolute; z-index: 2; top: 0px; right: 10px; width: 44px; height: 44px; border: 0; background: #fff; font-size: 1.7rem; cursor: pointer; }
.download-modal-head { min-height: 330px; display: flex; flex-direction: column; justify-content: flex-end; padding: 24px; background: linear-gradient(120deg,#58a180,#dcf9e6); color: #fff; }.download-modal-head h2 { max-width: 620px; margin-bottom: 8px; color: #fff; font-size: 2rem; }
.download-modal-form { padding: 10px; }.download-modal-form .button { width: 100%; margin-top: 18px; }
.feedback-modal { width: min(495px,100%); text-align: center; }
.feedback-visual { min-height: auto; background: #cdf0c6; }
.feedback-modal.error .feedback-visual { display: grid; place-items: center; background: #ffcaca; }
.error-icon { display: grid; width: 140px; height: 140px; place-items: center; border-radius: 50%; background: var(--danger); color: #fff; font-size: 6rem; }
.feedback-copy { padding: 0px 20px 18px; }.feedback-copy h2 { color: #2d2d2d; }

@media (max-width: 1040px) {
  .nav-links, .nav-actions { display: none; }
  .menu-toggle { position: fixed; z-index: 160; top: 22px; right: auto; left: min(326px, calc(100vw - 62px)); display: grid; margin-left: auto; }
  .mobile-nav { position: fixed; z-index: 99; top: 88px; right: 0; bottom: 0; left: 0; display: none; padding: 26px; background: #fff; overflow: auto; }
  .mobile-nav.open { display: block; }
  .mobile-nav a { display: block; padding: 15px 4px; border-bottom: 1px solid var(--line); }
  .mobile-language { border-bottom: 1px solid var(--line); }
  .mobile-nav .language-toggle { width: 100%; justify-content: flex-start; padding: 15px 4px; }
  .mobile-nav .language-toggle .flag { margin-right: 4px; }
  .mobile-nav .language-menu { position: static; display: none; min-width: 0; margin: 0 0 12px; border-color: var(--line); box-shadow: none; opacity: 1; pointer-events: auto; transform: none; }
  .mobile-nav .language-switcher.open .language-menu { display: grid; }
  .mobile-nav .button { margin-top: 18px; text-align: center; }
  .hero-inner { grid-template-columns: 1fr 1fr; }
  .hero-visual .person { right: -80px; z-index:10;}
  .promises { gap: 24px; }
  .feature-grid { grid-template-columns: repeat(2,1fr); }
  .pricing-grid { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1.5fr repeat(3,1fr); gap: 30px; }
}

@media (max-width: 760px) {
  body { font-size: 14px; }
  h1 { font-size: 2.35rem; }
  h2 { font-size: 1.65rem; }
  .container { width: min(100% - 30px, var(--container)); }
  .section { padding: 48px 0; }
  .hero, .hero-inner { min-height: 720px; }
  .hero-inner { grid-template-columns: 1fr; align-content: start; }
  .hero-copy { padding: 52px 0 0; }
  .hero-copy h1 { font-size: 2.55rem; }
  .hero-visual { height: 370px; }
  .hero-visual .person { right: -20px; height: 410px; z-index: 10;}
  .metric-one { top: 30px; right: 0; padding:0px;}.metric-two { bottom: 28px; left: 0;  z-index:11; padding:0px}
  .about-grid, .contact-layout, .featured-resource, .article-hero, .article-layout, .mobile-callout { grid-template-columns: 1fr; }
  .promises, .resource-grid { grid-template-columns: 1fr; }
  .promise { max-width: 500px; }
  .stats-grid { gap: 14px; }.stat strong { font-size: 1.9rem; }
  .role-tabs { justify-content: flex-start; overflow-x: auto; }
  .role-tab { flex: 0 0 auto; }
  .feature-grid { grid-template-columns: 1fr; }
  .cta { padding: 48px 18px; }.cta h2, .featured-resource-copy h1, .article-hero-copy h1 { font-size: 2.2rem; }.cta-actions { flex-direction: column; align-items: stretch; }
  .mobile-callout { padding-top: 40px; }.mobile-copy { order: 2; padding: 0 20px 50px; }.mobile-phone { max-height: 340px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 35px 24px; }.footer-main { grid-column: 1/-1; }.footer-bottom { margin-top: 36px; }
  .pricing-hero .container { max-width: calc(100% - 30px); overflow-x: hidden; }
  .pricing-hero h1 { max-width: 310px; margin-inline: auto; font-size: 1.75rem; overflow-wrap: anywhere; }
  .pricing-hero p { max-width: 340px; font-size: .84rem; }
  .pricing-grid { grid-template-columns: 1fr; margin-top: 40px; }.price-card, .price-card.featured { min-height: auto; transform: none; }
  .price-plan, .price-card { width: 100%; max-width: 360px; min-width: 0; margin-inline: auto; }
  .solution-item { grid-template-columns: 1fr; }
  /* .solution-item:nth-child(even) .solution-copy { order: initial; } */
  .solution-item h2 { margin-bottom: 4px; }
  .form-grid { grid-template-columns: 1fr; }.field.full, .form-note { grid-column: auto; }.contact-panel { min-height: 520px; }
  .featured-resource-image { min-height: 330px; }.featured-resource-copy h1 { font-size: 2.2rem; }
  .article-hero-image { min-height: 330px; }.article-layout { gap: 28px; }.toc { position: static; }
}

@media (max-width: 480px) {
  .menu-toggle { position: fixed; top: 22px; right: auto; left: min(326px, calc(100vw - 62px)); }
  .hero-copy h1 { font-size: 2.25rem; overflow-wrap: anywhere; }
  .hero-actions .button { width: 100%; }
  .metric-card { padding: 12px; }.metric-card strong { font-size: 1.35rem; }
  .stats-grid { grid-template-columns: 1fr; }.stat { padding: 10px; }
  .footer-grid { grid-template-columns: 1fr; }.footer-main { grid-column: auto; }
  .checks { flex-direction: column; }
}
.moretext {
  display: none;
}
.moretext {
  max-height: 0;
  overflow: hidden;
  transition: max-height 1.3s ease !important;
}

.moretext.open {
  max-height: 500px; /* Ajustez selon votre contenu */
}

/* FONCTIONNALITIES SECTION */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;

  max-width: 1320px;
  margin: 0 auto;

  transition: opacity 0.3s ease, transform 0.3s ease;
}

.feature-card {
  flex: 0 1 calc((100% - 72px) / 4);
  max-width: calc((100% - 72px) / 4);
}
.feature-grid.fade-out {
  opacity: 0;
  transform: translateY(10px);
}

.feature-grid.fade-in {
  opacity: 1;
  transform: translateY(0);
}
@media (max-width: 1100px) {
  .feature-card {
    flex: 0 1 calc((100% - 24px) / 2);
    max-width: calc((100% - 24px) / 2);
  }
}

@media (max-width: 640px) {
  .feature-card {
    flex: 0 1 100%;
    max-width: 100%;
  }
}

.solution-item {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.solution-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Accessibilité : respecte les préférences de l'utilisateur */
@media (prefers-reduced-motion: reduce) {
  .solution-item {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
.solution-visual {
  position: relative;
  overflow: visible;   /* important : laisse déborder les captures */
}

.visual-cover {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  transition: transform 0.4s ease;
}

/* Les deux captures, masquées par défaut */
.visual-pop {
  position: absolute;
  width: 50%;
  border-radius: 10px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
  opacity: 0;
  transition: opacity 0.45s ease, transform 0.45s ease;
  z-index: 2;
}

/* Position de départ (regroupées au centre) */
.visual-pop-1 { top: 50%; left: 50%; transform: translate(-50%, -50%) scale(0.8); }
.visual-pop-2 { top: 50%; left: 50%; transform: translate(-50%, -50%) scale(0.8); }
.visual-pop-alone {
    top: 65%;
    left: 69%;
    transform: translate(-50%, -50%) scale(0.8);
}

/* Au survol : elles apparaissent et se déplacent vers deux coins opposés */
.solution-visual:hover .visual-pop-1, .solution-visual:hover .visual-pop-alone {
  opacity: 1;
  transform: translate(-85%, -90%) rotate(-6deg);   /* coin haut-gauche */
}

.solution-visual:hover .visual-pop-2 {
  opacity: 1;
  transform: translate(-15%, -10%) rotate(6deg);    /* coin bas-droite */
}

/* Léger recul de l'image principale pour donner de la profondeur */
.solution-visual:hover .visual-cover {
  transform: scale(0.96);
}

@media (prefers-reduced-motion: reduce) {
  .visual-pop,
  .visual-cover { transition: none; }
}
/* ---- Backdrop ---- */
.modal-backdrop {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 1000;
}

.modal-backdrop.open {
  opacity: 1;
  visibility: visible;
}

/* ---- Modal ---- */
.modal {
  position: relative;
  width: min(440px, 100%);
  background: #fff;
  border-radius: 20px;
  padding: 2.25rem 0rem;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.25);
  text-align: center;
  /* état initial de l'animation */
  opacity: 0;
  transform: translateY(24px) scale(0.96);
  transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Quand le backdrop est ouvert, le panneau visible s'anime */
.modal-backdrop.open .modal:not([hidden]) {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* ---- Bouton fermer ---- */
.modal-close {
  position: absolute;
  top: 0px;
  right: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.06);
  color: #475569;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.modal-close:hover {
  background: rgba(15, 23, 42, 0.12);
  transform: rotate(90deg);
}

/* ---- Modal download ---- */
.download-modal-head h2 {
  font-size: 1.35rem;
  margin: 0 0 0.5rem;
  color: #0f172a;
}

.download-modal-head p {
  color: #64748b;
  margin: 0 0 1.5rem;
}

.download-modal-form .field input {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  font-size: 1rem;
  margin-bottom: 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.download-modal-form .field input:focus {
  outline: none;
  border-color: #0f766e;
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.15);
}

.download-modal-form .button { width: 100%; }

/* ---- Modals feedback (succès / erreur) ---- */
.feedback-visual {
  display: flex;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.success-icon,
.error-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
}

.success-icon {
  background: rgba(16, 185, 129, 0.12);
  color: #10b981;
}

.error-icon {
  background: rgba(239, 68, 68, 0.12);
  color: #ef4444;
}

.success-icon .material-symbols-outlined,
.error-icon .material-symbols-outlined {
  font-size: 44px;
}

/* l'icône “rebondit” à l'apparition */
.modal-backdrop.open .feedback-modal:not([hidden]) .success-icon,
.modal-backdrop.open .feedback-modal:not([hidden]) .error-icon {
  animation: iconPop 0.5s cubic-bezier(0.22, 1, 0.36, 1) 0.15s both;
}

.feedback-copy h2 {
  font-size: 1.3rem;
  margin: 0 0 0.5rem;
  color: #0f172a;
}

.feedback-copy p {
  color: #64748b;
  margin: 0;
  line-height: 1.55;
}

/* ---- Keyframes ---- */
@keyframes iconPop {
  0%   { transform: scale(0); opacity: 0; }
  60%  { transform: scale(1.15); }
  100% { transform: scale(1); opacity: 1; }
}

/* ---- Accessibilité ---- */
@media (prefers-reduced-motion: reduce) {
  .modal,
  .modal-backdrop,
  .success-icon,
  .error-icon {
    transition: opacity 0.2s ease;
    animation: none !important;
    transform: none !important;
  }
}
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.733);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.08);
}

/* IMPORTANT avec fixed : compenser la hauteur pour que le contenu ne passe pas dessous */
body {
  padding-top: 72px;   /* = hauteur de ta navbar */
}

/* La carte doit masquer le débordement de la brillance */
.price-card {
  position: relative;
  overflow: hidden;
}

/* Le reflet brillant qui balaie la carte */
.price-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    22deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.35) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-20deg);
  pointer-events: none;
  z-index: 2;
  animation: cardShine 5s ease-in-out infinite;
}

@keyframes cardShine {
  0%   { left: -75%; }
  20%  { left: 125%; }   /* balaye rapidement */
  100% { left: 125%; }   /* puis pause jusqu'au prochain cycle */
}

@media (prefers-reduced-motion: reduce) {
  .price-card::before { animation: none; }
}
.pricing-grid .price-plan:nth-child(1) .price-card::before { animation-delay: 0s; }
.pricing-grid .price-plan:nth-child(2) .price-card::before { animation-delay: 1s; }
.pricing-grid .price-plan:nth-child(3) .price-card::before { animation-delay: 2s; }
.pricing-grid .price-plan:nth-child(4) .price-card::before { animation-delay: 3s; }


.stats .stat strong { color: #ffffff; }
.stats .stat small  { color: #a7f3e4; }
.stats .stat:not(:last-child) { border-right: 1px solid rgba(255,255,255,.18); }

.mobile-drop-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0.9rem 0;
  background: none;
  border: none;
  font: inherit;
  color: inherit;
  cursor: pointer;
  text-align: left;
}

.mobile-drop-toggle .material-symbols-outlined {
  transition: transform 0.25s ease;
}

.mobile-drop.open .mobile-drop-toggle .material-symbols-outlined {
  transform: rotate(180deg);
}

/* Sous-menu replié par défaut, animé en hauteur */
.mobile-submenu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.mobile-drop.open .mobile-submenu {
  max-height: 300px;   /* assez grand pour contenir les liens */
}

.mobile-submenu a {
  display: block;
  padding: 0.6rem 0 0.6rem 1rem;   /* indentation pour hiérarchie visuelle */
  font-size: 0.95rem;
  opacity: 0.85;
}
.button:disabled,
.button[disabled] {
  opacity: .5;
  cursor: not-allowed;
  pointer-events: none;
}

.resource-state { text-align: center; padding: 40px 0; color: var(--text-secondary); }
.resource-card.skeleton .resource-image { background: #eee; animation: pulse 1.4s infinite; }
.skeleton-line { height: 12px; background: #eee; border-radius: 6px; margin: 10px 0; animation: pulse 1.4s infinite; }
.skeleton-line.short { width: 60%; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .5; } }

.resource-card p {
  display: -webkit-box;
  -webkit-line-clamp: 3;      /* nombre de lignes avant coupure */
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}
.resource-card .resource-image {
  background-size: cover;  
  background-position: center;
  background-repeat: no-repeat;
  background-color: #f3f4f6;     /* comble les bandes vides proprement */
}
/* --- Badge "À la une" (article vedette) --- */
.featured-resource-image { position: relative; }

.featured-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px 7px 11px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  letter-spacing: .2px;

  /* dégradé animé : on l'étire puis on déplace la position */
  background: linear-gradient(120deg, #0f766e, #14b8a6, #0f766e, #0d9488);
  background-size: 300% 100%;
  animation: badge-gradient 4s ease infinite, badge-pulse 2.4s ease-in-out infinite;
  box-shadow: 0 4px 14px rgba(15, 118, 110, .35);
}

.featured-badge svg {
  width: 15px;
  height: 15px;
  fill: #ffd54a;                     /* étoile dorée */
  animation: star-spin 6s linear infinite;
}

/* Déplacement du dégradé */
@keyframes badge-gradient {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Pulsation douce du badge entier */
@keyframes badge-pulse {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.05); }
}

/* Rotation lente de l'étoile */
@keyframes star-spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* Accessibilité : coupe les animations si l'utilisateur les refuse */
@media (prefers-reduced-motion: reduce) {
  .featured-badge,
  .featured-badge svg {
    animation: none;
  }
}
/* --- Tags d'article --- */
.tags {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  vertical-align: middle;
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 3px 11px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  font-style: normal;              /* <i> est italique par défaut → on annule */
  line-height: 1.6;
  letter-spacing: .2px;
  color: #0f766e;
  background: #e1f5ee;             /* teal très clair */
  border: 1px solid rgba(15, 118, 110, .18);
  white-space: nowrap;
  transition: background-color .2s ease, color .2s ease;
}

.tag:hover {
  background: #0f766e;
  color: #fff;
}

.resource-card h3 a { color: inherit; text-decoration: none; }
.resource-card h3 a:hover { color: #0f766e; }

.article-layout { display: grid; grid-template-columns: 265px 1fr; gap: 40px; align-items: start; }

.toc { margin-top: 10%; position: sticky; top: 100px; align-self: start; max-height: calc(100vh - 120px); overflow-y: auto; background-color: #d5f5ed;padding: 5px;}
.toc ol { list-style: none; padding: 0; margin: 8px 0 0; counter-reset: toc; }
.toc li { margin: 6px 0; }
.toc-h3 { padding-left: 14px; }
.toc a { color: var(--text-secondary); text-decoration: none; font-size: 14px; transition: color .2s; }
.toc a:hover, .toc a.active { color: #004558; font-weight: 600; }

.article-figure { margin: 28px 0; }
.article-figure img { width: 100%; height: auto; border-radius: 10px; display: block; }
.article-figure figcaption { margin-top: 8px; font-size: 13px; color: var(--text-secondary); text-align: center; font-style: italic; }

.article-quote { border-left: 4px solid #0f766e; padding: 12px 20px; margin: 28px 0; background: #f0fdfa; font-size: 18px; font-style: italic; }
.article-quote cite { display: block; margin-top: 8px; font-size: 14px; font-style: normal; color: var(--text-secondary); }

.article-cta { margin: 32px 0; }

.article-download { margin: 28px 0; }
.article-download-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  text-decoration: none;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.article-download-card:hover { border-color: var(--green-50); box-shadow: var(--shadow); transform: translateY(-1px); }
.article-download-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--mint-light);
  color: var(--green);
}
.article-download-body { flex: 1; min-width: 0; }
.article-download-title { display: block; margin: 0 0 4px; font-size: 16px; font-weight: 600; color: var(--ink); }
.article-download-desc { margin: 0 0 6px; font-size: 14px; color: var(--muted); }
.article-download-meta { font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.article-download-arrow { flex-shrink: 0; color: var(--muted); transition: color .2s, transform .2s; }
.article-download-card:hover .article-download-arrow { color: var(--green); transform: translateX(3px); }

.article-highlight {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin: 28px 0;
  padding: 18px 22px;
  border-radius: 12px;
  border-left: 4px solid var(--info);
  background: rgba(75, 168, 230, 0.08);
}
.article-highlight-icon { flex-shrink: 0; color: var(--info); }
.article-highlight-title { margin: 0 0 4px; font-size: 16px; font-weight: 700; color: var(--ink); }
.article-highlight-text { margin: 0; font-size: 15px; line-height: 1.6; color: var(--ink); }

.article-highlight-warning { border-left-color: var(--warning); background: rgba(249, 185, 56, 0.12); }
.article-highlight-warning .article-highlight-icon { color: #b8790a; }

.article-highlight-success { border-left-color: var(--success); background: rgba(50, 183, 13, 0.08); }
.article-highlight-success .article-highlight-icon { color: var(--success); }

.article-highlight-error { border-left-color: var(--danger); background: rgba(237, 36, 36, 0.08); }
.article-highlight-error .article-highlight-icon { color: var(--danger); }

@media (max-width: 860px) {
  .article-layout { grid-template-columns: 1fr; }
  .toc { display: none; }
}

/* --- Hero plein avec cover en fond --- */
.article-hero-full {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center;
  color: #fff;
}
.article-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(4,52,44,.35) 0%, rgba(4,52,44,.82) 100%);
}
.article-hero-inner { position: relative; z-index: 1; padding: 48px 0; }
.article-hero-inner h1 { color: #fff; max-width: 800px; margin: 12px 0; }
.article-hero-date { opacity: .85; }

/* Fil d'Ariane */
.article-back {
  display: inline-flex; align-items: center; gap: 6px;
  color: #fff; opacity: .85; text-decoration: none; font-size: 14px;
  margin-bottom: 16px; transition: opacity .2s;
}
.article-back:hover { opacity: 1; }
.article-back .icon { font-size: 18px; }

/* Barre de partage en bas */
.article-share {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 16px;
  margin-top: 40px; padding-top: 24px;
  border-top: 1px solid var(--border, #e5e7eb);
}
.article-back-bottom {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--text-secondary); text-decoration: none; font-size: 14px;
}
.article-back-bottom:hover { color: #0f766e; }
.share-links { display: inline-flex; align-items: center; gap: 10px; }
.share-links > span { font-size: 13px; color: var(--text-secondary); text-transform: uppercase; letter-spacing: .5px; }

.share-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid var(--border, #e5e7eb); background: #fff;
  color: #0f766e; cursor: pointer; transition: all .2s;
}
.share-btn:hover { background: #0f766e; color: #fff; border-color: #0f766e; }
.share-btn.copied { background: #16a34a; color: #fff; border-color: #16a34a; }


.cta-h2 { margin-top: 32px; color: #5febc9 !important; }
/* La colonne de gauche regroupe sommaire + lire aussi */
.article-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 40px;
  align-items: start;
}
.article-sidebar {
  position: sticky;
  top: 100px;
  align-self: start;
}

/* --- Bloc "Lire aussi" --- */
.related-box {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--border, #e5e7eb);
}
.related-title {
  display: block;
  text-transform: uppercase;
  letter-spacing: .5px;
  font-size: 12px;
  color: var(--text-secondary);
  margin-bottom: 14px;
}
.related-item {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 10px 0;
  text-decoration: none;
  color: inherit;
  border-bottom: 1px solid var(--border, #f0f0f0);
  transition: opacity .2s;
}
.related-item:hover { opacity: .7; }
.related-thumb {
  flex: 0 0 56px;
  width: 56px;
  height: 56px;
  border-radius: 8px;
  overflow: hidden;
  background: #f3f4f6;
}
.related-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.related-text { display: flex; flex-direction: column; gap: 3px; }
.related-text strong {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.related-text small { font-size: 12px; color: var(--text-secondary); }

.related-all {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 14px;
  font-size: 13px;
  font-weight: 600;
  color: #0f766e;
  text-decoration: none;
}
.related-all .icon { font-size: 16px; }

/* Le sticky s'applique maintenant au conteneur entier */
.toc { position: static; max-height: none; overflow: visible; }

@media (max-width: 860px) {
  .article-layout { grid-template-columns: 1fr; }
  .article-sidebar { position: static; }
}

.resource-card { position: relative; }

.resource-card .resource-image { position: relative; }

.resource-card .featured-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(120deg, #0f766e, #14b8a6, #0f766e, #0d9488);
  background-size: 300% 100%;
  animation: badge-gradient 4s ease infinite;
  box-shadow: 0 4px 14px rgba(15, 118, 110, .35);
}
.resource-card .featured-badge svg {
  width: 14px;
  height: 14px;
  fill: #ffd54a;
  animation: star-spin 6s linear infinite;
}

@keyframes badge-gradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
@keyframes star-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
@media (prefers-reduced-motion: reduce) {
  .resource-card .featured-badge,
  .resource-card .featured-badge svg { animation: none; }
}
@view-transition {
  navigation: auto;
}