/* ========================= BASE ========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Montserrat", sans-serif;
  color: #111;
  background: #ffffff;
}

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

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

/* ========================= SHARED TITLES / UNDERLINES ========================= */
.cards-title-structural {
  margin: 0 0 10px;
  font-size: clamp(24px, 2.6vw, 44px);
  font-weight: 800;
  line-height: 1.15;
  text-transform: uppercase;
  color: #000;
}

.cards-underline-structural {
  width: clamp(44px, 4vw, 70px);
  height: 4px;
  margin: 0;
  border-radius: 2px;
  background: #fad659;
}

/* ========================= SHARED CARDS ========================= */
.cards-row-structural {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2.2vw, 26px);
  align-items: stretch;
}

.card-structural {
  width: 100%;
  min-width: 0;
  padding: clamp(22px, 2.6vw, 36px) clamp(18px, 2.2vw, 30px);
  border-radius: clamp(14px, 1.2vw, 18px);
  background: #fff;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.16);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
}

.card-structural:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.22);
}

.icon-wrapper-structural {
  width: clamp(52px, 4.2vw, 68px);
  height: clamp(52px, 4.2vw, 68px);
  margin: 0 auto clamp(12px, 1.6vw, 20px);
  border-radius: 50%;
  background: #fad659;
  display: grid;
  place-items: center;
}

.icon-number-structural {
  font-size: clamp(1.25rem, 1.6vw, 1.75rem);
  font-weight: 800;
  line-height: 1;
  color: #fff;
}

.card-title-structural {
  margin: clamp(14px, 1.6vw, 22px) 0 10px;
  font-size: clamp(1.05rem, 1.35vw, 1.4rem);
  font-weight: 800;
  line-height: 1.2;
  color: #000;
}

.card-text-structural {
  margin: 0;
  font-size: clamp(0.95rem, 1.05vw, 1.05rem);
  line-height: 1.6;
  color: #444;
  text-align: justify;
}

/* ========================= SHARED ARROWS ========================= */
.cards-arrow {
  width: 44px;
  height: 44px;
  border-radius: 4px;
  border: 2px solid #fad659;
  background: #fff6d6;
  color: #fad659;
  font-size: 20px;
  font-weight: 800;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  transition: background 0.2s ease, transform 0.15s ease, color 0.2s ease,
    border-color 0.2s ease;
}

.cards-arrow:hover {
  background: #fad659;
  color: #fff;
  transform: translateY(-2px);
  border-color: #fad659;
}

/* ========================= SHARED HOME SECTIONS ========================= */
.cards-section-structural,
.prestations-section-structural,
.cards-expertise-structural,
.ou-nous-trouver-structural,
.notre-histoire-structural {
  position: relative;
  isolation: isolate;
  margin: clamp(52px, 6vw, 102px) 0;
  padding: clamp(34px, 5vw, 78px) clamp(16px, 4vw, 64px);
}

.cards-section-structural::before,
.prestations-section-structural::before,
.cards-expertise-structural::before,
.ou-nous-trouver-structural::before,
.notre-histoire-structural::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  z-index: -1;
}

.cards-section-structural::before,
.cards-expertise-structural::before,
.notre-histoire-structural::before {
  background: #ffffff;
}

.prestations-section-structural::before,
.ou-nous-trouver-structural::before {
  background: #f5f5f2;
}

.cards-section-structural::after,
.cards-expertise-structural::after,
.notre-histoire-structural::after {
  content: "";
  position: absolute;
  top: calc(-1 * clamp(52px, 6vw, 102px));
  bottom: calc(-1 * clamp(52px, 6vw, 102px));
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  z-index: -1;
  pointer-events: none;
  opacity: 0.22;
  background-image: radial-gradient(circle at 2px 2px, rgba(28, 28, 28, 0.10) 0 2px, transparent 2.1px);
  background-size: 18px 18px;
  background-position: 0 0;
  -webkit-mask-image:
    linear-gradient(to right, transparent 0%, #000 12%, #000 88%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, #000 12%, #000 88%, transparent 100%);
  mask-image:
    linear-gradient(to right, transparent 0%, #000 12%, #000 88%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, #000 12%, #000 88%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
}

.prestations-section-structural::after,
.ou-nous-trouver-structural::after {
  content: "";
  position: absolute;
  top: -12px;
  bottom: -12px;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  z-index: -1;
  pointer-events: none;
  opacity: 0.20;
  background-image:
    repeating-linear-gradient(20deg, rgba(28, 74, 118, 0.18) 0 1px, transparent 1px 80px),
    repeating-linear-gradient(110deg, rgba(28, 74, 118, 0.18) 0 1px, transparent 1px 80px);
  -webkit-mask-image:
    linear-gradient(to bottom, transparent 0%, #000 12%, #000 88%, transparent 100%),
    linear-gradient(to right, transparent 0%, #000 6%, #000 94%, transparent 100%);
  mask-image:
    linear-gradient(to bottom, transparent 0%, #000 12%, #000 88%, transparent 100%),
    linear-gradient(to right, transparent 0%, #000 6%, #000 94%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
}

@media (max-width: 992px) {
  .cards-section-structural::after,
  .cards-expertise-structural::after,
  .notre-histoire-structural::after {
    display: none;
  }
}

/* ========================= SHARED PATTERNS (MISSIONS / TIMELINE) ========================= */
.nos-missions-structural::after {
  content: "";
  position: absolute;
  top: clamp(-102px, -6vw, -52px);
  bottom: clamp(-102px, -6vw, -52px);
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  z-index: -1;
  pointer-events: none;
  opacity: 0.22;
  background-image: radial-gradient(circle at 2px 2px, rgba(28, 28, 28, 0.10) 0 2px, transparent 2.1px);
  background-size: 18px 18px;
  background-position: 0 0;
  -webkit-mask-image:
    linear-gradient(to right, transparent 0%, #000 12%, #000 88%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, #000 12%, #000 88%, transparent 100%);
  mask-image:
    linear-gradient(to right, transparent 0%, #000 12%, #000 88%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, #000 12%, #000 88%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
}

.nos-missions-structural--alt::after {
  content: "";
  position: absolute;
  top: -12px;
  bottom: -12px;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  z-index: -1;
  pointer-events: none;
  opacity: 0.2;
  background-size: auto;
  background-position: center;
  background-image:
    repeating-linear-gradient(20deg, rgba(28, 74, 118, 0.18) 0 1px, transparent 1px 80px),
    repeating-linear-gradient(110deg, rgba(28, 74, 118, 0.18) 0 1px, transparent 1px 80px);
  -webkit-mask-image:
    linear-gradient(to bottom, transparent 0%, #000 12%, #000 88%, transparent 100%),
    linear-gradient(to right, transparent 0%, #000 6%, #000 94%, transparent 100%);
  mask-image:
    linear-gradient(to bottom, transparent 0%, #000 12%, #000 88%, transparent 100%),
    linear-gradient(to right, transparent 0%, #000 6%, #000 94%, transparent 100%);
}

@media (min-width: 981px) {
  .timeline-structural::after {
    content: "";
    position: absolute;
    top: clamp(-102px, -6vw, -52px);
    bottom: clamp(-102px, -6vw, -52px);
    left: 50%;
    width: 100vw;
    transform: translateX(-50%);
    z-index: -1;
    pointer-events: none;
    opacity: 0.22;
    background-image: radial-gradient(circle at 2px 2px, rgba(28, 28, 28, 0.10) 0 2px, transparent 2.1px);
    background-size: 18px 18px;
    background-position: 0 0;
    -webkit-mask-image:
      linear-gradient(to right, transparent 0%, #000 12%, #000 88%, transparent 100%),
      linear-gradient(to bottom, transparent 0%, #000 12%, #000 88%, transparent 100%);
    mask-image:
      linear-gradient(to right, transparent 0%, #000 12%, #000 88%, transparent 100%),
      linear-gradient(to bottom, transparent 0%, #000 12%, #000 88%, transparent 100%);
    -webkit-mask-composite: source-in;
    mask-composite: intersect;
  }
}


/* ========================= BREADCRUMB ========================= */
.breadcrumb-structural {
  background: #ffffff;
  padding: 14px clamp(16px, 4vw, 64px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.breadcrumb-shell-structural {
  max-width: 1500px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: #4a443d;
}

.breadcrumb-structural a {
  color: #2f2b27;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.breadcrumb-structural a:hover,
.breadcrumb-structural a:focus-visible {
  border-bottom-color: currentColor;
}

.breadcrumb-separator-structural {
  color: #b7ada1;
}

.breadcrumb-current-structural {
  color: #6a625b;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

@media (max-width: 768px) {
  .breadcrumb-shell-structural {
    font-size: 12.5px;
    gap: 6px;
  }
}

/* ========================= AOS ========================= */
:root {
  --aos-ease-structural: cubic-bezier(0.22, 1, 0.36, 1);
}

[data-aos] {
  transition-timing-function: var(--aos-ease-structural);
}

@media (prefers-reduced-motion: reduce) {
  [data-aos] {
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}

@media (max-width: 768px) {
  a[class*="btn"],
  button[class*="btn"] {
    font-size: 13px !important;
  }
}
