:root {
  --green: #93c01f;
  --green-dark: #638414;
  --ink: #1f2524;
  --muted: #65706d;
  --line: #dfe5dc;
  --soft: #f4f7ef;
  --white: #ffffff;
  --blue: #24596a;
  --blue-deep: #123846;
  --coral: #e0715f;
  --shadow: 0 22px 55px rgba(31, 37, 36, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding-bottom: 86px;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  width: 100%;
  min-height: 82px;
  padding: 14px clamp(20px, 5vw, 72px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand img {
  width: 188px;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  color: #313b39;
  font-size: 0.94rem;
}

.site-nav a,
.nav-group > button {
  position: relative;
  font: inherit;
  color: inherit;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.site-nav a:not(.nav-cta)::after {
  position: absolute;
  left: 0;
  bottom: -7px;
  width: 0;
  height: 2px;
  content: "";
  background: var(--green);
  transition: width 180ms ease;
}

.site-nav a:hover::after {
  width: 100%;
}

.nav-group {
  position: relative;
}

.nav-group > button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
}

.nav-group > button::after {
  width: 6px;
  height: 6px;
  content: "";
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}

.submenu {
  position: absolute;
  top: calc(100% + 18px);
  left: -18px;
  z-index: 30;
  display: grid;
  gap: 2px;
  min-width: 235px;
  padding: 10px;
  visibility: hidden;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 45px rgba(31, 37, 36, 0.13);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
}

.submenu::before {
  position: absolute;
  top: -18px;
  left: 0;
  width: 100%;
  height: 18px;
  content: "";
}

.submenu a {
  padding: 10px 12px;
  color: var(--ink);
  border-radius: 6px;
}

.submenu a:hover,
.submenu a:focus {
  background: var(--soft);
}

.submenu a::after,
.search-button::after {
  display: none;
}

.nav-group:hover .submenu,
.nav-group:focus-within .submenu {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

.search-button {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  font-size: 1rem;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 50%;
}

.nav-cta {
  padding: 10px 15px;
  color: var(--white);
  background: var(--ink);
  border-radius: 6px;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 10px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.menu-toggle span:not(.sr-only) {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
}

.section {
  width: 100%;
  max-width: 100vw;
  padding: clamp(68px, 9vw, 112px) clamp(20px, 5vw, 72px);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  gap: clamp(36px, 5vw, 76px);
  align-items: center;
  min-height: calc(100vh - 82px);
  background:
    linear-gradient(90deg, rgba(147, 192, 31, 0.12), rgba(255, 255, 255, 0) 48%),
    #fbfcf8;
}

.hero-content {
  max-width: 650px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green-dark);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 820px;
  margin-bottom: 24px;
  font-size: clamp(2.1rem, 4.25vw, 3.85rem);
  line-height: 1.08;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(1.75rem, 2.45vw, 2.75rem);
  line-height: 1.12;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.25rem;
  line-height: 1.2;
  letter-spacing: 0;
}

.hero-text {
  max-width: 720px;
  margin-bottom: 30px;
  color: #3f4a47;
  font-size: clamp(1.05rem, 1.6vw, 1.32rem);
}

.hero-actions,
.final-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  font-weight: 700;
  border: 1px solid transparent;
  border-radius: 6px;
  cursor: pointer;
}

.button.primary {
  color: #172012;
  background: var(--green);
}

.button.secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.78);
  border-color: var(--line);
}

.button.dark {
  width: 100%;
  color: var(--white);
  background: var(--ink);
}

.hero-panel {
  position: absolute;
  right: clamp(18px, 4vw, 40px);
  bottom: clamp(18px, 4vw, 40px);
  width: min(460px, calc(100% - 36px));
  min-width: 0;
  padding: clamp(20px, 3vw, 30px);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(223, 229, 220, 0.9);
  border-radius: 8px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.hero-visual {
  position: relative;
  min-height: clamp(520px, 62vh, 710px);
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(31,37,36,0.04), rgba(31,37,36,0.22)),
    url("assets/gedeas-hero-1600.jpg") center / cover no-repeat;
  border: 1px solid rgba(223, 229, 220, 0.9);
  border-radius: 8px;
  box-shadow: 0 28px 70px rgba(31, 37, 36, 0.14);
}

.panel-topline {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
  text-transform: uppercase;
}

.metric-card {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 15px;
  align-items: center;
  min-height: 78px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.metric-card span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--green-dark);
  font-weight: 800;
  background: var(--soft);
  border-radius: 50%;
}

.intro-grid,
.positioning,
.reassurance {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(34px, 6vw, 72px);
}

.oeth-intro {
  padding-block: clamp(54px, 7vw, 82px);
  background: var(--white);
}

.oeth-intro-content {
  max-width: 960px;
  padding: clamp(28px, 4vw, 44px);
  margin: 0 auto;
  background:
    linear-gradient(90deg, rgba(147, 192, 31, 0.11), rgba(255, 255, 255, 0) 62%),
    var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 48px rgba(31, 37, 36, 0.07);
}

.oeth-intro-content p {
  max-width: 820px;
  color: #3f4a47;
}

.oeth-intro-content ul {
  display: grid;
  gap: 10px;
  max-width: 680px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.oeth-intro-content li {
  position: relative;
  padding-left: 28px;
  color: var(--ink);
  font-weight: 700;
}

.oeth-intro-content li::before {
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 9px;
  height: 9px;
  content: "";
  background: var(--green);
  border-radius: 50%;
}

.hero-content,
.copy-block,
.section-heading,
.problem-grid,
.steps,
.solution-grid,
.diagnostic-card,
.contact-form,
.value-grid,
.faq-list {
  min-width: 0;
}

.problem-grid,
.solution-grid,
.steps {
  display: grid;
  gap: 18px;
}

.problem-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.problem-grid article,
.steps article,
.solution-grid article {
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.problem-grid span,
.steps span {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--green-dark);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.positioning,
.method,
.solutions,
.faq {
  background: var(--soft);
}

.copy-block p:not(.eyebrow),
.section-heading {
  max-width: 760px;
}

.focus-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.focus-list li {
  padding: 18px 20px;
  background: var(--white);
  border-left: 4px solid var(--green);
  border-radius: 6px;
  box-shadow: 0 12px 32px rgba(31, 37, 36, 0.07);
}

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

.steps {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.steps article {
  min-height: 240px;
}

.diagnostic {
  background: linear-gradient(135deg, var(--ink), #304846 58%, var(--blue));
}

.diagnostic-card {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(310px, 0.95fr);
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
  color: var(--white);
}

.diagnostic-card .eyebrow {
  color: #c6ee6a;
}

.diagnostic-card p {
  color: rgba(255,255,255,0.82);
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 28px;
  color: var(--ink);
  background: var(--white);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 7px;
  font-size: 0.9rem;
  font-weight: 700;
}

.contact-form input,
.contact-form select {
  min-height: 46px;
  padding: 10px 12px;
  font: inherit;
  color: var(--ink);
  background: #fbfcf8;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.form-note {
  min-height: 24px;
  margin: 0;
  color: var(--green-dark);
  font-size: 0.9rem;
  font-weight: 700;
}

.solution-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.solution-grid article {
  overflow: hidden;
  padding: 0 0 24px;
  background: var(--white);
}

.solution-grid img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--line);
}

.solution-grid h3,
.solution-grid p {
  padding-inline: 24px;
}

.solution-grid h3 {
  margin-top: 22px;
}

.value-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-content: start;
}

.value-grid span {
  padding: 12px 15px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 960px;
}

details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

summary {
  padding: 20px 22px;
  font-weight: 800;
  cursor: pointer;
}

details p {
  margin: 0;
  padding: 0 22px 22px;
  color: var(--muted);
}

.final-cta {
  display: grid;
  justify-items: center;
  text-align: center;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.92), rgba(255,255,255,0.84)),
    url("https://gedeas.fr/wp-content/uploads/image-dillustration-RSE-1024x1024.png") center / cover no-repeat;
}

.final-cta h2 {
  max-width: 980px;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  padding: 34px clamp(20px, 5vw, 72px);
  color: rgba(255,255,255,0.84);
  background: var(--ink);
}

.footer strong {
  color: var(--white);
  font-size: 1.15rem;
}

.footer p {
  margin: 6px 0 0;
}

.social-links {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.social-links a {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
}

.social-links a:hover,
.social-links a:focus {
  color: #172012;
  background: var(--green);
}

.footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: start;
  justify-content: flex-end;
}

.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 28px;
  z-index: 40;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  color: var(--white);
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1;
  background: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  box-shadow: 0 14px 34px rgba(31, 37, 36, 0.22);
}

.back-to-top:hover,
.back-to-top:focus {
  color: #172012;
  background: var(--green);
}

.phone-sticky {
  position: fixed;
  right: clamp(82px, 8vw, 118px);
  bottom: 18px;
  left: clamp(18px, 4vw, 56px);
  z-index: 45;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 2vw, 26px);
  min-height: 56px;
  padding: 10px 14px 10px 20px;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue-deep), #1b5265);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  box-shadow: 0 18px 48px rgba(18, 56, 70, 0.28);
}

.phone-number {
  color: var(--white);
  font-size: clamp(1.12rem, 1.7vw, 1.42rem);
  font-weight: 800;
  white-space: nowrap;
}

.phone-icon {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 34px;
  height: 34px;
  color: #172012;
  background: var(--green);
  border-radius: 50%;
}

.phone-icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.phone-separator {
  width: 1px;
  height: 22px;
  background: rgba(255, 255, 255, 0.28);
}

.phone-text {
  color: rgba(255, 255, 255, 0.86);
  font-weight: 700;
  white-space: nowrap;
}

.phone-call-mobile {
  display: none;
}

@media (max-width: 900px) {
  body {
    padding-bottom: 78px;
  }

  .phone-sticky {
    right: 64px;
    bottom: 12px;
    left: 12px;
    gap: 10px;
    width: auto;
    max-width: none;
    min-height: 54px;
    padding: 8px 16px;
    border-radius: 999px;
    transform: none;
  }

  .phone-separator,
  .phone-text,
  .phone-call-mobile {
    display: none;
  }

  .phone-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    font-size: 1.16rem;
  }

  .phone-icon {
    width: 32px;
    height: 32px;
  }

  .back-to-top {
    right: 12px;
    bottom: 16px;
    width: 40px;
    height: 40px;
  }

  body.menu-open .phone-sticky,
  body.menu-open .back-to-top {
    display: none;
  }
}

@media (max-width: 900px) {
  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 82px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    max-height: calc(100vh - 82px);
    padding: 12px 20px 20px;
    overflow-y: auto;
    overscroll-behavior: contain;
    background: var(--white);
    border-bottom: 1px solid var(--line);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 13px 0;
  }

  .nav-group {
    border-top: 1px solid var(--line);
  }

  .nav-group > button {
    width: 100%;
    justify-content: space-between;
    padding: 13px 0;
  }

  .submenu {
    position: static;
    display: grid;
    min-width: 0;
    padding: 0 0 10px 14px;
    visibility: visible;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    opacity: 1;
    transform: none;
  }

  .submenu::before {
    display: none;
  }

  .submenu a {
    padding: 8px 0;
    color: var(--muted);
  }

  .search-button {
    width: 42px;
    height: 42px;
    margin-top: 10px;
    padding: 0;
  }

  .nav-cta {
    margin-top: 8px;
    padding-inline: 14px;
    text-align: center;
  }

  .hero,
  .intro-grid,
  .positioning,
  .diagnostic-card,
  .reassurance {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 70px;
    overflow: hidden;
  }

  .hero-content {
    max-width: 720px;
  }

  .hero-visual {
    min-height: 560px;
  }

  .steps,
  .solution-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .site-header {
    min-height: 72px;
  }

  .brand img {
    width: 150px;
  }

  .site-nav {
    top: 72px;
    max-height: calc(100vh - 72px);
  }

  .section {
    padding-block: 56px;
  }

  h1 {
    font-size: 1.95rem;
    line-height: 1.12;
  }

  h2 {
    font-size: 1.72rem;
    line-height: 1.14;
  }

  .eyebrow,
  h1,
  h2,
  h3,
  p,
  a,
  summary,
  strong {
    overflow-wrap: anywhere;
  }

  .problem-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions .button,
  .final-cta .button {
    width: 100%;
  }

  .hero-content,
  .hero-panel,
  .hero-visual,
  .diagnostic-card,
  .contact-form,
  .problem-grid article,
  .steps article,
  .solution-grid article {
    width: 100%;
    max-width: calc(100vw - 40px);
  }

  .hero-visual {
    min-height: 460px;
    background-position: center;
  }

  .hero-panel {
    right: 16px;
    bottom: 16px;
    width: calc(100% - 32px);
  }

  .metric-card {
    min-height: 68px;
    padding: 14px 0;
  }

  .contact-form {
    padding: 22px;
  }

  .footer {
    display: grid;
  }

  .footer nav {
    justify-content: flex-start;
  }

  body {
    padding-bottom: 78px;
  }

  .phone-sticky {
    right: 64px;
    bottom: 12px;
    left: 12px;
    display: flex;
    min-height: 54px;
    padding: 8px 16px;
    border-radius: 999px;
    transform: none;
  }

  .phone-separator,
  .phone-text,
  .phone-call-mobile {
    display: none;
  }

  .phone-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    min-height: 34px;
    font-size: 1.16rem;
  }

  .back-to-top {
    right: 12px;
    bottom: 16px;
    width: 40px;
    height: 40px;
  }

  body.menu-open .phone-sticky,
  body.menu-open .back-to-top {
    display: none;
  }
}
