/* ==========================================================================
   F. Treuthardt — site styles
   Extracted verbatim from the "Site Treuthardt B" design (exact values).
   ========================================================================== */

* { box-sizing: border-box; }
html, body { margin: 0; }
::selection { background: #1F5FB0; color: #fff; }

body {
  font-family: 'Space Grotesk', sans-serif;
  color: #14171C;
  background: #ffffff;
  min-height: 100vh;
}

/* ---------- Header ---------- */
.tt-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #ececec;
}
.tt-header__inner {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 28px;
}
.tt-brand { display: block; text-decoration: none; color: inherit; line-height: 1.05; }
.tt-logo { display: block; height: 44px; width: auto; }
.tt-brand__name { font-size: 17px; font-weight: 700; letter-spacing: 0.01em; }
.tt-brand__tag {
  font-size: 8.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #9aa1a8;
  margin-top: 2px;
}
.tt-nav { display: flex; gap: 26px; align-items: center; }
.tt-navlink {
  font-size: 13.5px;
  font-weight: 500;
  color: #5a626b;
  text-decoration: none;
  padding-bottom: 3px;
  border-bottom: 2px solid transparent;
}
.tt-navlink--active { color: #14171C; border-bottom-color: #1F5FB0; }
.tt-navlink--contact {
  font-size: 13.5px;
  font-weight: 600;
  color: #fff;
  background: #14171C;
  padding: 9px 16px;
  border-radius: 30px;
  border-bottom: none;
  text-decoration: none;
}

/* ---------- Shared bits ---------- */
.tt-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #1F5FB0;
  margin-bottom: 14px;
}
.tt-ph-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #aab0b6;
}
.tt-ph-label--sm { font-size: 9px; letter-spacing: 0.12em; }

.tt-btn {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  padding: 13px 26px;
  border-radius: 30px;
  text-decoration: none;
}
.tt-btn--dark { background: #14171C; color: #fff; }
.tt-btn--outline { border: 1.5px solid #d7dbe0; color: #14171C; }

/* ---------- Page wrappers ---------- */
.tt-page { max-width: 1080px; margin: 0 auto; padding: 72px 28px 64px; }
.tt-page__title {
  font-size: 46px;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin: 0;
}
.tt-page__title--pres { max-width: 680px; }
.tt-page__title--lead { margin-bottom: 44px; max-width: 640px; }

/* ---------- Accueil : hero ---------- */
.tt-hero { max-width: 1080px; margin: 0 auto; padding: 88px 28px 64px; text-align: center; }
.tt-hero__eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #1F5FB0;
  margin-bottom: 22px;
}
.tt-hero__title {
  font-size: 60px;
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.025em;
  margin: 0 auto;
  max-width: 760px;
}
.tt-hero__lead {
  font-size: 17px;
  line-height: 1.6;
  color: #5a626b;
  margin: 26px auto 34px;
  max-width: 520px;
}
.tt-hero__actions { display: flex; gap: 12px; justify-content: center; }

/* ---------- Shared : media fill ---------- */
.tt-img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* ---------- Accueil : video ---------- */
.tt-media-wrap { max-width: 1080px; margin: 0 auto; padding: 0 28px; }
.tt-video-player {
  display: block;
  width: 100%;
  height: 440px;
  object-fit: cover;
  border-radius: 14px;
  background: #000;
}
.tt-video-caption { text-align: center; margin-top: 14px; }

/* ---------- Accueil : description ---------- */
.tt-desc { max-width: 760px; margin: 0 auto; padding: 64px 28px; }
.tt-desc__text { font-size: 18px; line-height: 1.7; color: #3a4148; margin: 0; }

/* ---------- Grey section + service cards ---------- */
.tt-section-grey { background: #f6f7f8; border-top: 1px solid #ececec; }
.tt-section-grey__inner { max-width: 1080px; margin: 0 auto; padding: 64px 28px; }
.tt-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 34px;
}
.tt-section-head__title { font-size: 30px; font-weight: 700; letter-spacing: -0.02em; margin: 0; }
.tt-section-head__link { font-size: 13.5px; font-weight: 600; color: #1F5FB0; text-decoration: none; }
.tt-cards-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 18px; }
.tt-card { background: #fff; border: 1px solid #ececec; border-radius: 12px; padding: 24px; }
.tt-card__icon { width: 34px; height: 34px; border-radius: 8px; background: #EAF1FA; margin-bottom: 16px; }
.tt-card__title { font-size: 16px; font-weight: 600; }
.tt-card__text { font-size: 13px; line-height: 1.55; color: #7a818a; margin: 8px 0 0; }

/* ---------- Présentation ---------- */
.tt-pres-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 44px;
  align-items: center;
  margin-top: 52px;
}
.tt-pres__p-intro { font-size: 16px; line-height: 1.7; color: #3a4148; margin: 0 0 18px; }
.tt-pres__p { font-size: 15px; line-height: 1.7; color: #5a626b; margin: 0 0 18px; }
.tt-pres__p--last { margin: 0; }
.tt-pres__photo {
  height: 340px;
  border-radius: 14px;
  background: #f1f3f5;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tt-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 56px;
}
.tt-stat { border-top: 2px solid #14171C; padding-top: 16px; }
.tt-stat__num { font-size: 38px; font-weight: 700; letter-spacing: -0.03em; }
.tt-stat__unit { font-size: 20px; }
.tt-stat__label { font-size: 13px; color: #7a818a; margin-top: 2px; }
.tt-team {
  margin-top: 56px;
  background: #f6f7f8;
  border: 1px solid #ececec;
  border-radius: 14px;
  padding: 36px;
}
.tt-team__title { font-size: 18px; font-weight: 700; margin-bottom: 12px; }
.tt-team__text { font-size: 15px; line-height: 1.7; color: #5a626b; margin: 0; max-width: 760px; }

/* ---------- Services ---------- */
.tt-services-list { display: flex; flex-direction: column; gap: 18px; }
.tt-service {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 28px;
  align-items: center;
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 14px;
  padding: 18px;
  padding-right: 32px;
}
.tt-service__photo {
  height: 150px;
  border-radius: 10px;
  background: #f1f3f5;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tt-service__title { font-size: 20px; font-weight: 700; }
.tt-service__text { font-size: 14.5px; line-height: 1.65; color: #5a626b; margin: 8px 0 0; }
.tt-service-box { background: #fff; border: 1px solid #ececec; border-radius: 14px; padding: 32px; }
.tt-service-box__title { font-size: 20px; font-weight: 700; }
.tt-service-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 18px; }
.tt-service-grid__label { font-size: 13px; font-weight: 600; color: #1F5FB0; margin-bottom: 6px; }
.tt-service-grid__text { font-size: 14px; line-height: 1.6; color: #5a626b; margin: 0; }

/* ---------- Contact ---------- */
.tt-contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 44px; align-items: start; }
.tt-contact__col { display: flex; flex-direction: column; gap: 28px; }
.tt-contact__label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #9aa1a8;
  margin-bottom: 8px;
}
.tt-contact__value { font-size: 16px; line-height: 1.6; color: #14171C; }
.tt-contact__value--phone { line-height: 1.7; }
.tt-contact__email { font-size: 16px; color: #1F5FB0; text-decoration: none; font-weight: 600; }
.tt-hours__row {
  display: flex;
  justify-content: space-between;
  max-width: 260px;
  font-size: 15px;
  padding: 6px 0;
  border-bottom: 1px solid #ececec;
}
.tt-hours__row--last { border-bottom: none; }
.tt-hours__day { color: #5a626b; }
.tt-hours__time { font-weight: 600; }
.tt-hours__time--closed { font-weight: 600; color: #c0392b; }
.tt-map-frame {
  display: block;
  width: 100%;
  height: 420px;
  border: 0;
  border-radius: 14px;
}

/* ---------- Footer ---------- */
.tt-footer { background: #14171C; color: #cfd4da; margin-top: 24px; }
.tt-footer__inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 48px 28px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}
.tt-footer__brand { font-size: 17px; font-weight: 700; color: #fff; }
.tt-footer__addr { font-size: 13px; line-height: 1.7; color: #9aa1a8; margin-top: 10px; }
.tt-footer__cols { display: flex; gap: 48px; }
.tt-footer__col { display: flex; flex-direction: column; gap: 10px; }
.tt-footer__link { font-size: 13.5px; color: #cfd4da; text-decoration: none; }
.tt-footer__bar { border-top: 1px solid rgba(255, 255, 255, .08); }
.tt-footer__bar-inner { max-width: 1080px; margin: 0 auto; padding: 18px 28px; font-size: 12px; color: #6a727b; }

/* ---------- Responsive ---------- */

/* Defensive: never let media overflow its container */
img, video, iframe { max-width: 100%; }

/* Tablet & below: collapse the desktop grids */
@media (max-width: 860px) {
  .tt-cards-3,
  .tt-pres-grid,
  .tt-stats,
  .tt-service-grid,
  .tt-contact-grid { grid-template-columns: 1fr; }
  .tt-stats { grid-template-columns: 1fr 1fr; }
  .tt-service { grid-template-columns: 1fr; }
  .tt-pres-grid { gap: 32px; }
  .tt-contact-grid { gap: 32px; }
  .tt-hero__title { font-size: 44px; }
  .tt-page__title { font-size: 36px; }
  .tt-nav { gap: 16px; }
}

/* Phone: stack the header nav and scale down typography/spacing */
@media (max-width: 640px) {
  .tt-header__inner {
    flex-direction: column;
    gap: 12px;
    padding: 14px 20px;
  }
  .tt-nav {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px 18px;
  }

  .tt-page { padding: 48px 20px; }
  .tt-hero { padding: 52px 20px 44px; }
  .tt-media-wrap { padding-left: 20px; padding-right: 20px; }
  .tt-section-grey__inner { padding-left: 20px; padding-right: 20px; }
  .tt-desc { padding-left: 20px; padding-right: 20px; }
  .tt-footer__inner { padding-left: 20px; padding-right: 20px; }
  .tt-footer__bar-inner { padding-left: 20px; padding-right: 20px; }

  .tt-hero__title { font-size: 34px; }
  .tt-hero__lead { font-size: 16px; margin-top: 20px; }
  .tt-hero__actions { flex-direction: column; align-items: center; }
  .tt-hero__actions .tt-btn { width: 100%; max-width: 320px; text-align: center; }

  .tt-page__title { font-size: 30px; }
  .tt-page__title--lead { margin-bottom: 32px; }
  .tt-desc__text { font-size: 16px; }

  .tt-video-player { height: 240px; }
  .tt-pres__photo { height: 240px; }
  .tt-map-frame { height: 320px; }

  .tt-pres-grid { margin-top: 36px; }
  .tt-stats { gap: 14px; margin-top: 40px; }
  .tt-stat__num { font-size: 32px; }
  .tt-team { margin-top: 40px; padding: 28px 24px; }

  .tt-section-head__title { font-size: 24px; }
  .tt-service { padding: 16px; }
  .tt-service-box { padding: 24px; }
}

/* Very small phones */
@media (max-width: 380px) {
  .tt-hero__title { font-size: 30px; }
  .tt-page__title { font-size: 27px; }
}
