:root {
  --radius-default: 0.25rem;
  --radius-lg: 0.5rem;
  --radius-xl: 0.75rem;
  --radius-2xl: 1rem;
  --radius-3xl: 1.5rem;

  --max-width: 1300px;
  --gutter: 24px;
  --section-padding: 60px;
}

.material-symbols-outlined {
  font-variation-settings:
    "FILL" 0,
    "wght" 400,
    "GRAD" 0,
    "opsz" 24;
  vertical-align: middle;
}

/* Layout Utilities */
.container {
  max-width: var(--max-width);
  padding: 0 var(--gutter);
}

/* =========================================================
   HERO — CONTACT
   ========================================================= */

.hero {
  max-width: 850px;
  margin: 0 auto 64px;
  padding: 0 20px;
  text-align: center;
  position: relative;
}

/* Accent visuel */
.hero::before {
  content: "";
  display: block;
  width: 55px;
  height: 4px;
  margin: 0 auto 20px;
  border-radius: 999px;

  background: linear-gradient(90deg, var(--brand-teal), #f5a623);
}

/* Titre */
.hero h1 {
  margin: 0 0 18px;

  font-family: var(--font-family);
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.035em;

  color: var(--gray-800);
}

/* Description */
.hero p {
  max-width: 680px;
  margin: 0 auto;

  font-family: var(--font-family);
  font-size: clamp(15px, 1.5vw, 17px);
  font-weight: 400;
  line-height: 1.7;

  color: var(--gray-600);
}

/* Contact Grid */
.contact-grid {
  display: grid;
  grid-template-columns: 3fr 5fr 4fr;
  gap: 20px;
  padding-bottom: var(--section-padding);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.info-item {
  display: flex;
  gap: 16px;
}

.info-icon {
  width: 48px;
  height: 48px;
  background: var(--secondary-container);
  color: var(--brand-teal);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.2s;
}

.info-item:hover .info-icon {
  transform: scale(1.1);
}

.info-text h4 {
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 4px;
}

.info-text p {
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-800);
}

.social-icons {
  display: flex;
  gap: 16px;
  margin-top: 16px;
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--gray-500);
  color: var(--brand-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.2s;
}

.social-icon:hover {
  background: var(--brand-teal);
  color: var(--white);
  border: none;
}

.social-icon svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* Contact Form */
.contact-form-container {
  padding: 32px;
  border-radius: var(--radius-lg);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-form h3 {
  font-size: 12px;
}

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

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

label {
  font-size: 14px;
  font-weight: 600;
}

input,
select,
textarea {
  padding: 12px;
  border-radius: var(--radius-lg);
  border: 1px solid #c6cacf;
  font-family: inherit;
  font-size: 16px;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--brand-orange);
  box-shadow: 0 0 0 2px rgba(0, 105, 115, 0.1);
}

.btn-submit {
  background-color: var(--brand-teal);
  padding: 14px;
  border-radius: var(--radius-lg);
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  font-size: 14px;
}

/* Sidebar */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
  height: 100%;
}

.map-card {
  width: 100%;
  height: 256px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
  position: relative;
}

.map-placeholder {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
}

.cta-card {
  padding: 24px;
  border-radius: var(--radius-lg);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
  height: auto;
}

.cta-card h4 {
  font-size: 14px;
  margin-bottom: 24px;
}

.cta-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cta-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--surface-container-lowest);
  padding: 16px;
  border-radius: var(--radius-2xl);
  border: 1px solid var(--outline-variant);
  text-decoration: none;
  color: inherit;
  transition: all 0.2s;
}

.cta-item:hover {
  border-color: var(--secondary);
}

.cta-content {
  display: flex;
  align-items: center;
  gap: 16px;
}

.cta-icon {
  width: 40px;
  height: 40px;
  background: rgba(0, 168, 168, 0.3);
  color: var(--brand-teal);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s;
}

.cta-item:hover .cta-icon {
  transform: scale(1.1);
}

.cta-item:hover .chevron {
  opacity: 1;
}

.cta-text span {
  font-size: 14px;
  font-weight: 700;
}

.cta-text p {
  font-size: 12px;
  font-weight: 600;
  color: var(--gray-500);
}

/* Layout Utilities */
.container {
  max-width: var(--max-width);
  padding: 0 var(--gutter);
  margin: 0 auto; /* <- important pour centrer */
}

/* Contact Grid */
.contact-grid {
  display: grid;
  grid-template-columns: 3fr 5fr 4fr;
  gap: 32px; /* augmenté un peu */
  padding-bottom: var(--section-padding);
}

.social-links {
  margin-top: 16px;
  display: block;
}

.social {
  display: flex;
}

/* Contact Form */
.contact-form-container {
  padding: 32px;
  border-radius: var(--radius-lg);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); /* ombre moins forte */
  background: white;
}

.contact-form-container h3 {
  /* tu avais .contact-form h3 */
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}

.btn-submit {
  background-color: var(--brand-teal);
  padding: 14px;
  border-radius: var(--radius-lg);
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 700;
  border: none;
  cursor: pointer;
}

.map-card {
  width: 100%;
  height: 256px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.map-placeholder {
  width: 100%;
  height: 100%;
  border: 0;
}

.cta-card {
  padding: 24px;
  border-radius: var(--radius-lg);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  background: white;
}

.cta-card h4 {
  font-size: 14px;
  margin-bottom: 24px;
  font-weight: 800;
}

.cta-item:hover {
  border-color: var(--brand-teal);
}

.cta-icon {
  width: 40px;
  height: 40px;
  background: rgba(0, 168, 168, 0.3);
  color: var(--brand-teal);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s;
  flex-shrink: 0;
}

/* =========================================
   FAUX SELECT — FORMULAIRE DE CANDIDATURE
========================================= */

.cta-select {
  position: relative;
  width: 100%;
}


/* =========================================
   TRIGGER
========================================= */

.cta-select-trigger {
  width: 100%;

  display: flex;
  align-items: center;
  justify-content: space-between;

  border: none;
  cursor: pointer;

  text-align: left;

  background: transparent;

  font: inherit;
  color: inherit;
}

.cta-select-trigger .cta-chevron {
  transition: transform 0.35s ease;
}


/* rotation de la flèche */

.cta-select.open .cta-chevron {
  transform: rotate(90deg);
}


/* =========================================
   OPTIONS
========================================= */

.cta-options {
  position: absolute;

  top: calc(100% + 0.7rem);
  left: 0;
  right: 0;

  z-index: 100;

  display: flex;
  flex-direction: column;
  gap: 0.5rem;

  padding: 0.55rem;

  border: 1px solid var(--gray-200);
  border-radius: 1rem;

  background: rgba(255, 255, 255, 0.97);

  box-shadow:
    0 18px 40px rgba(15, 23, 42, 0.12),
    0 4px 12px rgba(15, 23, 42, 0.05);

  backdrop-filter: blur(12px);

  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transform:
    translateY(-8px)
    scale(0.98);

  transform-origin: top center;

  transition:
    opacity 0.25s ease,
    visibility 0.25s ease,
    transform 0.25s ease;
}


/* ouverture */

.cta-select.open .cta-options {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;

  transform:
    translateY(0)
    scale(1);
}


/* =========================================
   OPTION
========================================= */

.cta-option {
  position: relative;

  display: flex;
  align-items: center;

  gap: 0.8rem;

  min-height: 70px;

  padding: 0.75rem;

  border-radius: 0.75rem;

  color: var(--gray-800);

  text-decoration: none;

  transition:
    background 0.25s ease,
    transform 0.25s ease;
}

.cta-option:hover {
  background: var(--gray-100);

  transform: translateX(3px);
}

/* =========================================
   TEXTE
========================================= */

.option-text {
  min-width: 0;

  display: flex;
  flex-direction: column;

  gap: 0.2rem;

  flex: 1;
}

.option-text strong {
  color: var(--gray-900);

  font-size: 0.75rem;
  font-weight: 800;
}

.option-text span {
  color: var(--gray-500);

  font-size: 0.65rem;
}

/* =========================================================
   RESPONSIVE — REGROUPEMENT DES BREAKPOINTS
   ========================================================= */

/* ==========================================================
   RESPONSIVE - 1200px Tablette
========================================================== */

@media (max-width: 1200px) {
  .contact-grid {
    grid-template-columns: 1fr; /* 1 colonne */
    gap: 32px;
  }

  .contact-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 colonnes */
    gap: 24px;
  }

  .social-links {
    grid-column: 1 / -1; /* prend toute la ligne */
  }

  .contact-form-container,
  .sidebar {
    grid-column: 1 / -1;
  }
}

/* ==========================================================
   RESPONSIVE - 768px Mobile
========================================================== */

@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }

  .hero {
    margin-bottom: 48px;
    padding: 0 16px;
  }

  .hero::before {
    width: 45px;
    height: 3px;
    margin-bottom: 16px;
  }

  .hero h1 {
    font-size: 30px;
    line-height: 1.2;
    margin-bottom: 14px;
  }

  .hero p {
    font-size: 15px;
    line-height: 1.6;
  }

  .hero p br {
    display: none;
  }

  .contact-info {
    grid-template-columns: 1fr; /* 1 par ligne */
    gap: 20px;
  }

  .form-row {
    grid-template-columns: 1fr; /* nom + email empilés */
    gap: 16px;
  }

  .contact-form-container {
    padding: 24px 20px;
  }

  .map-card {
    height: 220px;
  }

  .social-icons {
    flex-wrap: wrap;
  }
}

/* ==========================================================
   RESPONSIVE - 480px Petit mobile
========================================================== */

@media (max-width: 480px) {
  .hero {
    margin-bottom: 40px;
    padding: 0 12px;
  }

  .hero h1 {
    font-size: 26px;
  }

  .hero p {
    font-size: 14px;
    line-height: 1.6;
  }
  .cta-item {
    padding: 12px;
  }
  .cta-content {
    gap: 10px;
  }
}
