:root {
  --primary: #0d6a6a;
  --primary-dark: #084a4a;
  --secondary: #e6f6f4;
  --accent: #d8a52c;
  --text: #17212b;
  --muted: #63717d;
  --light: #f7faf9;
  --white: #ffffff;
  --border: #dfe8e6;
  --shadow: 0 18px 50px rgba(13, 106, 106, 0.12);
  --radius: 22px;
  --container: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
}

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

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

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

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

.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(223, 232, 230, 0.8);
}

.nav-wrapper {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--primary);
  color: var(--white);
  padding: 10px;
}

.brand-mark svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.brand-mark .svg-line,
.brand-mark .svg-dot {
  stroke: var(--accent);
  fill: var(--accent);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-text strong {
  font-size: 1.02rem;
  letter-spacing: 0.05em;
}

.brand-text small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.74rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav a {
  font-weight: 600;
  font-size: 0.94rem;
  color: #33414d;
}

.nav a:hover {
  color: var(--primary);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid var(--primary);
  border-radius: 14px;
  background: var(--primary);
  color: var(--white);
  font-weight: 700;
  cursor: pointer;
  transition: 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  box-shadow: 0 12px 24px rgba(13, 106, 106, 0.18);
}

.btn-small {
  min-height: 42px;
  padding: 0 17px;
  color: var(--white) !important;
}

.btn-outline {
  background: transparent;
  color: var(--primary);
}

.btn-light {
  border-color: var(--white);
  background: var(--white);
  color: var(--primary);
}

.btn-light:hover {
  background: var(--secondary);
  border-color: var(--secondary);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px auto;
  background: var(--text);
  transition: 0.2s ease;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 92px 0;
  background:
    radial-gradient(circle at top right, rgba(216, 165, 44, 0.14), transparent 27%),
    linear-gradient(135deg, #f6fbfa 0%, #ffffff 55%, #eff8f6 100%);
}

.hero::before {
  content: "";
  position: absolute;
  width: 480px;
  height: 480px;
  border: 70px solid rgba(13, 106, 106, 0.035);
  border-radius: 50%;
  left: -220px;
  bottom: -260px;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  gap: 68px;
  align-items: center;
}

.eyebrow,
.section-label {
  display: inline-flex;
  color: var(--primary);
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 760px;
  margin: 18px 0 22px;
  font-size: clamp(2.6rem, 6vw, 5rem);
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.hero-content > p {
  max-width: 670px;
  margin: 0;
  color: var(--muted);
  font-size: 1.1rem;
}

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

.hero-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 42px;
}

.hero-points div {
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

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

.hero-points strong {
  font-size: 0.95rem;
}

.hero-points span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.82rem;
}

.hero-card {
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
}

.hero-card-top {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--primary);
  font-weight: 700;
  font-size: 0.9rem;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #22aa78;
  box-shadow: 0 0 0 7px rgba(34, 170, 120, 0.12);
}

.hero-card h2 {
  margin: 24px 0 18px;
  font-size: 1.65rem;
}

.schedule {
  display: grid;
  gap: 14px;
}

.schedule div {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

.schedule span {
  color: var(--muted);
}

.hero-card-note {
  margin-top: 24px;
  padding: 18px;
  border-radius: 16px;
  background: var(--secondary);
}

.hero-card-note strong,
.hero-card-note span {
  display: block;
}

.hero-card-note span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.88rem;
}

.section {
  padding: 96px 0;
}

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

.two-columns {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 80px;
}

.two-columns h2,
.section-heading h2,
.contact-grid h2,
.cta-box h2 {
  margin: 14px 0 0;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.text-content p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 1.08rem;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 44px;
}

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

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

.service-card {
  min-height: 280px;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  transition: 0.2s ease;
}

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

.service-number {
  display: inline-flex;
  color: var(--accent);
  font-weight: 800;
}

.service-card h3 {
  margin: 38px 0 12px;
  font-size: 1.22rem;
  line-height: 1.3;
}

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

.exam-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.exam-grid article {
  padding: 30px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
}

.exam-grid h3 {
  margin: 0 0 16px;
  color: var(--primary);
  font-size: 1.22rem;
}

.exam-grid ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 24px;
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

.cta-section {
  padding-top: 20px;
}

.cta-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 44px;
  padding: 56px;
  border-radius: 30px;
  background: var(--primary-dark);
  color: var(--white);
}

.cta-box > div {
  max-width: 740px;
}

.section-label-light {
  color: #a6ddd6;
}

.cta-box p {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.76);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 70px;
}

.contact-intro {
  max-width: 500px;
  margin: 20px 0 28px;
  color: var(--muted);
}

.contact-list {
  display: grid;
  gap: 16px;
}

.contact-list div {
  display: flex;
  flex-direction: column;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

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

.contact-list a,
.contact-list strong {
  margin-top: 3px;
  font-size: 1rem;
}

.contact-form {
  padding: 34px;
  border: 1px solid var(--border);
  border-radius: 26px;
  background: var(--light);
}

.form-row {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}

.form-row label {
  font-weight: 700;
  font-size: 0.9rem;
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
  outline: none;
  background: var(--white);
  color: var(--text);
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(13, 106, 106, 0.09);
}

.form-row textarea {
  resize: vertical;
}

.form-note {
  min-height: 22px;
  margin: 14px 0 0;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
}

.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 900;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #25d366;
  color: var(--white);
  box-shadow: 0 14px 30px rgba(37, 211, 102, 0.28);
}

.whatsapp-float svg {
  width: 30px;
  fill: currentColor;
}

.footer {
  padding: 32px 0;
  border-top: 1px solid var(--border);
  background: var(--white);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
}

.footer p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

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

  .nav {
    position: absolute;
    top: 82px;
    left: 20px;
    right: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 16px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: var(--white);
    box-shadow: var(--shadow);
  }

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

  .nav a {
    padding: 12px 10px;
  }

  .nav .btn-small {
    margin-top: 8px;
  }

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

  .hero-grid {
    gap: 46px;
  }

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

  .two-columns,
  .contact-grid {
    gap: 34px;
  }
}

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

  .brand-text small {
    display: none;
  }

  .hero {
    padding: 64px 0;
  }

  .hero h1 {
    font-size: 2.7rem;
  }

  .hero-points,
  .cards-grid,
  .exam-grid {
    grid-template-columns: 1fr;
  }

  .exam-grid ul {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 72px 0;
  }

  .hero-card,
  .contact-form {
    padding: 24px;
  }

  .cta-box {
    flex-direction: column;
    align-items: flex-start;
    padding: 34px 24px;
  }

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

  .whatsapp-float {
    right: 16px;
    bottom: 16px;
  }
}


.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.team-card {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
}

.team-card-lead {
  grid-column: 1 / -1;
  padding: 34px;
  background: linear-gradient(135deg, var(--white), var(--secondary));
}

.team-avatar {
  flex: 0 0 58px;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: var(--primary);
  color: var(--white);
  font-weight: 800;
  letter-spacing: 0.04em;
}

.team-role {
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.team-card h3 {
  margin: 5px 0 8px;
  font-size: 1.22rem;
}

.team-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}


@media (max-width: 680px) {
  .team-grid {
    grid-template-columns: 1fr;
  }

  .team-card-lead {
    grid-column: auto;
  }
}


/* Catalogue des examens et tarifs */
.catalog-controls {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(240px, 0.7fr);
  gap: 18px;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--light);
}

.catalog-field {
  display: grid;
  gap: 8px;
}

.catalog-field label {
  font-size: 0.86rem;
  font-weight: 750;
}

.catalog-field input,
.catalog-field select {
  width: 100%;
  min-height: 50px;
  padding: 0 15px;
  border: 1px solid var(--border);
  border-radius: 12px;
  outline: none;
  background: var(--white);
  color: var(--text);
}

.catalog-field input:focus,
.catalog-field select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(13, 106, 106, 0.09);
}

.catalog-meta {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin: 24px 0 18px;
  color: var(--muted);
  font-size: 0.9rem;
}

.catalog-meta strong {
  color: var(--text);
}

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

.tariff-card {
  display: flex;
  flex-direction: column;
  min-height: 176px;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--white);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.tariff-category {
  color: var(--primary);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.tariff-card h3 {
  margin: 10px 0 18px;
  font-size: 1rem;
  line-height: 1.4;
}

.tariff-price {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary-dark);
}

.tariff-price small {
  margin-left: 4px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
}

.catalog-more {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.catalog-empty {
  padding: 34px;
  border: 1px dashed var(--border);
  border-radius: 18px;
  color: var(--muted);
  text-align: center;
}

.tariff-note {
  max-width: 820px;
  margin: 24px auto 0;
  color: var(--muted);
  font-size: 0.84rem;
  text-align: center;
}

@media (max-width: 980px) {
  .tariff-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .catalog-controls,
  .tariff-grid {
    grid-template-columns: 1fr;
  }

  .catalog-meta {
    flex-direction: column;
    gap: 4px;
  }

  .tariff-card {
    min-height: 150px;
  }
}


/* Section équipements */
.equipment-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.equipment-card {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: var(--white);
  box-shadow: 0 12px 35px rgba(13, 106, 106, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.equipment-image {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--light);
}

.equipment-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.equipment-card:hover .equipment-image img {
  transform: scale(1.025);
}

.equipment-content {
  padding: 24px;
}

.equipment-content h3 {
  margin: 0 0 10px;
  font-size: 1.18rem;
  color: var(--primary-dark);
}

.equipment-content p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.equipment-note {
  max-width: 820px;
  margin: 28px auto 0;
  color: var(--muted);
  font-size: 0.9rem;
  text-align: center;
}

@media (max-width: 680px) {
  .equipment-grid {
    grid-template-columns: 1fr;
  }
}
