/**
 * conversion.css — Conciergerie Privée Suzosky
 * Styles for conversion-optimized homepage sections (PACK 3)
 * Palette: or #c9ab81 / #b8956f — bleu nuit #1e2e42
 */

/* ═══════════════════════════════════════════════════════════════════
   HERO OVERLAY
   ═══════════════════════════════════════════════════════════════════ */

/* Replace vertical centering with top-alignment.
   The original template used vertical-align:middle for the search tabs alone.
   With hero-conversion added, centering causes overlap on smaller viewports.
   Top-alignment + explicit padding gives a deterministic, clean layout. */
#header #banner .css-table-cell {
  vertical-align: top;
  padding-top: 140px; /* toolbar 40px + nav 70px = 110px + 30px breathing room */
}

/* Clip any overflow so banner content never bleeds into the section below */
#header #banner {
  overflow: hidden;
}

.hero-conversion {
  position: relative;
  padding: 0 0 12px;
  text-align: center;
  z-index: 2;
}

/* Tight spacing between hero and tabs (original 110px was for nav clearance — now handled by cell padding) */
#header .hero-conversion ~ .banner-search .banner-search-inner {
  margin-top: 10px;
}
.hero-conversion h1 {
  font-family: 'Roboto Slab', serif;
  color: #fff;
  font-size: 2.4rem;
  line-height: 1.25;
  text-shadow: 0 2px 12px rgba(0,0,0,.5);
  margin-bottom: 16px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}
.hero-conversion .sub {
  color: rgba(255,255,255,.88);
  font-size: 1.15rem;
  max-width: 620px;
  margin: 0 auto 28px;
  line-height: 1.6;
}
.hero-conversion .cta-group {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.hero-conversion .cta-group .btn-primary-gold {
  background: linear-gradient(135deg, #c9ab81, #b8956f);
  color: #fff;
  padding: 14px 34px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border: none;
  transition: transform .2s, box-shadow .2s;
  letter-spacing: .3px;
}
.hero-conversion .cta-group .btn-primary-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(201,171,129,.45);
}
.hero-conversion .cta-group .btn-outline-light {
  background: transparent;
  color: #fff;
  padding: 13px 32px;
  border-radius: 6px;
  border: 2px solid rgba(255,255,255,.5);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: border-color .2s, background .2s;
}
.hero-conversion .cta-group .btn-outline-light:hover {
  border-color: #c9ab81;
  background: rgba(201,171,129,.12);
}

/* ═══════════════════════════════════════════════════════════════════
   SERVICES KEY (2×2 grid)
   ═══════════════════════════════════════════════════════════════════ */
.services-key {
  background: #fff;
  padding: 70px 0 60px;
}
.services-key .section-title {
  text-align: center;
  margin-bottom: 45px;
}
.services-key .section-title h2 {
  font-family: 'Roboto Slab', serif;
  color: #1e2e42;
  font-size: 1.8rem;
  margin-bottom: 10px;
}
.services-key .section-title img.divisor {
  display: block;
  margin: 0 auto;
}
.grid-2x2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}
.grid-2x2 .card-service {
  display: block;
  background: #1e2e42;
  border-radius: 10px;
  padding: 36px 28px;
  text-decoration: none;
  transition: transform .25s, box-shadow .25s;
  border: 1px solid rgba(201,171,129,.15);
}
.grid-2x2 .card-service:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(30,46,66,.22);
}
.grid-2x2 .card-service h3 {
  color: #c9ab81;
  font-size: 1.2rem;
  margin: 0 0 10px;
  font-family: 'Roboto Slab', serif;
}
.grid-2x2 .card-service p {
  color: rgba(255,255,255,.75);
  font-size: .95rem;
  margin: 0;
  line-height: 1.55;
}

/* ═══════════════════════════════════════════════════════════════════
   WHY US
   ═══════════════════════════════════════════════════════════════════ */
.why-us {
  background: linear-gradient(180deg, #f9f7f3 0%, #fff 100%);
  padding: 70px 0;
}
.why-us h2 {
  text-align: center;
  font-family: 'Roboto Slab', serif;
  color: #1e2e42;
  font-size: 1.8rem;
  margin-bottom: 40px;
}
.why-us .bullets {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}
.why-us .bullets li {
  background: #fff;
  border: 1px solid rgba(201,171,129,.2);
  border-radius: 8px;
  padding: 22px 24px;
  font-size: 1rem;
  color: #1e2e42;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: box-shadow .2s;
}
.why-us .bullets li:hover {
  box-shadow: 0 4px 16px rgba(201,171,129,.18);
}
.why-us .bullets li .icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════════════════
   CTA FINAL (quick form)
   ═══════════════════════════════════════════════════════════════════ */
.cta-final {
  background: #1e2e42;
  padding: 70px 0;
  text-align: center;
}
.cta-final h3 {
  font-family: 'Roboto Slab', serif;
  color: #c9ab81;
  font-size: 1.8rem;
  margin-bottom: 8px;
}
.cta-final .subtitle {
  color: rgba(255,255,255,.7);
  margin-bottom: 30px;
  font-size: 1.05rem;
}
.quick-form {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 750px;
  margin: 0 auto;
}
.quick-form input,
.quick-form select {
  padding: 13px 18px;
  border-radius: 6px;
  border: 1px solid rgba(201,171,129,.35);
  background: rgba(255,255,255,.08);
  color: #fff;
  font-size: .95rem;
  min-width: 140px;
  flex: 1;
}
.quick-form input::placeholder {
  color: rgba(255,255,255,.5);
}
.quick-form select {
  color: rgba(255,255,255,.7);
  cursor: pointer;
}
.quick-form select option {
  background: #1e2e42;
  color: #fff;
}
.quick-form .btn-primary-gold {
  background: linear-gradient(135deg, #c9ab81, #b8956f);
  color: #fff;
  padding: 13px 30px;
  border-radius: 6px;
  border: none;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s;
  white-space: nowrap;
}
.quick-form .btn-primary-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(201,171,129,.45);
}

/* ═══════════════════════════════════════════════════════════════════
   TESTIMONIALS SECTION (enhanced)
   ═══════════════════════════════════════════════════════════════════ */
.testimonials-conversion {
  background: #fff;
  padding: 70px 0;
  text-align: center;
}
.testimonials-conversion h2 {
  font-family: 'Roboto Slab', serif;
  color: #1e2e42;
  font-size: 1.8rem;
  margin-bottom: 40px;
}
.testimonial-card {
  background: #f9f7f3;
  border-radius: 10px;
  padding: 30px;
  max-width: 500px;
  margin: 0 auto;
  border: 1px solid rgba(201,171,129,.15);
}
.testimonial-card .stars {
  color: #c9ab81;
  margin-bottom: 12px;
}
.testimonial-card blockquote {
  font-style: italic;
  color: #333;
  line-height: 1.65;
  margin: 0 0 12px;
  font-size: 1rem;
}
.testimonial-card cite {
  color: #1e2e42;
  font-weight: 700;
  font-style: normal;
}
.testimonial-card .role {
  color: #999;
  font-size: .85rem;
}

/* ═══════════════════════════════════════════════════════════════════
   FAQ SECTION
   ═══════════════════════════════════════════════════════════════════ */
.faq-section {
  background: linear-gradient(180deg, #fff 0%, #f9f7f3 100%);
  padding: 70px 0;
}
.faq-section h2 {
  text-align: center;
  font-family: 'Roboto Slab', serif;
  color: #1e2e42;
  font-size: 1.8rem;
  margin-bottom: 40px;
}
.faq-list {
  max-width: 750px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid rgba(201,171,129,.2);
  padding: 18px 0;
}
.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  color: #1e2e42;
  font-size: 1.05rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-item summary::after {
  content: '+';
  font-size: 1.4rem;
  color: #c9ab81;
  font-weight: 300;
  transition: transform .2s;
}
.faq-item[open] summary::after {
  content: '−';
}
.faq-item p {
  color: #555;
  line-height: 1.65;
  margin: 12px 0 0;
  font-size: .95rem;
}

/* ═══════════════════════════════════════════════════════════════════
   NEWSLETTER ENHANCED
   ═══════════════════════════════════════════════════════════════════ */
.newsletter-enhanced {
  background: #1e2e42;
  padding: 50px 0;
  text-align: center;
}
.newsletter-enhanced h3 {
  color: #c9ab81;
  font-family: 'Roboto Slab', serif;
  font-size: 1.4rem;
  margin-bottom: 8px;
}
.newsletter-enhanced .nl-sub {
  color: rgba(255,255,255,.65);
  margin-bottom: 24px;
  font-size: .95rem;
}
.newsletter-enhanced form {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 500px;
  margin: 0 auto;
}
.newsletter-enhanced input[type="email"] {
  flex: 1;
  min-width: 220px;
  padding: 12px 18px;
  border-radius: 6px;
  border: 1px solid rgba(201,171,129,.35);
  background: rgba(255,255,255,.08);
  color: #fff;
  font-size: .95rem;
}
.newsletter-enhanced input[type="email"]::placeholder {
  color: rgba(255,255,255,.45);
}
.newsletter-enhanced .btn-primary-gold {
  background: linear-gradient(135deg, #c9ab81, #b8956f);
  color: #fff;
  padding: 12px 28px;
  border-radius: 6px;
  border: none;
  font-weight: 700;
  cursor: pointer;
  transition: transform .2s;
}
.newsletter-enhanced .btn-primary-gold:hover {
  transform: translateY(-2px);
}

/* ═══════════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  #header #banner .css-table-cell {
    padding-top: 60px; /* Mobile: collapsed header is smaller */
  }
  .hero-conversion {
    padding: 0 0 8px;
  }
  .hero-conversion h1 {
    font-size: 1.65rem;
    padding: 0 15px;
  }
  .hero-conversion .sub {
    font-size: 1rem;
    padding: 0 15px;
  }
  #header .hero-conversion ~ .banner-search .banner-search-inner {
    margin-top: 5px;
  }
  .grid-2x2 {
    grid-template-columns: 1fr;
    padding: 0 15px;
  }
  .why-us .bullets {
    grid-template-columns: 1fr;
    padding: 0 15px;
  }
  .quick-form {
    flex-direction: column;
    padding: 0 15px;
  }
  .quick-form input,
  .quick-form select {
    min-width: unset;
    width: 100%;
  }
}

/* ═══════════════════════════════════════════════════════════════════
   UTILITY: GA4 tracking data attributes
   Elements with [data-ga-event] can be picked up by GTM/GA4
   ═══════════════════════════════════════════════════════════════════ */
[data-ga-event] {
  /* no visual style — marker only */
}

/* ═══════════════════════════════════════════════════════════════════
   QUICK FORM — SUCCESS / ERROR STATES
   ═══════════════════════════════════════════════════════════════════ */
.form-success-msg {
  text-align: center;
  padding: 30px 20px;
  animation: fadeInUp .5s ease;
}
.form-success-msg .success-icon {
  font-size: 3rem;
  margin-bottom: 12px;
}
.form-success-msg .success-text {
  color: #fff;
  font-size: 1.15rem;
  line-height: 1.6;
  max-width: 500px;
  margin: 0 auto;
}
.form-error-msg {
  color: #ff6b6b;
  background: rgba(255,107,107,.1);
  border: 1px solid rgba(255,107,107,.3);
  border-radius: 6px;
  padding: 12px 18px;
  margin-top: 12px;
  font-size: .9rem;
  text-align: center;
  animation: fadeInUp .3s ease;
}
.btn-loading {
  display: inline-block;
  animation: pulse 1s infinite;
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .5; }
}
