/* ════════════════════════════════
   HERO FORM LUXE
════════════════════════════════ */
.order-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12rem 2rem;
  background: radial-gradient(circle at 30% 20%, rgba(201,168,76,0.08), transparent 40%),
              var(--noir);
}

/* GRID */
.order-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 1200px;
  width: 100%;
  background: rgba(15,12,9,0.6);
  border: 1px solid rgba(201,168,76,0.15);
  backdrop-filter: blur(18px);
}

/* LEFT IMAGE */
.order-left {
  display: flex;
  flex-direction: column; /* ← empile image + texte */
  align-items: center;
  justify-content: center;
  padding: 2rem;
  gap: 1.5rem; /* ← espace entre image et texte */
  position: relative;
  overflow: hidden;
}

/* IMAGE PLUS PETITE */
.order-left img {
  width: 75%;
  max-width: 320px;
  border-radius: 12px;
  border: 1px solid rgba(201,168,76,0.2);
/* mw filter: grayscale(20%) brightness(0.85); */
}

/* TEXTE PLUS VISIBLE */
.order-left-content {
  margin-top: 2rem;
  text-align: center;
}

.order-left-content h3 {
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
}

.order-left-content p {
  font-size: 0.85rem;
  color: var(--gris);
  line-height: 1.6;
}

.order-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,8,6,0.2), transparent);
}


/* RIGHT */
.order-right {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem; /* ← plus d’espace */
}
/* CARD */
.order-card {
  width: 100%;
  max-width: 480px;
}

/* TITLE */
.order-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.4rem;
  margin-bottom: 2rem;
}

/* INPUTS */
.order-card input,
.order-card textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(201,168,76,0.3);
  padding: 0.8rem 0;
  color: var(--creme);
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.3s;
}

.order-card input:focus,
.order-card textarea:focus {
  border-color: var(--or);
}

/* LABEL */
.order-card label {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--or);
  margin-bottom: 0.6rem;
}

/* RADIO */
.radio-group {
  display: flex;
  flex-wrap: wrap; /* ← IMPORTANT */
  gap: 0.8rem;
}

.radio-group label {
  flex: 1 1 auto; /* ← évite l’écrasement */
  cursor: pointer;

}

.radio-group span {
  display: block;
  width: 100%;
  text-align: center;
  white-space: nowrap;
}

.radio-group input {
  display: none;
}

.radio-group span {
  border: 1px solid rgba(201,168,76,0.3);
  padding: 0.5rem 1rem;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  transition: all 0.3s;
}

.radio-group input:checked + span {
  background: var(--or);
  color: var(--noir);
}

/* BTN */
.btn-primary-gold {
  margin-top: 1rem;
}

/* RESPONSIVE */
@media (max-width: 991px) {
  .order-wrap {
    grid-template-columns: 1fr;
  }

  .order-left {
    height: 300px;
  }
}

.order-card .col-12 {
  margin-top: 1rem;
}

.order-card label {
  display: block;
  margin-bottom: 0.8rem;
  letter-spacing: 0.18em;
}

/* Cache le vrai input */
.file-upload input[type="file"] {
  display: none;
}

/* Bouton */
.file-label {
  display: inline-block;
  padding: 0.8rem 1.8rem;
  border: 1px solid var(--or);
  color: var(--or);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.25s ease;
  margin-top:20px;
}

/* Hover luxe */
.file-label:hover {
  background: var(--or);
  color: var(--noir);
  transform: translateY(-2px);
}

/* Nom du fichier */
.file-name {
  display: block;
  margin-top: 0.8rem;
  font-size: 0.75rem;
  color: var(--gris);
}

h3 {
  color: #c9a84c;          /* couleur or */
  text-decoration: none;   /* on enlève le souligné */
  font-weight: 600;        /* un peu plus de corps */
  transition: all 0.3s;    /* effet doux au hover */
}
a.mail-link {
  color: #c9a84c;          /* couleur or */
  text-decoration: none;   /* on enlève le souligné */
  font-weight: 400;        /* un peu plus de corps */
  transition: all 0.3s;    /* effet doux au hover */
}

a.mail-link:hover {
  text-decoration: underline;  /* souligne au survol */
  color: #fff;                 /* ou changer couleur au hover */
}

/* image BG righr */
.order-right-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: url("img/bg_menina.webp");
  background-repeat: no-repeat;
  background-position: right top;           /* ou 100% 0% */
  background-size: auto 160%;                /* ← hauteur max 80% → ajuste ici si besoin */

  -webkit-mask-image: linear-gradient(to right, transparent 40%, black 60%);
          mask-image: linear-gradient(to right, transparent 40%, black 60%);

  opacity: 0;
  transform: scale(1.08);
  transform-origin: right top;
  will-change: opacity, transform;          /* améliore la fluidité de l'animation */

  transition: 
    opacity 1.8s ease-out,
    transform 2.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.order-hero.visible .order-right-bg {
  opacity: 0.85;          /* 0.8 → 0.95 selon l'intensité voulue */
  transform: scale(1);
}

/* Option animation au scroll ou au load */
.order-hero.visible .order-right-bg {
  opacity: 1;
  transform: scale(1.03);   /* léger zoom pour dynamisme */
}



/* ====================== CONTACT HERO - NOUVEAU STYLE (clair / mauve) ======================
   Aligné sur la palette et les codes visuels de order_a_portrait.php :
   fond clair, accents mauve #8e1c4a, vert #8dc63f pour les CTA, cartes
   blanches avec bordure fine et ombre douce, typographies Cormorant
   Garamond (titres) / Inter (texte courant). */

:root {
  --c-ink:     #2b2b2b;
  --c-muted:   #8a8378;
  --c-border:  #ebe6db;
  --c-accent:  #8e1c4a;
  --c-accent2: #6f1638;
  --c-cream:   #f4f1ea;
  --c-soft:    #faf7f2;
}

.contact-hero {
  position: relative;
  padding: 130px 20px 70px;
  background: var(--c-soft);
  overflow: hidden;
}

@media (max-width: 768px) {
  .contact-hero { padding: 96px 16px 50px; }
}

/* Ancien fond sombre décoratif : neutralisé, le nouveau style est clair */
.contact-right-bg { display: none; }

/* Petite intro façon hero-commercial, au-dessus du bloc contact */
.contact-hero-intro {
  position: relative;
  z-index: 2;
  max-width: 640px;
  margin: 0 auto 46px;
  text-align: center;
}
.contact-hero-intro .eyebrow {
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: 10px;
}
.contact-hero-intro h1 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: clamp(1.8rem, 6vw, 2.6rem);
  line-height: 1.15;
  color: #1a1410;
  margin-bottom: 10px;
}
.contact-hero-intro p {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  color: var(--c-muted);
  font-size: 15px;
  max-width: 480px;
  margin: 0 auto;
}

/* Carte principale : image/infos atelier à gauche, formulaire à droite */
.contact-wrap {
  position: relative;
  z-index: 2;
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 40% 60%;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 25px 70px rgba(43, 27, 34, 0.08);
}

.contact-left {
  margin: 0;
  position: relative;
  min-height: auto;
  max-height: none !important;
  border: none;
  border-right: 1px solid var(--c-border);
  display: flex;
  flex-direction: column;
  background: var(--c-cream);
}

.contact-img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
  filter: none;
}

/* Le sombre dégradé plein cadre disparaît : le texte passe sous la photo
   dans un panneau clair, plus lisible et raccord avec le reste du site */
.contact-overlay,
.contact-overlay::after {
  display: none;
}

.contact-left-content {
  position: static;
  padding: 34px 40px 44px;
  color: var(--c-ink);
  z-index: auto;
}

.contact-left-content h3 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: 1.5rem;
  margin-bottom: 14px;
  color: var(--c-accent);
}

.contact-left-content p,
.contact-left-content div {
  color: #5c554a;
  font-size: 14px;
  line-height: 1.75;
}

.mail-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.mail-link {
  color: var(--c-accent);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  transition: color .2s ease;
}
.mail-link:hover {
  color: var(--c-accent2);
  text-decoration: underline;
}

.btn-whatsapp {
  background: #25D366;
  color: white;
  border: none;
  padding: 14px 30px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  margin-top: 22px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.btn-whatsapp:hover {
  background: #20ba5a;
  transform: translateY(-3px);
}

/* ==================== FORMULAIRE ==================== */
.contact-right {
  background: #fff;
  padding: 60px 56px;
  display: flex;
  align-items: center;
}

.contact-card {
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
}

.contact-title {
  color: var(--c-accent);
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: 2.3rem;
  text-align: center;
  margin-bottom: 40px;
  letter-spacing: 0.5px;
}

.contact-card input,
.contact-card textarea {
  width: 100%;
  padding: 15px 18px;
  background: #f9f7f4;
  border: 1px solid var(--c-border);
  border-radius: 8px;
  color: var(--c-ink);
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  transition: all 0.25s ease;
}

.contact-card input::placeholder,
.contact-card textarea::placeholder {
  color: #a39c8e;
}

.contact-card input:focus,
.contact-card textarea:focus {
  border-color: var(--c-accent);
  background: #fff;
  outline: none;
  box-shadow: 0 0 0 3px rgba(142, 28, 74, 0.12);
}

.contact-card textarea {
  resize: vertical;
  min-height: 150px;
}

/* Espacement entre les champs */
.row.g-4 > div {
  margin-bottom: 10px;
}

.contact-card .btn-primary-green.btn-sm {
  padding: 14px 46px;
  font-size: 14px;
}

/* Message succès */
.success-message {
  display: none;
  text-align: center;
  padding: 32px;
  background: rgba(141, 198, 63, 0.12);
  border: 1px solid var(--green, #8dc63f);
  border-radius: 12px;
  margin-top: 28px;
  color: #4f7f1c;
}
.success-message h3 {
  color: #4f7f1c;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
}

/* Responsive */
@media (max-width: 992px) {
  .contact-wrap {
    grid-template-columns: 1fr;
    border-radius: 14px;
  }
  .contact-left {
    border-right: none;
    border-bottom: 1px solid var(--c-border);
  }
  .contact-img { height: 260px; }
  .contact-right {
    padding: 44px 26px;
  }
  .contact-title {
    font-size: 1.9rem;
  }
}

@media (max-width: 480px) {
  .contact-right { padding: 36px 20px; }
  .contact-left-content { padding: 28px 24px 34px; }
}