@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap");

/* ============================================================
   BIGUENE DIGITAL SERVICES — FEUILLE DE STYLE PRINCIPALE
   Palette : bleu marine, bleu BDS, orange BDS, blanc
   ============================================================ */

:root {
  --navy-950: #031124;
  --navy-900: #061a34;
  --navy-850: #09213f;
  --navy-800: #0c2b4f;
  --blue-700: #0b5fa9;
  --blue-600: #1674be;
  --blue-100: #dceefe;
  --orange-600: #e96500;
  --orange-500: #f47a08;
  --orange-400: #ff962e;
  --orange-100: #fff0e1;
  --white: #ffffff;
  --gray-25: #fcfdff;
  --gray-50: #f7f9fc;
  --gray-100: #eef2f6;
  --gray-200: #dfe6ed;
  --gray-300: #cbd5df;
  --gray-500: #667789;
  --gray-700: #34475b;
  --text: #10233c;
  --muted: #5c6c7d;
  --success: #12a150;
  --shadow-sm: 0 8px 24px rgba(6, 26, 52, 0.08);
  --shadow-md: 0 18px 45px rgba(6, 26, 52, 0.14);
  --shadow-lg: 0 28px 70px rgba(3, 17, 36, 0.22);
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --container: 1180px;
  --header-height: 82px;
  --transition: 220ms ease;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background: var(--white);
  font-family: "Manrope", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

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

svg {
  display: block;
}

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

button,
input,
textarea,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

h1,
h2,
h3 {
  color: var(--navy-900);
  font-family: "Manrope", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.14;
  letter-spacing: -0.03em;
}

h1 {
  font-size: clamp(2.55rem, 5.5vw, 5.4rem);
}

h2 {
  font-size: clamp(2rem, 3.6vw, 3.45rem);
}

h3 {
  font-size: 1.22rem;
}

::selection {
  color: var(--white);
  background: var(--orange-500);
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.section {
  position: relative;
  padding: 104px 0;
}

.section-dark {
  color: var(--white);
  background: var(--navy-900);
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  transform: translateY(-160%);
  padding: 10px 16px;
  color: var(--white);
  background: var(--orange-500);
  border-radius: 8px;
  font-weight: 800;
  transition: transform var(--transition);
}

.skip-link:focus {
  transform: translateY(0);
}

/* ---------------------- Boutons ---------------------- */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 11px;
  cursor: pointer;
  font-weight: 800;
  line-height: 1.1;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), border-color var(--transition), color var(--transition);
}

.button:hover {
  transform: translateY(-2px);
}

.button:focus-visible,
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid rgba(244, 122, 8, 0.32);
  outline-offset: 3px;
}

.button svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.button-primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--orange-400), var(--orange-600));
  box-shadow: 0 12px 26px rgba(233, 101, 0, 0.26);
}

.button-primary:hover {
  box-shadow: 0 16px 34px rgba(233, 101, 0, 0.34);
}

.button-outline {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.46);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(8px);
}

.button-outline:hover {
  border-color: var(--orange-400);
  background: rgba(244, 122, 8, 0.08);
}

.button-dark {
  color: var(--white);
  background: var(--navy-900);
  box-shadow: 0 12px 26px rgba(6, 26, 52, 0.18);
}

.button-dark:hover {
  background: var(--blue-700);
}

.button-large {
  min-height: 56px;
  padding: 15px 24px;
}

.button-whatsapp {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin-top: 26px;
  color: var(--white);
  border: 1px solid rgba(120, 255, 182, 0.34);
  background:
    linear-gradient(135deg, rgba(6, 26, 52, 0.1), rgba(6, 26, 52, 0.02)),
    linear-gradient(135deg, #1fda74 0%, #0fb562 42%, #0a8d56 100%);
  box-shadow: 0 16px 34px rgba(8, 141, 86, 0.28), 0 0 0 1px rgba(255, 255, 255, 0.08) inset;
}

.button-whatsapp::before,
.button-whatsapp::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.button-whatsapp::before {
  inset: -30% auto -30% -10%;
  width: 56px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.65), transparent);
  transform: translateX(-170%) skewX(-24deg);
  transition: transform 620ms ease;
}

.button-whatsapp::after {
  inset: 1px;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.button-whatsapp:hover {
  color: var(--white);
  border-color: rgba(152, 255, 200, 0.55);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(6, 26, 52, 0.03)),
    linear-gradient(135deg, #2af18a 0%, #12c76a 42%, #09925a 100%);
  box-shadow: 0 22px 44px rgba(8, 141, 86, 0.38), 0 0 0 1px rgba(255, 255, 255, 0.12) inset, 0 0 26px rgba(44, 255, 142, 0.22);
}

.button-whatsapp:hover::before {
  transform: translateX(560%) skewX(-24deg);
}

.button-whatsapp svg {
  fill: currentColor;
  stroke: none;
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.24));
}

/* ---------------------- En-tête ---------------------- */
.site-header {
  position: fixed;
  z-index: 900;
  inset: 0 0 auto;
  height: var(--header-height);
  color: var(--white);
  background: rgba(3, 17, 36, 0.82);
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(16px);
  transition: background var(--transition), box-shadow var(--transition), height var(--transition);
}

.site-header.scrolled {
  background: rgba(3, 17, 36, 0.96);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}

.header-inner {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 24px;
}

.brand {
  flex: 0 0 auto;
  width: 235px;
}

.brand img {
  width: 100%;
  height: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 2vw, 28px);
  margin-left: auto;
}

.main-nav a {
  position: relative;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.94rem;
  font-weight: 700;
  white-space: nowrap;
  transition: color var(--transition);
}

.main-nav a::after {
  position: absolute;
  content: "";
  right: 0;
  bottom: -8px;
  left: 0;
  height: 2px;
  transform: scaleX(0);
  transform-origin: center;
  background: var(--orange-500);
  transition: transform var(--transition);
}

.main-nav a:hover,
.main-nav a.is-active {
  color: var(--white);
}

.main-nav a:hover::after,
.main-nav a.is-active::after {
  transform: scaleX(1);
}

.header-cta {
  flex: 0 0 auto;
  min-height: 45px;
  padding-inline: 17px;
  font-size: 0.9rem;
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  margin-left: auto;
  padding: 10px;
  border: 0;
  border-radius: 10px;
  color: inherit;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  background: var(--white);
  border-radius: 10px;
  transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------------------- Hero ---------------------- */
.hero {
  position: relative;
  isolation: isolate;
  min-height: 760px;
  padding: calc(var(--header-height) + 80px) 0 92px;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 42%, rgba(14, 108, 180, 0.25), transparent 32%),
    linear-gradient(110deg, #031124 0%, #061a34 48%, #0a284b 100%);
}

.hero-grid-pattern,
.portfolio-pattern {
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(39, 114, 178, 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(39, 114, 178, 0.16) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(to right, black, transparent 68%);
}

.hero-grid-pattern::before,
.portfolio-pattern::before {
  position: absolute;
  content: "";
  inset: 0;
  background: radial-gradient(circle at 20% 40%, rgba(255, 122, 8, 0.32) 0 2px, transparent 3px) 0 0 / 110px 110px;
}

.hero-grid {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 0.93fr) minmax(480px, 1.07fr);
  gap: 44px;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 16px;
  color: var(--blue-700);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.eyebrow {
  color: rgba(255, 255, 255, 0.86);
}

.eyebrow span {
  width: 30px;
  height: 3px;
  background: var(--orange-500);
  border-radius: 99px;
}

.eyebrow b {
  color: rgba(255, 255, 255, 0.38);
}

.eyebrow strong {
  color: var(--orange-400);
}

.hero h1 {
  max-width: 760px;
  margin-bottom: 24px;
  color: var(--white);
  font-weight: 850;
}

.hero h1 span,
.section-heading h2 span,
.about h2 span,
.contact h2 span,
.why-panel h2 span,
.portfolio h2 span {
  color: var(--orange-500);
}

.hero-lead {
  max-width: 650px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 21px;
  margin-top: 34px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.82rem;
  font-weight: 700;
}

.hero-proof div {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-proof svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: var(--orange-500);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

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

.hero-slider {
  position: absolute;
  z-index: 2;
  inset: 18px 0 10px;
  overflow: hidden;
  background: rgba(3, 17, 36, 0.84);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 26px;
  box-shadow: 0 34px 70px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.04) inset;
  backdrop-filter: blur(12px);
}

.hero-slider::after {
  position: absolute;
  z-index: 1;
  content: "";
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 45%, rgba(3, 17, 36, 0.55) 100%);
}

.hero-slides,
.hero-slide {
  position: absolute;
  inset: 0;
}

.hero-slide {
  opacity: 0;
  pointer-events: none;
  transform: scale(1.035);
  transition: opacity 540ms ease, transform 900ms ease;
}

.hero-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-slide-caption {
  position: absolute;
  z-index: 3;
  left: 24px;
  bottom: 24px;
  max-width: 62%;
  padding: 16px 18px;
  color: var(--white);
  background: linear-gradient(135deg, rgba(3, 17, 36, 0.9), rgba(6, 26, 52, 0.62));
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(10px);
}

.hero-slide-caption span,
.hero-slide-caption strong {
  display: block;
}

.hero-slide-caption span {
  margin-bottom: 6px;
  color: var(--orange-400);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-slide-caption strong {
  font-size: 1rem;
  line-height: 1.35;
}

.hero-slider-arrow {
  position: absolute;
  z-index: 5;
  top: 50%;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--white);
  background: rgba(3, 17, 36, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 13px;
  cursor: pointer;
  transform: translateY(-50%);
  transition: transform var(--transition), background var(--transition), border-color var(--transition), box-shadow var(--transition);
  backdrop-filter: blur(8px);
}

.hero-slider-arrow:hover {
  background: linear-gradient(135deg, var(--orange-400), var(--orange-600));
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow: 0 10px 26px rgba(233, 101, 0, 0.32);
}

.hero-slider-arrow svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-slider-prev {
  left: 14px;
}

.hero-slider-next {
  right: 14px;
}

.hero-slider-thumbs {
  position: absolute;
  z-index: 6;
  top: 16px;
  right: 16px;
  display: grid;
  width: 145px;
  gap: 10px;
}

.hero-slider-thumb {
  position: relative;
  display: grid;
  overflow: hidden;
  min-height: 86px;
  padding: 0;
  color: var(--white);
  text-align: left;
  background: rgba(3, 17, 36, 0.76);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.hero-slider-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.72;
  transition: opacity var(--transition), transform 500ms ease;
}

.hero-slider-thumb::after {
  position: absolute;
  content: "";
  inset: 0;
  background: linear-gradient(180deg, transparent 12%, rgba(3, 17, 36, 0.92) 100%);
}

.hero-slider-thumb span {
  position: relative;
  z-index: 2;
  align-self: end;
  padding: 10px;
  font-size: 0.7rem;
  font-weight: 800;
  line-height: 1.2;
}

.hero-slider-thumb:hover,
.hero-slider-thumb.is-active {
  transform: translateX(-4px);
  border-color: var(--orange-400);
  box-shadow: 0 0 0 1px rgba(244, 122, 8, 0.18), 0 14px 30px rgba(0, 0, 0, 0.28);
}

.hero-slider-thumb:hover img,
.hero-slider-thumb.is-active img {
  opacity: 0.92;
  transform: scale(1.06);
}

.hero-slider-dots {
  position: absolute;
  z-index: 7;
  left: 50%;
  bottom: 12px;
  display: flex;
  gap: 8px;
  transform: translateX(-50%);
}

.hero-slider-dots span {
  width: 8px;
  height: 8px;
  background: rgba(255, 255, 255, 0.42);
  border-radius: 999px;
  transition: width var(--transition), background var(--transition);
}

.hero-slider-dots span.is-active {
  width: 28px;
  background: var(--orange-500);
}

.hero-visual > img {
  position: relative;
  z-index: 2;
  width: 114%;
  max-width: none;
  margin: 4px 0 0 -4%;
  filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.28));
}

.hero-glow {
  position: absolute;
  z-index: 0;
  top: 48%;
  left: 53%;
  width: 520px;
  height: 520px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(14, 112, 189, 0.29), rgba(14, 112, 189, 0.05) 55%, transparent 72%);
  border-radius: 50%;
}

.floating-card {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 220px;
  padding: 12px 15px;
  color: var(--navy-900);
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 14px;
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(10px);
}

.floating-card-top {
  top: 78px;
  right: -18px;
}

.floating-card-bottom {
  right: 74px;
  bottom: 36px;
}

.floating-icon {
  display: grid;
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  place-items: center;
  color: var(--white);
  background: linear-gradient(135deg, var(--orange-400), var(--orange-600));
  border-radius: 10px;
  font-weight: 900;
}

.floating-card strong,
.floating-card small {
  display: block;
}

.floating-card strong {
  font-size: 0.86rem;
}

.floating-card small {
  color: var(--muted);
  font-size: 0.67rem;
}

.hero-angle {
  position: absolute;
  z-index: 1;
  right: -80px;
  bottom: -40px;
  width: 320px;
  height: 150px;
  transform: rotate(-18deg);
  background: var(--orange-500);
  clip-path: polygon(48% 0, 100% 0, 100% 100%, 0 100%);
}

/* ---------------------- Bande de confiance ---------------------- */
.trust-strip {
  padding: 18px 0;
  color: var(--navy-900);
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  box-shadow: 0 7px 18px rgba(6, 26, 52, 0.04);
}

.trust-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  color: var(--gray-700);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.trust-grid i {
  width: 5px;
  height: 5px;
  background: var(--orange-500);
  border-radius: 50%;
}

/* ---------------------- Titres de section ---------------------- */
.section-heading {
  max-width: 760px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-heading h2 {
  margin-bottom: 15px;
}

.section-heading > p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

.section-heading-light h2 {
  color: var(--white);
}

.section-heading-light > p:last-child {
  color: rgba(255, 255, 255, 0.69);
}

.section-kicker.light {
  color: var(--orange-400);
}

/* ---------------------- Services ---------------------- */
.services {
  background: linear-gradient(180deg, var(--white), var(--gray-50));
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.service-card {
  position: relative;
  display: flex;
  min-height: 440px;
  flex-direction: column;
  padding: 28px 23px 24px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.service-card::before {
  position: absolute;
  content: "";
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, var(--blue-600), var(--orange-500));
  transition: transform var(--transition);
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(22, 116, 190, 0.3);
  box-shadow: var(--shadow-md);
}

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

.service-icon {
  display: grid;
  width: 62px;
  height: 62px;
  margin-bottom: 22px;
  place-items: center;
  color: var(--white);
  border-radius: 18px;
  box-shadow: 0 12px 22px rgba(6, 26, 52, 0.15);
}

.service-icon svg {
  width: 31px;
  height: 31px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-navy {
  background: linear-gradient(135deg, var(--navy-800), var(--blue-700));
}

.icon-orange {
  background: linear-gradient(135deg, var(--orange-400), var(--orange-600));
}

.service-card h3 {
  min-height: 56px;
  margin-bottom: 12px;
}

.service-card p {
  color: var(--muted);
  font-size: 0.91rem;
}

.service-card ul {
  margin: 2px 0 20px;
  padding: 0;
  list-style: none;
}

.service-card li {
  position: relative;
  margin: 7px 0;
  padding-left: 17px;
  color: var(--gray-700);
  font-size: 0.82rem;
}

.service-card li::before {
  position: absolute;
  content: "";
  top: 0.7em;
  left: 0;
  width: 6px;
  height: 6px;
  transform: translateY(-50%);
  background: var(--orange-500);
  border-radius: 50%;
}

.service-card > a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  color: var(--orange-600);
  font-size: 0.88rem;
  font-weight: 900;
}

.service-card > a span {
  transition: transform var(--transition);
}

.service-card > a:hover span {
  transform: translateX(4px);
}

/* ---------------------- Pourquoi BDS ---------------------- */
.why-section {
  padding-top: 28px;
  background: var(--gray-50);
}

.why-panel {
  position: relative;
  display: grid;
  overflow: hidden;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 44px;
  padding: 56px 60px;
  color: var(--white);
  background:
    radial-gradient(circle at 92% 8%, rgba(22, 116, 190, 0.26), transparent 35%),
    linear-gradient(135deg, var(--navy-950), var(--navy-800));
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.why-panel h2 {
  margin-bottom: 18px;
  color: var(--white);
}

.why-intro > p:last-of-type {
  max-width: 480px;
  color: rgba(255, 255, 255, 0.68);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  color: var(--orange-400);
  font-weight: 800;
}

.text-link span {
  transition: transform var(--transition);
}

.text-link:hover span {
  transform: translateX(4px);
}

.why-list {
  display: grid;
  position: relative;
  z-index: 2;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: center;
  gap: 20px 28px;
}

.why-list > div {
  display: flex;
  gap: 12px;
}

.why-list span {
  display: grid;
  flex: 0 0 auto;
  width: 27px;
  height: 27px;
  place-items: center;
  color: var(--white);
  background: var(--orange-500);
  border-radius: 50%;
  font-size: 0.78rem;
  font-weight: 900;
}

.why-list p {
  margin: 1px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.9rem;
}

.why-list strong {
  color: var(--white);
}

.why-decoration {
  position: absolute;
  right: -30px;
  bottom: -48px;
  width: 250px;
  opacity: 0.09;
}

.why-decoration svg {
  fill: none;
  stroke: var(--white);
  stroke-width: 8;
}

/* ---------------------- Secteurs ---------------------- */
.sectors {
  background: var(--white);
}

.sectors-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.sector-card {
  position: relative;
  min-height: 256px;
  padding: 30px;
  overflow: hidden;
  background: linear-gradient(180deg, var(--white), #fbfcfe);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.sector-card::after {
  position: absolute;
  content: "";
  right: -32px;
  bottom: -42px;
  width: 110px;
  height: 110px;
  background: var(--orange-100);
  border-radius: 50%;
  transition: transform var(--transition);
}

.sector-card:hover {
  transform: translateY(-5px);
  border-color: rgba(22, 116, 190, 0.26);
  box-shadow: var(--shadow-md);
}

.sector-card:hover::after {
  transform: scale(1.35);
}

.sector-card svg {
  position: relative;
  z-index: 1;
  width: 58px;
  height: 58px;
  margin-bottom: 21px;
  fill: none;
  stroke: var(--navy-800);
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sector-card svg .accent {
  stroke: var(--orange-500);
}

.sector-card h3 {
  position: relative;
  z-index: 1;
  margin-bottom: 10px;
}

.sector-card p {
  position: relative;
  z-index: 1;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.91rem;
}

/* ---------------------- À propos ---------------------- */
.about {
  background: linear-gradient(180deg, var(--gray-50), var(--white));
}

.about-grid {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 62px;
}

.about-visual {
  position: relative;
}

.about-visual img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.about-visual::before {
  position: absolute;
  z-index: -1;
  content: "";
  top: -18px;
  left: -18px;
  width: 46%;
  height: 44%;
  border: 4px solid rgba(244, 122, 8, 0.24);
  border-radius: var(--radius-lg);
}

.about-badge {
  position: absolute;
  right: -24px;
  bottom: -22px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 17px 20px;
  color: var(--white);
  background: var(--navy-900);
  border: 4px solid var(--white);
  border-radius: 15px;
  box-shadow: var(--shadow-md);
}

.about-badge strong {
  color: var(--orange-500);
  font-size: 1.4rem;
}

.about-badge span {
  max-width: 135px;
  font-size: 0.77rem;
  font-weight: 800;
  line-height: 1.25;
}

.about-copy h2 {
  margin-bottom: 20px;
}

.about-copy > p {
  color: var(--muted);
}

.about-lead {
  color: var(--gray-700) !important;
  font-size: 1.05rem;
}

.about-values {
  display: grid;
  gap: 12px;
  margin: 27px 0;
}

.about-values > div {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 13px;
  align-items: start;
}

.about-values span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--orange-600);
  background: var(--orange-100);
  border-radius: 11px;
  font-weight: 900;
}

.about-values p {
  margin: 1px 0 0;
  color: var(--muted);
  font-size: 0.91rem;
}

.about-values strong {
  display: block;
  margin-bottom: 2px;
  color: var(--navy-900);
}

.about-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 28px;
}

.about-highlights span {
  padding: 8px 12px;
  color: var(--navy-800);
  background: var(--blue-100);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
}

/* ---------------------- Processus ---------------------- */
.process-section {
  padding-top: 30px;
  background: var(--white);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.process-card {
  position: relative;
  min-height: 250px;
  padding: 28px 25px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.process-card::before {
  position: absolute;
  content: "";
  top: 45px;
  right: -20px;
  width: 100px;
  height: 1px;
  background: linear-gradient(90deg, rgba(244, 122, 8, 0.6), transparent);
}

.process-card span {
  display: inline-block;
  margin-bottom: 38px;
  color: var(--orange-500);
  font-size: 2.4rem;
  font-weight: 900;
  letter-spacing: -0.08em;
}

.process-card h3 {
  margin-bottom: 10px;
}

.process-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

/* ---------------------- Portfolio ---------------------- */
.portfolio {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 16%, rgba(15, 104, 173, 0.26), transparent 27%),
    linear-gradient(145deg, var(--navy-950), var(--navy-800));
}

.portfolio-pattern {
  mask-image: none;
  opacity: 0.18;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.project-card {
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-md);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.22);
  transition: transform var(--transition), box-shadow var(--transition);
}

.project-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 26px 58px rgba(0, 0, 0, 0.31);
}

.project-image {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--gray-100);
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.project-card:hover .project-image img {
  transform: scale(1.04);
}

.project-content {
  padding: 23px 24px 26px;
}

.project-content > span {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--orange-600);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-content h3 {
  margin-bottom: 8px;
}

.project-content p {
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 0.88rem;
}

.project-content b {
  color: var(--orange-600);
  font-size: 0.85rem;
}

.portfolio-action {
  margin-top: 38px;
  text-align: center;
}

/* ---------------------- Contact ---------------------- */
.contact {
  background:
    radial-gradient(circle at 7% 84%, rgba(244, 122, 8, 0.08), transparent 28%),
    linear-gradient(180deg, var(--white), var(--gray-50));
}

.contact-grid {
  display: grid;
  align-items: start;
  grid-template-columns: minmax(0, 0.83fr) minmax(0, 1.17fr);
  gap: 64px;
}

.contact-info h2 {
  margin-bottom: 20px;
}

.contact-info > p:not(.section-kicker) {
  max-width: 560px;
  color: var(--muted);
}

.contact-list {
  display: grid;
  gap: 12px;
  margin-top: 30px;
}

.contact-list > a,
.contact-location {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 13px 15px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 13px;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.contact-list > a:hover {
  transform: translateX(4px);
  border-color: rgba(22, 116, 190, 0.25);
  box-shadow: var(--shadow-sm);
}

.contact-list > * > span {
  display: grid;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  place-items: center;
  color: var(--orange-600);
  background: var(--orange-100);
  border-radius: 11px;
}

.contact-list svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-list small,
.contact-list strong {
  display: block;
}

.contact-list small {
  color: var(--muted);
  font-size: 0.75rem;
}

.contact-list strong {
  color: var(--navy-900);
  font-size: 0.91rem;
}

.contact-form {
  padding: 38px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-top: 5px solid var(--orange-500);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.form-heading {
  margin-bottom: 27px;
}

.form-heading > span {
  color: var(--orange-600);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.form-heading h3 {
  margin: 5px 0 7px;
  font-size: 1.65rem;
}

.form-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 0.87rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 17px;
}

.form-grid label {
  display: block;
  color: var(--navy-800);
  font-size: 0.82rem;
  font-weight: 800;
}

.form-grid label.full {
  grid-column: 1 / -1;
}

.form-grid input,
.form-grid select,
.form-grid textarea {
  width: 100%;
  margin-top: 7px;
  padding: 12px 13px;
  color: var(--text);
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}

.form-grid input,
.form-grid select {
  height: 49px;
}

.form-grid textarea {
  min-height: 134px;
  resize: vertical;
}

.form-grid input:focus,
.form-grid select:focus,
.form-grid textarea:focus {
  background: var(--white);
  border-color: var(--blue-600);
  box-shadow: 0 0 0 4px rgba(22, 116, 190, 0.1);
}

.form-grid .is-invalid {
  border-color: #d83b3b;
  box-shadow: 0 0 0 4px rgba(216, 59, 59, 0.08);
}

.field-error {
  display: block;
  min-height: 15px;
  margin-top: 4px;
  color: #ba2b2b;
  font-size: 0.7rem;
  font-weight: 600;
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 17px 0 5px;
  color: var(--muted);
  font-size: 0.76rem;
}

.consent input {
  width: 17px;
  height: 17px;
  margin-top: 2px;
  accent-color: var(--orange-500);
}

.form-status {
  display: block;
  min-height: 20px;
  margin: 8px 0;
  color: #ba2b2b;
  font-size: 0.78rem;
  font-weight: 700;
}

.form-status.success {
  color: var(--success);
}

.button-submit {
  width: 100%;
  margin-top: 5px;
  border: 0;
}

/* ---------------------- CTA finale ---------------------- */
.final-cta {
  padding: 58px 0;
  background:
    linear-gradient(90deg, rgba(244, 122, 8, 0.12), transparent 42%),
    var(--navy-900);
}

.final-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.final-cta p {
  margin-bottom: 5px;
  color: var(--orange-400);
  font-weight: 800;
}

.final-cta h2 {
  max-width: 780px;
  margin-bottom: 0;
  color: var(--white);
  font-size: clamp(1.65rem, 3vw, 2.6rem);
}

/* ---------------------- Pied de page ---------------------- */
.site-footer {
  color: rgba(255, 255, 255, 0.7);
  background: var(--navy-950);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.85fr 1.25fr 1.05fr;
  gap: 45px;
  padding: 68px 0 52px;
}

.footer-brand img {
  width: min(280px, 100%);
  margin-bottom: 12px;
}

.footer-brand p {
  max-width: 270px;
  font-size: 0.88rem;
}

.socials {
  display: flex;
  gap: 9px;
  margin-top: 20px;
}

.socials a {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  font-size: 0.77rem;
  font-weight: 900;
  transition: transform var(--transition), background var(--transition);
}

.socials a:hover {
  transform: translateY(-3px);
  background: var(--orange-500);
}

.footer-column {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-column h3 {
  margin-bottom: 10px;
  color: var(--white);
  font-size: 0.96rem;
}

.footer-column a,
.footer-column span {
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.83rem;
  transition: color var(--transition), transform var(--transition);
}

.footer-column a:hover {
  color: var(--orange-400);
  transform: translateX(3px);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  font-size: 0.77rem;
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom div {
  display: flex;
  gap: 20px;
}

.footer-bottom a:hover {
  color: var(--orange-400);
}

.whatsapp-float {
  position: fixed;
  z-index: 850;
  right: 22px;
  bottom: 22px;
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  color: var(--white);
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.28), transparent 34%),
    linear-gradient(135deg, #22df78 0%, #10bf66 46%, #0b8c54 100%);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 22px;
  box-shadow: 0 18px 40px rgba(7, 109, 69, 0.34), 0 0 0 1px rgba(255, 255, 255, 0.1) inset, 0 0 28px rgba(43, 245, 129, 0.2);
  backdrop-filter: blur(10px);
  transition: transform var(--transition), box-shadow var(--transition), border-radius var(--transition);
}

.whatsapp-float::before,
.whatsapp-float::after {
  position: absolute;
  content: "";
  inset: -7px;
  border: 1px solid rgba(42, 241, 138, 0.28);
  border-radius: 28px;
  animation: whatsappPulse 2.8s ease-out infinite;
}

.whatsapp-float::after {
  inset: -14px;
  opacity: 0.42;
  animation-delay: 0.9s;
}

.whatsapp-float:hover {
  transform: translateY(-6px) scale(1.04);
  border-radius: 18px;
  box-shadow: 0 24px 52px rgba(7, 109, 69, 0.44), 0 0 0 1px rgba(255, 255, 255, 0.14) inset, 0 0 36px rgba(43, 245, 129, 0.28);
}

.whatsapp-float svg {
  position: relative;
  z-index: 1;
  width: 28px;
  height: 28px;
  fill: currentColor;
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.22));
}

@keyframes whatsappPulse {
  0% {
    transform: scale(0.95);
    opacity: 0.45;
  }

  70% {
    transform: scale(1.08);
    opacity: 0;
  }

  100% {
    transform: scale(1.12);
    opacity: 0;
  }
}

/* ---------------------- Pages intérieures ---------------------- */
.inner-hero {
  position: relative;
  isolation: isolate;
  padding: calc(var(--header-height) + 85px) 0 85px;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 78% 25%, rgba(22, 116, 190, 0.3), transparent 30%),
    linear-gradient(135deg, var(--navy-950), var(--navy-800));
}

.inner-hero::before {
  position: absolute;
  z-index: -1;
  content: "";
  inset: 0;
  opacity: 0.22;
  background-image: linear-gradient(rgba(39, 114, 178, 0.16) 1px, transparent 1px), linear-gradient(90deg, rgba(39, 114, 178, 0.16) 1px, transparent 1px);
  background-size: 42px 42px;
}

.inner-hero h1 {
  max-width: 850px;
  margin-bottom: 18px;
  color: var(--white);
  font-size: clamp(2.5rem, 5vw, 4.7rem);
}

.inner-hero h1 span {
  color: var(--orange-500);
}

.inner-hero p {
  max-width: 720px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.05rem;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.8rem;
  font-weight: 700;
}

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

.content-block {
  max-width: 820px;
  margin-inline: auto;
}

.content-block h2 {
  margin-top: 50px;
  font-size: 2rem;
}

.content-block h3 {
  margin-top: 30px;
}

.content-block p,
.content-block li {
  color: var(--muted);
}

.content-block a {
  color: var(--blue-700);
  font-weight: 800;
}

.service-detail-grid {
  display: grid;
  gap: 26px;
}

.service-detail {
  display: grid;
  align-items: center;
  grid-template-columns: 0.76fr 1.24fr;
  gap: 34px;
  padding: 38px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.service-detail:nth-child(even) {
  grid-template-columns: 1.24fr 0.76fr;
}

.service-detail:nth-child(even) .service-detail-visual {
  order: 2;
}

.service-detail-visual {
  display: grid;
  min-height: 250px;
  place-items: center;
  color: var(--white);
  background: linear-gradient(135deg, var(--navy-900), var(--blue-700));
  border-radius: var(--radius-md);
}

.service-detail-visual svg {
  width: 96px;
  height: 96px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-detail h2 {
  margin-bottom: 14px;
  font-size: 2rem;
}

.service-detail p,
.service-detail li {
  color: var(--muted);
}

.service-detail ul {
  padding-left: 18px;
}

.page-projects-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.page-project-card {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.page-project-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.page-project-card > div {
  padding: 28px;
}

.page-project-card p {
  color: var(--muted);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 40px;
}

.stat-card {
  padding: 27px 20px;
  text-align: center;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.stat-card strong {
  display: block;
  color: var(--orange-500);
  font-size: 2.2rem;
  line-height: 1;
}

.stat-card span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.83rem;
  font-weight: 700;
}

/* ---------------------- Animations ---------------------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 680ms ease, transform 680ms ease;
}

.reveal-delay-1 {
  transition-delay: 100ms;
}

.reveal-delay-2 {
  transition-delay: 190ms;
}

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

/* ---------------------- Responsive ---------------------- */
@media (max-width: 1120px) {
  :root {
    --header-height: 76px;
  }

  .brand {
    width: 210px;
  }

  .main-nav {
    gap: 16px;
  }

  .main-nav a {
    font-size: 0.87rem;
  }

  .header-cta {
    display: none;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 0.95fr) minmax(400px, 1.05fr);
  }

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

  .service-card:nth-child(4),
  .service-card:nth-child(5),
  .service-card:nth-child(6) {
    min-height: 400px;
  }

  .footer-grid {
    grid-template-columns: 1.35fr 0.8fr 1.2fr 1fr;
    gap: 30px;
  }
}

@media (max-width: 920px) {
  .section {
    padding: 82px 0;
  }

  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: fixed;
    z-index: 905;
    inset: var(--header-height) 0 auto;
    display: flex;
    max-height: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    overflow: hidden;
    margin: 0;
    padding: 0 20px;
    background: rgba(3, 17, 36, 0.98);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: max-height 320ms ease, padding 320ms ease;
  }

  .main-nav.is-open {
    max-height: calc(100vh - var(--header-height));
    padding-block: 16px 28px;
  }

  .main-nav a {
    position: relative;
    overflow: hidden;
    padding: 14px 14px;
    font-size: 1rem;
    border: 1px solid transparent;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 14px;
    transition: color var(--transition), background var(--transition), border-color var(--transition), transform var(--transition), box-shadow var(--transition), padding-left var(--transition);
  }

  .main-nav a::before {
    position: absolute;
    content: "";
    inset: 0;
    opacity: 0;
    background: linear-gradient(90deg, rgba(244, 122, 8, 0.18), rgba(22, 116, 190, 0.16));
    transition: opacity var(--transition);
  }

  .main-nav a::after {
    display: none;
  }

  .main-nav a:hover,
  .main-nav a:focus-visible,
  .main-nav a.is-active {
    color: var(--white);
    transform: translateX(6px);
    padding-left: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(244, 122, 8, 0.34);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.22), 0 0 0 1px rgba(255, 255, 255, 0.04) inset;
  }

  .main-nav a:hover::before,
  .main-nav a:focus-visible::before,
  .main-nav a.is-active::before {
    opacity: 1;
  }

  .hero {
    padding-top: calc(var(--header-height) + 58px);
  }

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

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

  .hero-visual {
    width: min(760px, 100%);
    min-height: 520px;
    margin: 10px auto 0;
  }

  .hero-slider-thumbs {
    top: auto;
    right: 16px;
    bottom: 16px;
    left: 16px;
    width: auto;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero-slider-thumb {
    min-height: 78px;
  }

  .hero-slide-caption {
    bottom: 116px;
    max-width: min(620px, calc(100% - 48px));
  }

  .hero-slider-dots {
    display: none;
  }

  .floating-card-top {
    right: 0;
  }

  .trust-grid {
    flex-wrap: wrap;
    gap: 12px 17px;
  }

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

  .service-card,
  .service-card:nth-child(4),
  .service-card:nth-child(5),
  .service-card:nth-child(6) {
    min-height: 390px;
  }

  .why-panel {
    grid-template-columns: 1fr;
    padding: 48px 42px;
  }

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

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .about-grid {
    gap: 52px;
  }

  .about-visual {
    width: min(720px, 100%);
    margin: 0 auto;
  }

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

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

  .project-card:last-child {
    grid-column: 1 / -1;
    width: calc(50% - 12px);
    margin-inline: auto;
  }

  .contact-grid {
    gap: 45px;
  }

  .final-cta-inner {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .service-detail,
  .service-detail:nth-child(even) {
    grid-template-columns: 1fr;
  }

  .service-detail:nth-child(even) .service-detail-visual {
    order: 0;
  }

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

@media (max-width: 640px) {
  :root {
    --header-height: 70px;
  }

  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .section {
    padding: 68px 0;
  }

  .brand {
    width: 185px;
  }

  .hero {
    min-height: auto;
    padding-bottom: 70px;
  }

  .hero h1 {
    font-size: clamp(2.35rem, 12.7vw, 4rem);
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

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

  .hero-proof {
    flex-direction: column;
    gap: 12px;
  }

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

  .hero-slider {
    inset: 10px 0 0;
    border-radius: 20px;
  }

  .hero-slide-caption {
    right: 14px;
    bottom: 132px;
    left: 14px;
    max-width: none;
    padding: 14px;
  }

  .hero-slide-caption strong {
    font-size: 0.88rem;
  }

  .hero-slider-thumbs {
    right: 12px;
    bottom: 12px;
    left: 12px;
    gap: 7px;
  }

  .hero-slider-thumb {
    min-height: 96px;
    border-radius: 11px;
  }

  .hero-slider-thumb span {
    padding: 8px;
    font-size: 0.62rem;
  }

  .hero-slider-arrow {
    top: 42%;
    width: 38px;
    height: 38px;
  }

  .hero-visual > img {
    width: 122%;
    margin-left: -10%;
  }

  .floating-card {
    display: none;
  }

  .trust-grid i:nth-of-type(even) {
    display: none;
  }

  .services-grid,
  .sectors-grid,
  .process-grid,
  .portfolio-grid,
  .page-projects-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .service-card,
  .service-card:nth-child(4),
  .service-card:nth-child(5),
  .service-card:nth-child(6) {
    min-height: auto;
  }

  .service-card h3 {
    min-height: auto;
  }

  .why-panel {
    padding: 38px 25px;
    border-radius: 20px;
  }

  .why-list {
    grid-template-columns: 1fr;
  }

  .about-badge {
    right: 9px;
    bottom: -25px;
  }

  .about-copy {
    padding-top: 12px;
  }

  .project-card:last-child {
    grid-column: auto;
    width: auto;
  }

  .contact-form {
    padding: 27px 20px;
    border-radius: 20px;
  }

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

  .form-grid label.full {
    grid-column: auto;
  }

  .final-cta {
    padding: 48px 0;
  }

  .footer-grid {
    padding-top: 55px;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .whatsapp-float {
    right: 14px;
    bottom: 14px;
    width: 58px;
    height: 58px;
  }

  .inner-hero {
    padding: calc(var(--header-height) + 58px) 0 62px;
  }

  .service-detail {
    padding: 23px;
  }

  .service-detail-visual {
    min-height: 210px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
