:root {
  --bg: #f9fcff;
  --surface: rgba(255, 255, 255, 0.9);
  --ink: #11263d;
  --muted: #3b546d;
  --brand: #0a5ea8;
  --brand-dark: #084b86;
  --line: rgba(17, 38, 61, 0.14);
  --shadow: 0 18px 45px rgba(10, 58, 99, 0.14);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 8%, rgba(61, 146, 218, 0.18), transparent 42%),
    radial-gradient(circle at 88% 22%, rgba(10, 94, 168, 0.11), transparent 35%),
    linear-gradient(160deg, #ffffff 0%, #f9fcff 52%, #eef6ff 100%);
  line-height: 1.6;
}

.container {
  width: min(1100px, 92vw);
  margin-inline: auto;
}

.hero {
  min-height: 86vh;
  display: grid;
  align-content: start;
  padding: 1.2rem 0 3.5rem;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.nav-index {
  padding-top: 10px;
  padding-bottom: 10px;
  background-color: #FFF;
}

.brand {
  display: inline-flex;
  align-items: center;
  color: var(--ink);
  text-decoration: none;
}

.brand-logo {
  height: 52px;
  width: auto;
  display: block;
}

.cta-link {
  color: var(--ink);
  text-decoration: none;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.58);
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.cta-link:hover {
  transform: translateY(-2px);
  border-color: rgba(28, 36, 48, 0.35);
}

.cta-contact{
  border: 2px solid #d3835a;
  color: #d3835a;
}

  .cta-contact:hover {
    background: #d3835a;
    color: white;
    transform: translateY(-2px);
  }

.hero-content {
  margin-top: clamp(3rem, 10vh, 6.3rem);
  max-width: 760px;
  animation: reveal 0.85s ease both;
}

.hero-formation {
  max-width: 1100px;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: clamp(1rem, 3vw, 2rem);
  align-items: center;
}

.hero-illustration {
  margin: 0;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(10, 94, 168, 0.28);
  box-shadow: 0 18px 42px rgba(10, 58, 99, 0.2);
  min-height: 260px;
  aspect-ratio: 16 / 10;
}

.hero-illustration img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
}

.hero-full {
  position: relative;
  min-height: 92vh;
  isolation: isolate;
  overflow: hidden;
}

.hero-full::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(112deg, rgba(7, 25, 44, 0.62) 8%, rgba(9, 55, 96, 0.4) 44%, rgba(10, 94, 168, 0.18) 100%),
    url("vueantenne.jpg") center / cover no-repeat;
}

.hero-full::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(7, 25, 44, 0.1) 0%, rgba(7, 25, 44, 0.36) 90%);
}

.hero-full .hero-content {
  max-width: 840px;
}

.hero-full .eyebrow,
.hero-full h1,
.hero-full .slogan {
  color: #f3f8ff;
}

.hero-full .slogan {
  color: rgba(243, 248, 255, 0.9);
}

.hero-full .cta-link {
  color: #f3f8ff;
  border-color: rgba(243, 248, 255, 0.45);
  background: rgba(7, 25, 44, 0.28);
}

.hero-full .cta-link:hover {
  border-color: rgba(243, 248, 255, 0.78);
}

.hero-full .btn-secondary {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.92);
  background: rgba(7, 25, 44, 0.62);
  box-shadow: 0 8px 20px rgba(4, 15, 28, 0.35);
}

.hero-full .btn-secondary:hover {
  background: rgba(7, 25, 44, 0.82);
}

.hero-full .btn-primary {
  border-color: rgba(255, 255, 255, 0.3);
  background: linear-gradient(120deg, #0d67b7, #3491da);
  box-shadow: 0 12px 26px rgba(2, 18, 34, 0.45);
}

.hero-full .btn-primary:hover {
  background: linear-gradient(120deg, #0958a0, #2b7ec2);
}

.eyebrow,
.label {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  color: var(--muted);
  margin: 0 0 0.7rem;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.16;
}

h1,
h2 {
  font-family: "Source Serif 4", Georgia, serif;
}

h1 {
  font-size: clamp(2.2rem, 6vw, 4.35rem);
  max-width: 12ch;
}

h2 {
  font-size: clamp(1.75rem, 4.3vw, 2.8rem);
}

.slogan {
  margin: 1.1rem 0 0;
  font-size: clamp(1.05rem, 2.2vw, 1.3rem);
  color: var(--muted);
  max-width: 62ch;
}

.hero-actions {
  margin-top: 1.8rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.btn {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.7rem 1.15rem;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

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

.btn-primary {
  color: #fff;
  background: linear-gradient(120deg, var(--brand), #2f79bf);
  box-shadow: 0 10px 24px rgba(10, 94, 168, 0.34);
}

.btn-primary:hover {
  background: linear-gradient(120deg, var(--brand-dark), #1c68af);
}

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

.section {
  padding: clamp(2rem, 5.5vw, 4.8rem) 0;
}

.section-heading {
  max-width: 66ch;
}

.section-heading p {
  margin: 0.85rem 0 0;
  color: var(--muted);
}

.cards-grid {
  margin-top: 1.8rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.cards-grid-3 {
  margin-top: 1.8rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.card {
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 1.25rem;
  background: var(--surface);
  backdrop-filter: blur(6px);
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(16px);
  animation: rise 0.75s ease forwards;
}

.card:nth-child(2) {
  animation-delay: 0.14s;
}

.card:nth-child(3) {
  animation-delay: 0.28s;
}

.card:nth-child(4) {
  animation-delay: 0.38s;
}

.card-featured {
  border-color: rgba(10, 94, 168, 0.35);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.95), rgba(233, 244, 255, 0.9));
}

.text-link {
  margin-top: 0.95rem;
  display: inline-flex;
  align-items: center;
  color: var(--brand-dark);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(10, 94, 168, 0.35);
}

.text-link:hover {
  border-bottom-color: var(--brand-dark);
}

.card h3 {
  font-size: 1.16rem;
}

.card p {
  margin: 0.72rem 0 0;
  color: var(--muted);
}

.training-flow {
  margin-top: 1.8rem;
  position: relative;
  display: grid;
  gap: 1rem;
  padding-left: 1.5rem;
}

.training-flow::before {
  content: "";
  position: absolute;
  top: 0.4rem;
  bottom: 0.4rem;
  left: 0.55rem;
  width: 2px;
  background: linear-gradient(180deg, rgba(10, 94, 168, 0.45), rgba(10, 94, 168, 0.15));
}

.flow-step {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 1.25rem;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.flow-step::before {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  left: -1.23rem;
  top: 1.25rem;
  border-radius: 50%;
  background: var(--brand);
  border: 2px solid #ffffff;
  box-shadow: 0 0 0 4px rgba(10, 94, 168, 0.18);
}

.flow-step-number {
  margin: 0;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--brand);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.flow-step h3 {
  margin-top: 0.45rem;
  font-size: 1.16rem;
}

.flow-step p {
  margin-top: 0.72rem;
  color: var(--muted);
}

.about {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.3fr;
  gap: 2rem;
}

.about-intro {
  display: grid;
  align-content: start;
  gap: 1rem;
}

.about-photo {
  margin: 0;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(10, 94, 168, 0.26);
  box-shadow: 0 16px 36px rgba(10, 58, 99, 0.2);
  max-width: 380px;
}

.about-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.about-grid p {
  margin: 0 0 1rem;
  color: var(--muted);
}

.footer {
  padding: 3rem 0 4.5rem;
}

.footer-content {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.72);
  padding: clamp(1.3rem, 4vw, 2.3rem);
  box-shadow: var(--shadow);
}

.footer-content p {
  color: var(--muted);
  max-width: 72ch;
}

@keyframes reveal {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes rise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 960px) {
  .hero-formation {
    grid-template-columns: 1fr;
  }

  .hero-illustration {
    order: -1;
    min-height: 200px;
    max-height: 240px;
    aspect-ratio: 16 / 9;
  }

  .hero-illustration img {
    min-height: 200px;
  }

  .hero-full {
    min-height: 84vh;
  }

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

  .training-flow {
    padding-left: 1.2rem;
  }

  .training-flow::before {
    left: 0.44rem;
  }

  .flow-step::before {
    left: -1.01rem;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .about-photo {
    max-width: 100%;
  }

  .hero {
    min-height: auto;
    padding-bottom: 2.3rem;
  }
}

@media (max-width: 560px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .brand-logo {
    height: 46px;
  }

  .btn,
  .cta-link {
    width: 100%;
  }

  .hero-actions {
    width: 100%;
  }

  .hero-illustration {
    min-height: 160px;
    max-height: 190px;
    border-radius: 16px;
  }

  .hero-illustration img {
    min-height: 160px;
  }
}
