
/* =========================
   VARIABLES
   ========================= */
:root{
  --bg-dark: #0f172a;
  --overlay: rgba(10,15,25,0.65);
  --text-light: #ffffff;

  /* espace stable ~1cm visuel */
  --gap-1cm-px: 38px;

  /* rotateur: hauteur stable */
  --rotator-h: 420px;
  --rotator-h-mobile: 260px;
}

/* =========================
   RESET / BASE
   ========================= */
*{ box-sizing:border-box; margin:0; padding:0; }

html, body{ height:100%; }

body{
  font-family: Arial, Helvetica, sans-serif;
  background: var(--bg-dark);
  color: var(--text-light);
  display:flex;
  flex-direction:column;
}

/* =========================
   BACKGROUND
   ========================= */
.bg-video{
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  z-index: -3;
  pointer-events:none;
}

.page-overlay{
  position: fixed;
  inset: 0;
  background: rgb(28, 33, 42);
  z-index: -2;
}

.bg-logo{
  position: fixed;
  right: 0;
  bottom: 0;
  width: 60vw;
  opacity: 0.035;
  z-index: -1;
  pointer-events:none;
}

/* Home: pas de video */
.page-home .bg-video{ display:none; }

/* =========================
   IMAGE FIXE FULLSCREEN
   ========================= */
.imagexxx{
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;

  object-fit: cover;
  object-position: center;

  z-index: -0;
  pointer-events: none;
}

/* =========================
   CONTENT WRAPPER
   ========================= */
.page-content{
  max-width: 1200px;
  margin: 0 auto;
  padding: 110px 6% 60px;
  flex: 1 0 auto;
}

/* =========================
   I18N VISIBILITY
   ========================= */
[data-lang]{ display:inline; }
/* défaut FR */
[data-lang]:not([data-lang="fr"]){ display:none; }



/* =========================================================
   CONTACT – SPLIT PRO (COMPATIBLE AVEC TON HTML)
   - Split 50/50 plein écran
   - 1cm de marge dans chaque moitié
   - cartes centrées
   - photo carrée
   ========================================================= */

/* (si ton site limite .page-content, on libère la page contact) */
.page-contact .page-content{
  max-width: none;
  width: 100%;
  margin: 0;
  padding-left: 0;
  padding-right: 0;
}

/* Split 50/50 + 1cm aux bords + 1cm entre colonnes */
.page-contact .contact-split{
  display: grid;
  grid-template-columns: 1fr 1fr;

  /* 1cm entre les 2 moitiés */
  column-gap: 1cm;

  /* 1cm à gauche et à droite de l'écran */
  padding-left: 1cm;
  padding-right: 1cm;

  width: 100%;
  align-items: stretch;
}

/* Chaque moitié centre son contenu */
.page-contact .contact-left,
.page-contact .contact-right{
  display: flex;
  align-items: center;      /* centre verticalement */
  justify-content: center;  /* centre horizontalement */
  min-width: 0;
}

/* Chaque carte: prend toute la moitié mais garde 1cm de marge interne "visuelle" */
.page-contact .contact-card{
  width: 100%;
  max-width: none;

  border-radius: 18px;
  background: rgba(15,23,42,0.55);
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(6px);

  padding: 22px;
}

/* Titres */
.page-contact .contact-card-header{ margin-bottom: 14px; }

.page-contact .contact-title{
  font-size: 30px;
  font-weight: 800;
  letter-spacing: 0.2px;
  margin-bottom: 8px;
}

.page-contact .contact-subtitle{
  opacity: 0.85;
  line-height: 1.5;
  font-size: 15px;
}

/* =========================
   PHOTO (rotateur) CARRÉE
   ========================= */
.page-contact .contact-media{ margin: 14px 0 16px; }

/* carré parfait */
.page-contact .home-image-rotator{
  width: 70%;
  aspect-ratio: 1 / 1;
  height: auto;

  position: relative;
  border-radius: 16px;
  overflow: hidden;
}

/* image plein cadre */
.page-contact .home-image-rotator > img{
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

/* Actions / infos */
.page-contact .contact-actions{ margin: 10px 0 16px; }
.page-contact .siege-address{ line-height: 1.6; }

/* =========================
   FORMULAIRE PRO (large)
   ========================= */
.page-contact .contact-form-pro{
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 6px;
}

.page-contact .field{
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.page-contact .field-label{
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.3px;
  opacity: 0.9;
}

/* champs */
.page-contact .contact-form-pro input,
.page-contact .contact-form-pro textarea{
  width: 100%;
  padding: 16px 16px;
  font-size: 16px;
  color: #fff;

  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 12px;

  outline: none;
  transition: border-color .2s ease, background .2s ease;
}

.page-contact .contact-form-pro input:focus,
.page-contact .contact-form-pro textarea:focus{
  border-color: rgba(255,255,255,0.7);
  background: rgba(255,255,255,0.08);
}

/* Email + Message plus grands (comme tu veux) */
.page-contact .contact-form-pro input[type="email"]{
  padding: 18px 16px;
  font-size: 17px;
}

.page-contact .contact-form-pro textarea{
  min-height: 260px;
  font-size: 17px;
  padding: 18px 16px;
  resize: vertical;
}

/* actions */
.page-contact .form-actions{
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.page-contact .btn-primary{
  padding: 16px 34px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.35);
  background: rgba(255,255,255,0.10);
  color: #fff;
  font-weight: 800;
  cursor: pointer;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}

.page-contact .btn-primary:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,0.14);
  border-color: rgba(255,255,255,0.6);
}

.page-contact .form-success{
  font-weight: 700;
  color: #7CFC9A;
}

/* =========================
   MOBILE
   ========================= */
@media (max-width: 900px){
  .page-contact .contact-split{
    grid-template-columns: 1fr;
    column-gap: 0;
    padding-left: 5%;
    padding-right: 5%;
    row-gap: 22px;
  }

  .page-contact .contact-left,
  .page-contact .contact-right{
    align-items: stretch;
  }

  .page-contact .contact-form-pro textarea{
    min-height: 200px;
  }
}
.phone a{
  color: inherit;
  text-decoration: none;
}

.phone a:hover{
  text-decoration: underline;
}