/* ============================================================
   PHUKET360 — contact.css
   Page /contact/. Mobile-first.
   ============================================================ */

/* ============================================================
   HERO
   ============================================================ */
.contact-hero {
  background: var(--ocean-deep);
  min-height: 200px;
  padding: 56px 24px 40px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-hero-inner {
  max-width: 800px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.contact-hero h1 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(2rem, 5vw, 2.8rem);
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 0;
}

.contact-breadcrumb {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
}

.contact-breadcrumb a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
}

.contact-breadcrumb a:hover {
  color: var(--soleil);
}

.contact-breadcrumb .bc-sep {
  display: flex;
  align-items: center;
  opacity: 0.5;
}

.contact-breadcrumb .bc-sep svg {
  width: 12px;
  height: 12px;
  stroke: #fff;
}

.contact-breadcrumb .bc-current {
  color: rgba(255,255,255,0.6);
}

/* ============================================================
   SECTION PRINCIPALE
   ============================================================ */
.contact-main {
  padding: 48px 16px 80px;
  background: var(--sable);
}

.contact-main .container {
  max-width: 1000px;
  margin: 0 auto;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

/* ============================================================
   COLONNE INFOS
   ============================================================ */
.contact-info h2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--ocean-deep);
  margin: 0 0 12px;
}

.contact-info-intro {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.6;
  margin: 0 0 28px;
}

.contact-info-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-info-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--text);
}

.contact-info-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: rgba(23, 165, 137, 0.1);
  border-radius: 50%;
  flex-shrink: 0;
}

.contact-info-icon svg {
  width: 18px;
  height: 18px;
  stroke: var(--emeraude);
  flex-shrink: 0;
}

/* ============================================================
   COLONNE FORMULAIRE
   ============================================================ */
.contact-form-col {
  background: #fff;
  border-radius: 14px;
  padding: 24px 16px;
  box-shadow: var(--shadow-sm);
  overflow-x: hidden;
}

/* ============================================================
   FORMULAIRE
   ============================================================ */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

.contact-field label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
}

.contact-field label span {
  color: #E63946;
}

.contact-field input,
.contact-field select,
.contact-field textarea {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  border: 1.5px solid #ddd;
  border-radius: var(--radius);
  padding: 11px 14px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.93rem;
  color: var(--text);
  background: #fff;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  appearance: none;
}

.contact-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%237F8C8D' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
  cursor: pointer;
}

.contact-field textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
  border-color: var(--ocean-light);
  box-shadow: 0 0 0 3px rgba(46, 134, 193, 0.12);
}

.contact-field input.is-error,
.contact-field select.is-error,
.contact-field textarea.is-error {
  border-color: #E63946;
}

.contact-error {
  font-size: 0.8rem;
  color: #E63946;
  line-height: 1.4;
}

/* ============================================================
   BOUTON SUBMIT
   ============================================================ */
.contact-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  background: var(--soleil);
  color: var(--ocean-deep);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: opacity var(--transition), transform var(--transition);
  align-self: flex-start;
}

.contact-submit svg {
  width: 16px;
  height: 16px;
  stroke: var(--ocean-deep);
  flex-shrink: 0;
}

.contact-submit:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}

/* ============================================================
   CONFIRMATION
   ============================================================ */
.contact-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 48px 24px;
  text-align: center;
  background: #f0fdf4;
  border: 1.5px solid #bbf7d0;
  border-radius: 12px;
}

.contact-success svg {
  width: 48px;
  height: 48px;
  stroke: var(--jungle);
  flex-shrink: 0;
}

.contact-success p {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--jungle);
  margin: 0;
}

.contact-back-link {
  font-size: 0.9rem;
  color: var(--ocean-light);
  text-decoration: none;
  font-weight: 600;
}

.contact-back-link:hover {
  text-decoration: underline;
}

/* reCAPTCHA : widget fixe 304px, on réduit visuellement sur mobile */
.g-recaptcha {
  transform: scale(0.9);
  transform-origin: 0 0;
}

/* ============================================================
   DESKTOP >= 768px
   ============================================================ */
@media (min-width: 768px) {

  .contact-main {
    padding: 56px 24px 96px;
  }

  .contact-wrapper {
    grid-template-columns: 1fr 1.5fr;
    gap: 48px;
    align-items: start;
  }

  .contact-form-col {
    padding: 40px 36px;
  }

  .g-recaptcha {
    transform: none;
  }

}
