:root {
  --ink: #111827;
  --navy: #101a2e;
  --navy-2: #17243d;
  --muted: #5f6b7c;
  --line: #dfe5eb;
  --soft: #f4f7f8;
  --soft-green: #ecf7f3;
  --surface: #ffffff;
  --green: #15856d;
  --green-dark: #0e6554;
  --green-light: #7ad2bd;
  --radius: 24px;
  --shadow: 0 24px 60px rgba(15, 23, 42, 0.09);
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input {
  font: inherit;
}
.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(223, 229, 235, 0.85);
}
.nav-wrap {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 23px;
  font-weight: 800;
  letter-spacing: -0.04em;
}
.brand-symbol {
  width: 43px;
  height: 43px;
  color: var(--green);
  overflow: visible;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 15px;
  font-weight: 700;
}
.main-nav > a:not(.button) {
  position: relative;
  padding: 10px 2px;
  color: var(--muted);
  transition: color 0.2s ease;
}

.main-nav > a:not(.button)::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 3px;
  left: 0;
  height: 2px;
  border-radius: 999px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease;
}

.main-nav > a:not(.button):hover {
  color: var(--ink);
}

.main-nav > a.active:not(.button),
.main-nav > a[aria-current="page"]:not(.button),
.main-nav > a[aria-current="location"]:not(.button) {
  color: var(--green-dark);
}

.main-nav > a.active:not(.button)::after,
.main-nav > a[aria-current="page"]:not(.button)::after,
.main-nav > a[aria-current="location"]:not(.button)::after {
  transform: scaleX(1);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 23px;
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  font-weight: 800;
  box-shadow: 0 12px 28px rgba(21, 133, 109, 0.2);
  border: 0;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    background 0.2s ease;
}
.button:hover {
  background: var(--green-dark);
  transform: translateY(-1px);
}
.button-small {
  min-height: 40px;
  padding: 0 18px;
  font-size: 14px;
}
.button-light {
  background: #fff;
  color: var(--navy);
  box-shadow: none;
}
.button-light:hover {
  background: #edf4f2;
}
.text-link {
  color: var(--green-dark);
  font-weight: 800;
}
button.text-link {
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

.hero {
  overflow: hidden;
  padding: 96px 0 88px;
  background:
    radial-gradient(
      circle at 82% 18%,
      rgba(117, 213, 189, 0.22),
      transparent 27%
    ),
    linear-gradient(180deg, #fff 0%, #f8fafb 100%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 40px;
  align-items: center;
}
h1,
h2,
h3 {
  margin-top: 0;
  line-height: 1.08;
  letter-spacing: -0.045em;
}
h1 {
  margin-bottom: 28px;
  font-size: clamp(46px, 4.5vw, 64px);
}
h2 {
  margin-bottom: 20px;
  font-size: clamp(34px, 4.2vw, 56px);
}
h3 {
  margin-bottom: 12px;
  font-size: 23px;
}
p {
  margin-top: 0;
}
.hero-lead {
  max-width: 735px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.7;
}
.hero-agent {
  max-width: 710px;
  margin-bottom: 33px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 650;
  line-height: 1.6;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.hero-visual {
  position: relative;
  min-height: 0;
  display: block;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: var(--shadow);
}
.hero-visual img {
  display: block;
  width: 100%;
  height: auto;
}

.hero-visual-button {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
}

.hero-visual-button img {
  display: block;
  width: 100%;
  height: auto;
}

.image-modal {
  width: min(94vw, 1400px);
  max-height: 92vh;
  padding: 18px;
  border: 0;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 30px 90px rgba(15, 23, 42, 0.28);
}

.image-modal::backdrop {
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(5px);
}

.image-modal img {
  display: block;
  width: 100%;
  max-height: calc(92vh - 36px);
  height: auto;
  object-fit: contain;
  border-radius: 14px;
}

.image-modal-close {
  position: absolute;
  top: 10px;
  right: 12px;
  z-index: 1;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.82);
  color: #fff;
  font-size: 27px;
  line-height: 1;
  cursor: pointer;
}

.commitments {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.commitments-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.commitments article {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  min-height: 138px;
  padding: 26px 22px;
  border-right: 1px solid var(--line);
}
.commitments article:last-child {
  border-right: 0;
}
.commitment-icon {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 11px;
  color: var(--green-dark);
  background: var(--soft-green);
  font-weight: 900;
}
.commitments h2 {
  margin: 1px 0 7px;
  font-size: 17px;
  letter-spacing: -0.02em;
}
.commitments p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.section {
  padding: 104px 0;
}
.section-heading {
  max-width: 900px;
  margin-bottom: 50px;
}
.section-heading > p:last-child,
.collaboration-intro > p:last-child {
  max-width: 800px;
  color: var(--muted);
  font-size: 18px;
}
.eyebrow {
  margin: 0 0 15px;
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.eyebrow.light {
  color: #8ee3cf;
}

.access-section {
  background: var(--soft);
}

.access-section .section-heading {
  margin-bottom: 34px;
}

.access-overview {
  margin: 0 0 34px;
  overflow: hidden;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 14px 42px rgba(15, 23, 42, 0.06);
}

.access-overview img {
  display: block;
  width: 100%;
  height: auto;
}
.experience-heading {
  max-width: 760px;
  margin: 56px 0 28px;
}

.experience-heading h3 {
  margin-bottom: 0;
  font-size: clamp(26px, 3vw, 36px);
}
.experience-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}
.experience-card {
  flex: 0 1 calc((100% - 48px) / 3);
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 12px 38px rgba(15, 23, 42, 0.05);
}

.experience-copy {
  flex: 1;
  padding: 24px 25px 27px;
}

.experience-copy h3 {
  font-size: 20px;
}

.experience-copy p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.collaboration-section {
  background: #fff;
}
.collaboration-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 60px 70px;
  align-items: start;
}
.collaboration-intro {
  position: sticky;
  top: 120px;
}
.roles-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.role-card {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.05);
}
.client-role {
  background: #f8fafb;
}
.oqovia-role {
  color: #fff;
  background: linear-gradient(145deg, var(--green), #0b5360 62%, var(--navy));
  border-color: transparent;
}
.role-label {
  display: inline-flex;
  margin-bottom: 28px;
  padding: 7px 10px;
  border-radius: 999px;
  color: var(--green-dark);
  background: var(--soft-green);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.oqovia-role .role-label {
  color: white;
  background: rgba(255, 255, 255, 0.14);
}
.role-card p {
  color: var(--muted);
}
.oqovia-role p {
  color: rgba(255, 255, 255, 0.78);
}
.role-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}
.role-tags span {
  padding: 6px 9px;
  border: 1px solid #d7e0e6;
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
}
.oqovia-role .role-tags span {
  color: white;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.22);
}
.dashboard-note {
  grid-column: 2;
  display: grid;
  grid-template-columns: 270px 1fr;
  gap: 28px;
  align-items: center;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--soft-green);
}
.dashboard-note p {
  margin-bottom: 0;
  color: var(--muted);
}
.dashboard-mini {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  padding: 13px;
  border-radius: 14px;
  background: white;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
}
.metric {
  padding: 9px;
  border-radius: 9px;
  background: #f6f8fa;
}
.metric span,
.metric i {
  display: block;
  color: var(--muted);
  font-size: 8px;
  font-style: normal;
}
.metric b {
  display: block;
  margin: 3px 0;
  font-size: 17px;
}
.metric i {
  color: var(--green-dark);
}
.mini-chart {
  grid-column: 1 / -1;
  height: 72px;
  display: flex;
  align-items: end;
  gap: 6px;
  padding: 10px;
  border-radius: 9px;
  background: #f6f8fa;
}
.mini-chart span {
  flex: 1;
  border-radius: 4px 4px 0 0;
  background: linear-gradient(180deg, var(--green-light), var(--green));
}

.durable-section {
  color: #fff;
  background: var(--navy);
}
.durable-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 80px;
  align-items: start;
}
.durable-copy {
  color: #bdc7d4;
  font-size: 18px;
}
.durable-copy blockquote {
  margin: 32px 0;
  padding: 23px 25px;
  border-left: 3px solid var(--green-light);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 20px;
  font-weight: 750;
}
.proof-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.proof-list span {
  padding: 8px 11px;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 999px;
  color: #d8e2ec;
  font-size: 12px;
  font-weight: 750;
}

.cta-section {
  padding: 0 0 100px;
  background: var(--navy);
}
.cta-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 38px;
  padding: 48px;
  border-radius: 28px;
  color: #fff;
  background: linear-gradient(135deg, var(--green), #0a5264 62%, #17243a);
}
.cta-box h2 {
  max-width: 820px;
  margin-bottom: 0;
}

.site-footer {
  padding: 34px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 30px;
  align-items: start;
}
.site-footer strong {
  color: var(--ink);
  font-size: 17px;
}
.site-footer p {
  margin: 4px 0 0;
}
.site-footer a:hover {
  color: var(--ink);
}
.footer-right {
  display: flex;
  justify-content: flex-end;
  gap: 18px;
}

.footer-contact-link {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

.footer-contact-link:hover {
  color: var(--ink);
}

@media (max-width: 1040px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-copy {
    max-width: 850px;
  }
  .hero-visual {
    max-width: 820px;
  }
  .commitments-grid {
    grid-template-columns: 1fr 1fr;
  }
  .commitments article:nth-child(2) {
    border-right: 0;
  }
  .commitments article:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }
  .collaboration-grid {
    grid-template-columns: 1fr;
  }
  .collaboration-intro {
    position: static;
  }
  .dashboard-note {
    grid-column: 1;
  }
  .durable-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }
  .experience-card {
    flex-basis: calc((100% - 24px) / 2);
  }
}

.contact-modal {
  width: min(92vw, 760px);
  padding: 0;
  border: 0;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 30px 90px rgba(15, 23, 42, 0.3);
}

.contact-modal::backdrop {
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(5px);
}

.contact-modal-content {
  padding: 52px;
}

.contact-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.84);
  color: #fff;
  font-size: 27px;
  line-height: 1;
  cursor: pointer;
}

@media (max-width: 600px) {
  .contact-modal-content {
    padding: 44px 24px 30px;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(100% - 28px, 1180px);
  }
  .site-header {
    position: static;
  }
  .nav-wrap {
    padding: 13px 0;
  }
  .main-nav {
    gap: 14px;
    font-size: 14px;
  }
  .main-nav .button {
    display: none;
  }
  .hero {
    padding: 64px 0 68px;
  }
  .experience-card {
    flex-basis: 100%;
  }
  h1 {
    font-size: 48px;
  }
  .hero-lead {
    font-size: 18px;
  }
  .hero-visual {
    min-height: auto;
    padding: 8px;
  }
  .experience-heading {
    margin: 40px 0 22px;
  }

  .experience-heading h3 {
    font-size: 28px;
  }
  .commitments-grid,
  .roles-grid {
    grid-template-columns: 1fr;
  }
  .commitments article {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .commitments article:last-child {
    border-bottom: 0;
  }

  .section {
    padding: 76px 0;
  }
  .section-heading {
    margin-bottom: 36px;
  }
  .access-section .section-heading {
    margin-bottom: 26px;
  }

  .access-overview {
    margin-bottom: 24px;
    border-radius: 16px;
  }

  .access-overview img {
    width: 140%;
    max-width: none;
    transform: translateX(-14%);
  }
  .dashboard-note {
    grid-template-columns: 1fr;
  }
  .dashboard-mini {
    max-width: 330px;
  }
  .durable-copy {
    font-size: 17px;
  }
  .cta-box {
    align-items: flex-start;
    flex-direction: column;
    padding: 35px 26px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-right {
    justify-content: flex-start;
  }
}

@media (max-width: 480px) {
  .brand {
    font-size: 20px;
  }
  .brand-symbol {
    width: 38px;
    height: 38px;
  }
  .main-nav a:nth-child(2) {
    display: none;
  }
  h1 {
    font-size: 41px;
  }
  h2 {
    font-size: 34px;
  }
  .experience-illustration {
    min-height: 260px;
    padding: 16px;
  }
}

/* v5 — logo Oqovia et illustrations éditoriales */
.brand {
  gap: 0;
}
.brand img {
  display: block;
  width: 172px;
  height: auto;
}

.experience-media {
  min-height: 0;
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  padding: 18px;
  overflow: hidden;
  background: linear-gradient(145deg, #eef8f5, #edf2f7);
}

.experience-media img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: contain;
  border-radius: 15px;
  filter: drop-shadow(0 14px 24px rgba(15, 23, 42, 0.08));
}

.experience-media-phone img {
  width: auto;
  max-width: 74%;
  max-height: 100%;
}
.footer-brand img {
  display: block;
  width: 150px;
  height: auto;
  margin-bottom: 5px;
}
.footer-brand p {
  margin-top: 0;
}

@media (max-width: 760px) {
  .brand img {
    width: 150px;
  }

  .experience-media {
    min-height: 0px;
    padding: 17px;
  }
}

@media (max-width: 480px) {
  .brand img {
    width: 136px;
  }
  .experience-media {
    min-height: 0px;
    padding: 12px;
  }
  .experience-media img {
    border-radius: 11px;
  }
}

.contact-form {
  display: grid;
  gap: 18px;
  margin-top: 30px;
}

.contact-field {
  display: grid;
  gap: 7px;
}

.contact-field label {
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

.contact-field input,
.contact-field textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid #cfd8e1;
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

.contact-field input {
  min-height: 48px;
}

.contact-field textarea {
  min-height: 160px;
  resize: vertical;
}

.contact-field input:focus,
.contact-field textarea:focus {
  border-color: var(--green);
  outline: none;
  box-shadow: 0 0 0 4px rgba(21, 133, 109, 0.12);
}

.contact-submit {
  justify-self: start;
  border: 0;
  cursor: pointer;
}

.contact-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.contact-form-status {
  padding: 13px 15px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
}

.contact-form-status-success {
  border: 1px solid rgba(21, 133, 109, 0.24);
  background: var(--soft-green);
  color: var(--green-dark);
}

.contact-form-status-error {
  border: 1px solid rgba(185, 28, 28, 0.2);
  background: #fff1f1;
  color: #991b1b;
}
