/* ============================================
   CIME AVOCATS — PAGE REJOIGNEZ-NOUS
   Design System: /cime-brand-guidelines
   ============================================ */

/* --- FONT FACE — Mermaid (Serif headings) --- */
@font-face {
  font-family: "Mermaid";
  src:
    url("fonts/mermaid1001-webfont.woff2") format("woff2"),
    url("fonts/mermaid1001-webfont.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* --- CUSTOM PROPERTIES --- */
:root {
  /* Brand colors */
  --cime-green: #043429;
  --cime-green-hover: #032a21;
  --cime-green-deep: #021e18;
  --cime-orange: #ea7549;
  --cime-orange-hover: #d4623a;
  --cime-orange-light: #f8d1c2;
  --cime-peach: #ffaf92;

  /* Neutrals */
  --white: #ffffff;
  --bg-light: #f6f6f6;
  --bg-light-2: #f5f5f5;
  --border: #dddddd;
  --text-muted: #999999;
  --text-secondary: #777777;
  --text-body: #333333;
  --text-dark: #444444;

  /* Typography */
  --font-family: "Gotham Book", "Gotham", Arial, Helvetica, sans-serif;
  --font-heading: "Mermaid", Georgia, "Times New Roman", serif;
  --font-weight-regular: 400;
  --font-weight-semi: 600;

  /* Spacing */
  --cime-container-max: 1400px;
  --section-padding: 5.06rem;
  --gap: 30px;

  /* Shadows */
  --shadow-natural: 6px 6px 9px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 12px 32px rgba(4, 52, 41, 0.12);
  --shadow-card: 0 2px 12px rgba(4, 52, 41, 0.06);
}

/* --- RESET & BASE --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-family);
  font-weight: var(--font-weight-regular);
  font-size: 16px;
  line-height: 1.4;
  color: var(--text-body);
  background: var(--white);
}

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

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

ul {
  list-style: none;
}

/* --- cime-container --- */
.cime-container {
  max-width: var(--cime-container-max);
  margin: 0 auto;
  padding: 0;
}

.transparent-bg {
  background: transparent !important;
}
/* ============================================
   TOP BAR
   ============================================ */
.site-topbar {
  background: var(--cime-green);
  color: rgba(255, 255, 255, 0.75);
  font-size: 12px;
  padding: 0 40px;
}

.site-topbar__inner {
  max-width: var(--cime-container-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 34px;
  gap: 16px;
}

.site-topbar__address {
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-topbar__contacts {
  display: flex;
  align-items: center;
  gap: 10px;
}

.site-topbar__contacts a {
  color: rgba(255, 255, 255, 0.75);
  transition: color 200ms ease;
}

.site-topbar__contacts a:hover {
  color: var(--cime-peach);
}

.site-topbar__sep {
  opacity: 0.4;
}

/* ============================================
   HEADER
   ============================================ */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(4, 52, 41, 0.06);
}

.site-header__inner {
  max-width: var(--cime-container-max);
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  height: 85px;
  gap: 40px;
}

.site-header__logo img {
  height: 58px;
  width: auto;
}

.site-nav {
  margin-left: auto;
}

.site-nav__list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav__link {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: var(--font-weight-semi);
  color: var(--cime-green);
  white-space: nowrap;
  transition: color 200ms ease;
  border-radius: 4px;
}

.site-nav__link:hover {
  color: var(--cime-orange);
}

.site-nav__link--encheres {
  background: var(--cime-green);
  color: var(--white);
  border-radius: 9999px;
  padding: 8px 16px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-left: 8px;
}

.site-nav__link--encheres:hover {
  background: var(--cime-green-hover);
  color: var(--white);
}

/* Dropdown */
.site-nav__item--dropdown {
  position: relative;
}

.site-nav__dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: 0 8px 24px rgba(4, 52, 41, 0.12);
  min-width: 220px;
  z-index: 200;
  padding: 8px 0;
}

.site-nav__item--dropdown:hover .site-nav__dropdown {
  display: block;
}

.site-nav__dropdown li a {
  display: block;
  padding: 8px 20px;
  font-size: 13px;
  font-weight: var(--font-weight-regular);
  color: var(--cime-green);
  transition: all 200ms ease;
}

.site-nav__dropdown li a:hover {
  background: var(--bg-light);
  color: var(--cime-orange);
  padding-left: 26px;
}

/* Burger mobile */
.site-header__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
}

.site-header__burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--cime-green);
  transition: all 300ms ease;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--white);
  color: var(--text-body);
  font-size: 14px;
  box-shadow: 0px 0px 5.52px 0.48px rgba(0, 0, 0, 0.35);
}

.site-footer__widgets {
  padding: 40px;
}

.site-footer__inner {
  max-width: var(--cime-container-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.8fr 1fr;
  gap: 60px;
  align-items: center;
}

.site-footer__logo {
  display: inline-block;
  margin-bottom: 15px;
}

.site-footer__logo img {
  width: 130px;
  height: auto;
}

.site-footer__address {
  margin-bottom: 10px;
  line-height: 1.4em;
}

.site-footer__city {
  font-size: 14px;
  font-weight: bold;
  color: var(--text-body);
  margin-bottom: 2px;
}

.site-footer__col p {
  font-size: 14px;
  line-height: 1.4em;
  color: var(--text-body);
}

.site-footer__heading {
  font-family: var(--font-family);
  font-size: 16px;
  font-weight: var(--font-weight-semi);
  color: var(--cime-orange);
  margin-bottom: 10px;
}

.site-footer__expertises {
  display: flex;
  gap: 0 15px;
}

.site-footer__links {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.site-footer__links li {
  line-height: 1.1em;
  margin-bottom: 5px;
}

.site-footer__links a {
  color: #1d1d1b;
  font-size: 14px;
  transition: color 200ms ease;
}

.site-footer__links a:hover {
  color: var(--cime-orange);
}

.site-footer__col--contact {
  text-align: right;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.site-footer__col--contact .site-footer__heading {
  font-size: 24px;
  display: block;
  margin-bottom: 10px;
}

.site-footer__contact-link {
  display: block;
  color: #333333;
  font-size: 14px;
  margin-bottom: 4px;
  transition: color 200ms ease;
}

.site-footer__contact-link:hover {
  color: var(--cime-orange);
}

/* Barre du bas — fond vert foncé */
.site-footer__bar {
  background: var(--cime-green);
  padding: 8px 40px;
}

.site-footer__bar-inner {
  max-width: var(--cime-container-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  gap: 20px;
}

.site-footer__bar-inner a {
  color: rgba(255, 255, 255, 0.7);
  transition: color 200ms ease;
}

.site-footer__bar-inner a:hover {
  color: var(--white);
}

/* ============================================
   RESPONSIVE — Header & Footer
   ============================================ */
@media (max-width: 1024px) {
  .site-nav__link--encheres {
    display: none;
  }
}

@media (max-width: 768px) {
  .site-topbar {
    display: none;
  }

  .site-header__inner {
    padding: 0 24px;
  }

  .site-header__burger {
    display: flex;
  }

  .site-nav {
    display: none;
    position: fixed;
    top: 85px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--white);
    padding: 24px;
    overflow-y: auto;
    z-index: 99;
  }

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

  .site-nav__list {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }

  .site-nav__link {
    padding: 14px 0;
    font-size: 16px;
    border-bottom: 1px solid var(--border);
    width: 100%;
  }

  .site-nav__dropdown {
    position: static;
    box-shadow: none;
    border: none;
    border-left: 2px solid var(--cime-orange-light);
    margin-left: 16px;
    padding: 4px 0;
  }

  .site-nav__item--dropdown:hover .site-nav__dropdown {
    display: none;
  }

  .site-footer__inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .site-footer__col--contact {
    text-align: left;
  }

  .site-footer__expertises {
    grid-template-columns: 1fr 1fr;
  }

  .site-footer__widgets {
    padding: 40px 24px;
  }

  .site-footer__bar {
    padding: 12px 24px;
  }

  .site-footer__bar-inner {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }
}

/* --- SECTION BASE --- */
.section {
  padding: var(--section-padding) 0;
}

.section--white {
  background: var(--white);
}

.section--light {
  background: var(--bg-light);
}

.section--dark {
  background: var(--cime-green);
  color: var(--white);
}

/* --- SECTION HEADER --- */
.section__header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3.38rem;
}

.section__tag {
  display: inline-block;
  font-size: 12px;
  font-weight: var(--font-weight-semi);
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--cime-orange);
  margin-bottom: 1rem;
}

.section__title {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: normal;
  color: var(--cime-green);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.section--dark .section__title {
  color: var(--white);
}

.section__subtitle {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-family);
  font-weight: var(--font-weight-semi);
  cursor: pointer;
  transition: all 300ms ease;
  border: none;
}

.btn--primary {
  background: var(--cime-green);
  color: var(--white);
  border-radius: 9999px;
  padding: calc(0.667em + 2px) calc(1.333em + 2px);
  font-size: 1.125em;
}

.btn--primary:hover {
  background: var(--cime-green-hover);
  box-shadow: 0 8px 24px rgba(4, 52, 41, 0.3);
  transform: translateY(-1px);
}

.btn--orange {
  background: var(--cime-orange);
  color: white !important;
}

.btn--orange:hover {
  background: var(--cime-orange-hover);
  box-shadow: 0 8px 24px rgba(234, 117, 73, 0.35);
}

.btn--full {
  width: 100%;
  justify-content: center;
  padding: 1em 2em;
  font-size: 1em;
}

.btn__arrow {
  transition: transform 300ms ease;
}

.btn:hover .btn__arrow {
  transform: translateX(4px);
}

.btn--outline {
  background: transparent;
  color: var(--cime-orange);
  border: 2px solid var(--cime-orange);
  padding: 10px 18px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn--outline:hover {
  background: var(--cime-orange);
  color: var(--white);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cime-green);
  overflow: hidden;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse at 20% 80%,
      rgba(234, 117, 73, 0.08) 0%,
      transparent 50%
    ),
    radial-gradient(
      ellipse at 80% 20%,
      rgba(255, 175, 146, 0.05) 0%,
      transparent 50%
    );
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  padding: 100px 40px 80px;
  text-align: center;
}

/* Breadcrumb */
.breadcrumb {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 2rem;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.6);
  transition: color 200ms;
}

.breadcrumb a:hover {
  color: var(--cime-orange);
}

.breadcrumb__sep {
  margin: 0 8px;
}

.breadcrumb__current {
  color: rgba(255, 255, 255, 0.9);
}

/* Hero title */
.hero__title {
  font-family: var(--font-heading);
  font-size: 52px;
  font-weight: normal;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 1.5rem;
}

.hero__title-accent {
  display: block;
  color: var(--cime-peach);
}

.hero__bar {
  width: 60px;
  height: 3px;
  background: var(--cime-orange);
  margin: 0 auto 1.5rem;
  border-radius: 2px;
}

.hero__subtitle {
  font-size: 18px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 2.5rem;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================
   VALUES SECTION
   ============================================ */
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap);
  padding: 0 40px;
}

.value-card {
  background: var(--bg-light);
  padding: 36px 28px;
  border-radius: 4px;
  transition: all 400ms ease;
  position: relative;
}

.value-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--cime-orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 400ms ease;
}

.value-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}

.value-card:hover::before {
  transform: scaleX(1);
}

.value-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(4, 52, 41, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cime-green);
  margin-bottom: 1.25rem;
  transition: all 300ms ease;
}

.value-card:hover .value-card__icon {
  background: var(--cime-green);
  color: var(--white);
}

.value-card__title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: normal;
  color: var(--cime-green);
  margin-bottom: 0.75rem;
}

.value-card__text {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* ============================================
   PROFILE CARDS
   ============================================ */
.profiles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.profile-card {
  background: var(--white);
  padding: 40px 36px;
  border: 1px solid var(--border);
  position: relative;
  transition: all 400ms ease;
}

.profile-card:hover {
  border-color: var(--cime-orange-light);
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}

.profile-card--featured {
  border-color: var(--cime-orange);
  border-width: 2px;
}

.profile-card__badge {
  position: absolute;
  top: -1px;
  right: 24px;
  background: var(--cime-orange);
  color: var(--white);
  font-size: 11px;
  font-weight: var(--font-weight-semi);
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 6px 14px;
}

.profile-card__header {
  margin-bottom: 1.25rem;
}

.profile-card__number {
  font-size: 42px;
  font-weight: var(--font-weight-semi);
  color: var(--cime-orange-light);
  line-height: 1;
  display: block;
  margin-bottom: 0.75rem;
}

.profile-card__title {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: normal;
  color: var(--cime-green);
  margin-bottom: 0.5rem;
}

.profile-card__subtitle {
  font-size: 14px;
  font-weight: var(--font-weight-semi);
  color: var(--cime-orange);
}

.profile-card__divider {
  width: 40px;
  height: 2px;
  background: var(--cime-orange);
  margin-bottom: 1.25rem;
}

.profile-card__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-left: 0 !important;
}

.profile-card__list li {
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-secondary);
  padding-left: 20px;
  position: relative;
  list-style: none !important;
}

.profile-card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 6px;
  height: 6px;
  border: 1.5px solid var(--cime-orange);
  border-radius: 50%;
}

/* ============================================
   PROCESS STEPS
   ============================================ */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}

.process-step {
  text-align: center;
  padding: 0 24px;
  position: relative;
}

.process-step__number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--cime-green);
  color: var(--white);
  font-size: 20px;
  font-weight: var(--font-weight-semi);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  position: relative;
  z-index: 2;
  transition: all 300ms ease;
}

.process-step:hover .process-step__number {
  background: var(--cime-orange);
  transform: scale(1.1);
}

.process-step__connector {
  position: absolute;
  top: 28px;
  left: calc(50% + 28px);
  right: calc(-50% + 28px);
  height: 2px;
  background: var(--border);
  z-index: 1;
}

.process-step__title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: normal;
  color: var(--cime-green);
  margin-bottom: 0.5rem;
}

.process-step__text {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 220px;
  margin: 0 auto;
}

/* ============================================
   FORM
   ============================================ */
.form {
  max-width: 700px;
  margin: 0 auto;
  background: var(--white);
  padding: 48px;
  border: 1px solid var(--border);
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.form__field {
  margin-bottom: 24px;
}

.form__label {
  display: block;
  font-size: 14px;
  font-weight: var(--font-weight-semi);
  color: var(--cime-green);
  margin-bottom: 8px;
}

.form__required {
  color: var(--cime-orange);
}

.form__input {
  width: 100%;
  padding: 14px 16px;
  font-family: var(--font-family);
  font-size: 14px;
  color: var(--text-body);
  background: var(--white);
  border: 1px solid var(--border);
  transition:
    border-color 300ms ease,
    box-shadow 300ms ease;
  appearance: none;
  -webkit-appearance: none;
}

.form__input:focus {
  outline: none;
  border-color: var(--cime-green);
  box-shadow: 0 0 0 3px rgba(4, 52, 41, 0.08);
}

.form__input::placeholder {
  color: var(--text-muted);
}

.form__select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23999' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 44px;
}

.form__textarea {
  resize: vertical;
  min-height: 140px;
}

/* Upload zone */
.form__upload {
  position: relative;
  border: 2px dashed var(--border);
  padding: 32px;
  text-align: center;
  cursor: pointer;
  transition: all 300ms ease;
}

.form__upload:hover,
.form__upload--dragover {
  border-color: var(--cime-orange);
  background: rgba(234, 117, 73, 0.03);
}

.form__upload-input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.form__upload-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  pointer-events: none;
}

.form__upload-text {
  font-size: 15px;
  font-weight: var(--font-weight-semi);
  color: var(--text-dark);
  margin-top: 8px;
}

.form__upload-hint {
  font-size: 13px;
  color: var(--text-muted);
}

.form__upload-hint span {
  color: var(--cime-orange);
  text-decoration: underline;
}

.form__upload-formats {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* Checkbox */
.form__field--checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.form__checkbox {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--cime-green);
  flex-shrink: 0;
}

.form__label--checkbox {
  font-size: 13px;
  font-weight: var(--font-weight-regular);
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 0;
}

.form__label--checkbox a {
  color: var(--cime-orange);
  text-decoration: underline;
}

.form__label--checkbox a:hover {
  color: var(--cime-orange-hover);
}

/* ============================================
   CTA BLOCK
   ============================================ */
.section--cta {
  padding: 4rem 0;
}

.cta-block {
  text-align: center;
}

.cta-block__title {
  font-family: var(--font-heading);
  font-size: 34px;
  font-weight: normal;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.cta-block__text {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1.5rem;
}

.cta-block__contacts {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.cta-block__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--cime-orange);
  font-size: 15px;
  font-weight: var(--font-weight-semi);
  transition: color 200ms;
}

.cta-block__link:hover {
  color: var(--cime-peach);
}

.cta-block__separator {
  color: rgba(255, 255, 255, 0.3);
}

.cta-block__addresses {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  flex-wrap: wrap;
}

.cta-block__dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
}

/* ============================================
   MESSAGES FORMULAIRE CANDIDATURE
   ============================================ */
.cime-form-success {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background: #f0faf7;
  border: 1px solid #a7d8c8;
  border-radius: 8px;
  padding: 28px 32px;
  margin: 0 auto 32px auto;
  max-width: 800px;
}

.cime-form-success__icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  background: var(--cime-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cime-form-success__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cime-form-success__title {
  margin: 0;
  font-size: 20px;
  font-weight: var(--font-weight-semi);
  color: var(--cime-green);
  line-height: 1.3;
}

.cime-form-success__text {
  margin: 0;
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.cime-form-error {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: #fff5f5;
  border: 1px solid #fca5a5;
  border-radius: 8px;
  padding: 20px 24px;
  margin-bottom: 24px;
  color: #b91c1c;
}

.cime-form-error svg {
  flex-shrink: 0;
  margin-top: 2px;
}

.cime-form-error strong {
  display: block;
  margin-bottom: 4px;
  font-size: 15px;
}

.cime-form-error p {
  margin: 0;
  font-size: 14px;
  color: #7f1d1d;
}

@media (max-width: 480px) {
  .cime-form-success {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 24px 20px;
  }

  .cime-form-success__icon {
    width: 44px;
    height: 44px;
  }
}

/* ============================================
   SCROLL REVEAL
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 600ms ease,
    transform 600ms ease;
}

.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delays for grids */
.value-card.reveal:nth-child(1) {
  transition-delay: 0ms;
}
.value-card.reveal:nth-child(2) {
  transition-delay: 100ms;
}
.value-card.reveal:nth-child(3) {
  transition-delay: 200ms;
}
.value-card.reveal:nth-child(4) {
  transition-delay: 300ms;
}

.profile-card.reveal:nth-child(1) {
  transition-delay: 0ms;
}
.profile-card.reveal:nth-child(2) {
  transition-delay: 120ms;
}
.profile-card.reveal:nth-child(3) {
  transition-delay: 240ms;
}

.process-step.reveal:nth-child(1) {
  transition-delay: 0ms;
}
.process-step.reveal:nth-child(2) {
  transition-delay: 100ms;
}
.process-step.reveal:nth-child(3) {
  transition-delay: 200ms;
}
.process-step.reveal:nth-child(4) {
  transition-delay: 300ms;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .process-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }

  .process-step__connector {
    display: none;
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 3.38rem;
  }

  .cime-container {
    padding: 0 24px;
  }

  .hero__title {
    font-size: 36px;
  }

  .hero__subtitle {
    font-size: 16px;
  }

  .hero__content {
    padding: 80px 24px 60px;
  }

  .section__title {
    font-size: 28px;
  }

  .values-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .profiles-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .process-steps {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .form {
    padding: 28px 20px;
  }

  .form__row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .cta-block__contacts {
    flex-direction: column;
    gap: 8px;
  }

  .cta-block__separator {
    display: none;
  }

  .cta-block__addresses {
    flex-direction: column;
    gap: 4px;
  }

  .cta-block__dot {
    display: none;
  }
}
