/* ================================
   SESSE & CO — Contact & SAV
   ================================ */

/* ================================
   NAV ACTIVE STATE
   ================================ */

.nav-active {
  color: var(--red) !important;
}

.nav-active::after {
  width: 100% !important;
  background: var(--red) !important;
}

/* ================================
   HERO COMPACT
   ================================ */

.contact-hero {
  background: var(--red);
  position: relative;
  overflow: hidden;
  padding: 72px 32px 64px;
  text-align: center;
}

.contact-hero::before {
  content: '';
  position: absolute;
  top: -60%;
  left: -8%;
  width: 35%;
  height: 220%;
  background: rgba(255, 255, 255, 0.04);
  transform: rotate(18deg);
  pointer-events: none;
}

.contact-hero::after {
  content: '';
  position: absolute;
  bottom: -60%;
  right: -8%;
  width: 28%;
  height: 220%;
  background: rgba(255, 255, 255, 0.04);
  transform: rotate(-18deg);
  pointer-events: none;
}

.contact-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin: 0 auto;
}

.contact-hero-eyebrow {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 16px;
  font-family: 'Jost', sans-serif;
}

.contact-hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3.6rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 16px;
}

.contact-hero-sub {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 300;
  letter-spacing: 0.3px;
  margin-bottom: 28px;
}

.contact-hero-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.65);
  letter-spacing: 0.5px;
}

.contact-hero-meta i {
  color: var(--gold-light);
  margin-right: 5px;
}

.contact-hero-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
}

/* ================================
   SECTION PRINCIPALE — GRID
   ================================ */

.contact-main { background: var(--cream); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 64px;
  align-items: start;
}

/* ================================
   FORMULAIRE
   ================================ */

.contact-form-wrap {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 48px;
}

.contact-form-header {
  margin-bottom: 40px;
}

.contact-form-header h2 {
  font-size: 2.2rem;
  margin: 10px 0 12px;
}

.contact-form-header p {
  color: var(--text-light);
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.7;
}

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

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

.form-group label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-mid);
}

.required {
  color: var(--red);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--border);
  background: var(--cream);
  font-family: 'Jost', sans-serif;
  font-size: 0.9rem;
  color: var(--text);
  transition: var(--transition);
  outline: none;
  border-radius: 0;
  appearance: none;
  -webkit-appearance: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-light);
  font-weight: 300;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--red);
  background: var(--white);
  box-shadow: 0 0 0 3px var(--red-pale);
}

.form-group input.is-invalid,
.form-group textarea.is-invalid,
.form-group select.is-invalid {
  border-color: var(--red);
  background: var(--red-ultra);
}

.form-group input.is-valid,
.form-group textarea.is-valid,
.form-group select.is-valid {
  border-color: #2E7D32;
  background: #F1F8F1;
}

.form-group textarea {
  resize: vertical;
  min-height: 140px;
  line-height: 1.7;
}

/* Input avec icône WhatsApp */
.input-with-icon {
  position: relative;
}

.input-with-icon i {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #25D366;
  font-size: 1rem;
  pointer-events: none;
}

.input-with-icon input {
  padding-left: 40px;
}

/* Select custom */
.select-wrap {
  position: relative;
}

.select-wrap select {
  cursor: pointer;
  padding-right: 40px;
}

.select-arrow {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-light);
  font-size: 0.75rem;
  pointer-events: none;
  transition: var(--transition);
}

.select-wrap:focus-within .select-arrow {
  color: var(--red);
  transform: translateY(-50%) rotate(180deg);
}

/* Messages d'erreur inline */
.field-error {
  font-size: 0.72rem;
  color: var(--red);
  font-weight: 500;
  min-height: 16px;
  display: block;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.field-error.visible {
  opacity: 1;
}

/* Bouton submit */
.btn-submit {
  width: 100%;
  justify-content: center;
  padding: 16px 32px;
  font-size: 0.78rem;
  margin-top: 8px;
  position: relative;
}

.btn-submit.loading {
  pointer-events: none;
  opacity: 0.75;
}

.btn-submit.loading i {
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.form-note {
  margin-top: 14px;
  font-size: 0.75rem;
  color: var(--text-light);
  text-align: center;
}

/* ================================
   INFOS CONTACT — DROITE
   ================================ */

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

.contact-info-header { margin-bottom: 4px; }

.contact-info-header h2 {
  font-size: 2rem;
  margin: 10px 0 10px;
}

.contact-info-header p {
  color: var(--text-light);
  font-size: 0.88rem;
  font-weight: 300;
}

/* Cards */
.contact-card {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 24px;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  transition: var(--transition);
}

.contact-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.contact-card--whatsapp {
  border-left: 3px solid #25D366;
}

.contact-card-icon {
  width: 46px;
  height: 46px;
  background: #E8F8EE;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.2rem;
  color: #25D366;
}

.contact-card-icon--red {
  background: var(--red-pale);
  color: var(--red);
}

.contact-card-icon--gold {
  background: var(--gold-pale);
  color: var(--gold);
}

.contact-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.contact-card-label {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--text-light);
}

.contact-card-value {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
}

.contact-card-hint {
  font-size: 0.78rem;
  color: var(--text-light);
  font-weight: 300;
}

/* Bouton WhatsApp dans la card */
.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  padding: 10px 20px;
  background: #25D366;
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 600;
  font-family: 'Jost', sans-serif;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.btn-whatsapp:hover {
  background: #1DAA55;
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
}

/* Horaires */
.contact-schedule {
  background: var(--warm-gray);
  border: 1px solid var(--border);
  padding: 24px;
}

.contact-schedule-header {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 16px;
}

.contact-schedule-header i {
  color: var(--gold);
}

.contact-schedule-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 18px;
}

.contact-schedule-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 10px;
}

.contact-schedule-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.contact-schedule-list li span {
  color: var(--text-mid);
}

.contact-schedule-list li strong {
  font-weight: 600;
  color: var(--text);
}

.contact-response-time {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--text-light);
  background: var(--red-ultra);
  border: 1px solid var(--red-pale);
  padding: 10px 14px;
}

.contact-response-time i {
  color: var(--gold);
}

.contact-response-time strong {
  color: var(--red);
  font-weight: 600;
}

/* ================================
   SECTION FAQ
   ================================ */

.faq-section {
  background: var(--warm-gray);
}

.faq-grid {
  display: flex;
  flex-direction: column;
  gap: 2px;
  max-width: 860px;
  margin: 0 auto;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item.is-open {
  border-color: rgba(155, 27, 27, 0.25);
  box-shadow: var(--shadow-sm);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 28px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: var(--transition);
}

.faq-question:hover {
  background: var(--red-ultra);
}

.faq-item.is-open .faq-question {
  background: var(--red-ultra);
}

.faq-question span:first-child {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
  flex: 1;
}

.faq-item.is-open .faq-question span:first-child {
  color: var(--red);
}

.faq-icon {
  width: 32px;
  height: 32px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--text-light);
  font-size: 0.7rem;
  transition: var(--transition);
}

.faq-item.is-open .faq-icon {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
              padding 0.3s ease,
              opacity 0.3s ease;
  opacity: 0;
}

.faq-answer.is-open {
  opacity: 1;
}

.faq-answer p {
  padding: 0 28px 24px;
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.85;
  font-weight: 300;
  border-top: 1px solid var(--border);
  padding-top: 18px;
}

.faq-answer strong {
  color: var(--text);
  font-weight: 600;
}

/* ================================
   BANDEAU FINAL CTA
   ================================ */

.contact-cta {
  background: var(--red);
  padding: 80px 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.contact-cta::before {
  content: '';
  position: absolute;
  top: -40%;
  left: -6%;
  width: 30%;
  height: 200%;
  background: rgba(255, 255, 255, 0.04);
  transform: rotate(15deg);
}

.contact-cta::after {
  content: '';
  position: absolute;
  bottom: -40%;
  right: -6%;
  width: 25%;
  height: 200%;
  background: rgba(255, 255, 255, 0.04);
  transform: rotate(-15deg);
}

.contact-cta-inner {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
}

.contact-cta-icon {
  font-size: 3rem;
  color: #25D366;
  margin-bottom: 16px;
  filter: drop-shadow(0 4px 12px rgba(37, 211, 102, 0.4));
}

.contact-cta-eyebrow {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 12px;
  font-family: 'Jost', sans-serif;
}

.contact-cta h2 {
  font-size: 2.4rem;
  color: var(--white);
  margin-bottom: 16px;
  line-height: 1.2;
}

.contact-cta p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9rem;
  margin-bottom: 36px;
  font-weight: 300;
}

.btn-cta-white {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  background: var(--white);
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 600;
  font-family: 'Jost', sans-serif;
  letter-spacing: 2px;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.btn-cta-white i {
  color: #25D366;
  font-size: 1.1rem;
}

.btn-cta-white:hover {
  background: var(--gold-pale);
  color: var(--red);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* ================================
   TOAST NOTIFICATION
   ================================ */

.toast {
  position: fixed;
  bottom: 100px;
  right: 30px;
  background: var(--white);
  border-left: 4px solid #2E7D32;
  padding: 18px 20px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.16);
  z-index: 1000;
  max-width: 360px;
  width: calc(100% - 60px);
  transform: translateX(calc(100% + 40px));
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 0;
}

.toast.is-visible {
  transform: translateX(0);
}

.toast-icon {
  color: #2E7D32;
  font-size: 1.4rem;
  flex-shrink: 0;
  margin-top: 1px;
}

.toast-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.toast-body strong {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  display: block;
}

.toast-body span {
  font-size: 0.78rem;
  color: var(--text-light);
  font-weight: 300;
  line-height: 1.5;
}

.toast-close {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-light);
  font-size: 0.8rem;
  padding: 2px;
  transition: var(--transition);
  flex-shrink: 0;
}

.toast-close:hover { color: var(--text); }

/* ================================
   RESPONSIVE
   ================================ */

@media (max-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .contact-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: start;
  }

  .contact-info-header {
    grid-column: 1 / -1;
    margin-bottom: 0;
  }

  .contact-schedule {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .contact-hero { padding: 56px 24px 48px; }
  .contact-hero-title { font-size: 2.6rem; }
  .contact-hero-meta { gap: 10px; font-size: 0.72rem; }

  .contact-form-wrap { padding: 32px 24px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }

  .contact-info { grid-template-columns: 1fr; }

  .contact-cta h2 { font-size: 1.9rem; }

  .faq-question { padding: 18px 20px; }
  .faq-answer p { padding: 0 20px 20px; padding-top: 14px; }

  .toast { right: 16px; bottom: 90px; max-width: calc(100% - 32px); }
}

@media (max-width: 480px) {
  .contact-hero-title { font-size: 2rem; }
  .contact-hero-dot { display: none; }
  .contact-hero-meta { flex-direction: column; gap: 8px; }

  .contact-form-header h2 { font-size: 1.8rem; }
  .contact-info-header h2 { font-size: 1.7rem; }
  .contact-cta h2 { font-size: 1.6rem; }
  .btn-cta-white { width: 100%; justify-content: center; }
}
