/* ═══════════════════════════════════════════════
   SECTIONS — Marquee, About, Numbers, Projects,
              Testimonial, FRI-TEX, Contact
   ═══════════════════════════════════════════════ */


/* ─── MARQUEE ─── */
.marquee-strip {
  background: var(--gold);
  padding: 16px 0;
  overflow: hidden;
  white-space: nowrap;
}

.marquee-track {
  display: inline-flex;
  gap: 0;
  animation: marqueeMove 25s linear infinite;
}

.marquee-item {
  font-family: 'Cinzel', serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: #FFFFFF;
  padding: 0 40px;
  display: inline-flex;
  align-items: center;
  gap: 20px;
}

.marquee-item::after {
  content: '◆';
  font-size: 8px;
}

@keyframes marqueeMove {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}


/* ─── ABOUT ─── */
#apropos { background: var(--charcoal); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 7vw, 100px);
  align-items: center;
}

.about-image-stack {
  position: relative;
  height: 600px;
}

.about-img-main {
  position: absolute;
  top: 0; left: 0;
  width: 78%; height: 85%;
  object-fit: cover;
  filter: grayscale(20%);
}

.about-img-accent {
  position: absolute;
  bottom: 0; right: 0;
  width: 55%; height: 55%;
  object-fit: cover;
  border: 6px solid #FFFFFF;
  filter: grayscale(20%);
}

.about-badge {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 120px; height: 120px;
  background: var(--gold-dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 2;
  box-shadow: 0 8px 32px rgba(155, 120, 32, 0.40);
}

.about-badge-num {
  font-family: 'Cinzel', serif;
  font-size: 32px;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1;
}

.about-badge-text {
  font-size: 8px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.80);
  text-align: center;
  margin-top: 4px;
}

.about-text p {
  font-size: 15px;
  font-weight: 400;
  line-height: 2;
  color: var(--white-dim);
  margin-bottom: 24px;
  letter-spacing: 0.3px;
}

.about-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 48px;
}

.about-value {
  border-left: 2px solid var(--gold);
  padding-left: 20px;
}

.about-value-title {
  font-family: 'Cinzel', serif;
  font-size: 15px;
  color: var(--gold-dark);
  margin-bottom: 6px;
}

.about-value-text {
  font-size: 13px;
  font-weight: 400;
  color: var(--white-muted);
  line-height: 1.85;
}


/* ─── NUMBERS STRIP ─── */
.numbers-section {
  background: var(--gold-dark);
  padding: 80px;
}

.numbers-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}

.number-item {
  text-align: center;
  padding: 40px 20px;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
}

.number-item:last-child { border-right: none; }

.number-val {
  font-family: 'Cinzel', serif;
  font-size: 60px;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1;
  margin-bottom: 8px;
}

.number-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.80);
}


/* ─── PROJECTS ─── */
#projets { background: var(--charcoal); }

.projects-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  margin-bottom: 80px;
  align-items: end;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border-gold);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 3px;
}

.project-card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.project-card:nth-child(1) { grid-column: span 7; height: 480px; }
.project-card:nth-child(2) { grid-column: span 5; height: 480px; }
.project-card:nth-child(3) { grid-column: span 4; height: 360px; }
.project-card:nth-child(4) { grid-column: span 4; height: 360px; }
.project-card:nth-child(5) { grid-column: span 4; height: 360px; }

.project-img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(30%) brightness(0.65);
  transition: all 0.7s ease;
}

.project-card:hover .project-img {
  filter: grayscale(0%) brightness(0.45);
  transform: scale(1.05);
}

.project-info {
  position: absolute; inset: 0;
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: linear-gradient(to top, rgba(10,10,10,0.9) 0%, transparent 60%);
  transition: background 0.4s;
}

.project-card:hover .project-info {
  background: linear-gradient(to top, rgba(10,10,10,0.95) 0%, rgba(10,10,10,0.5) 60%, transparent 100%);
}

.project-cat {
  font-size: 11px;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
  text-shadow: 0 1px 8px rgba(0,0,0,0.60);
}

.project-name {
  font-family: 'Cinzel', serif;
  font-size: 22px;
  font-weight: 600;
  color: #FAFAF8;
  margin-bottom: 10px;
  text-shadow: 0 2px 14px rgba(0,0,0,0.70);
}

.project-loc {
  font-size: 13px;
  font-weight: 400;
  color: rgba(250, 250, 248, 0.85);
  text-shadow: 0 1px 8px rgba(0,0,0,0.55);
}

.project-cta {
  display: -webkit-inline-flex;
  display: inline-flex;
  -webkit-align-items: center;
          align-items: center;
  gap: 10px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #FFFFFF;
  background: var(--gold-dark);
  padding: 12px 24px;
  text-decoration: none;
  margin-top: 20px;
  opacity: 0;
  -webkit-transform: translateY(10px);
          transform: translateY(10px);
  -webkit-transition: opacity 0.3s, -webkit-transform 0.3s;
          transition: opacity 0.3s,         transform 0.3s;
}

.project-card:hover .project-cta {
  opacity: 1;
  transform: translateY(0);
}


/* ─── TESTIMONIAL ─── */
.testimonial-section {
  background: var(--dark);
  padding: 120px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--border-gold);
  border-bottom: 1px solid var(--border-gold);
}

.testimonial-section::before {
  content: '❝';
  position: absolute;
  top: 40px; left: 50%;
  transform: translateX(-50%);
  font-size: 200px;
  color: rgba(201, 168, 76, 0.12);
  font-family: Georgia, serif;
  line-height: 1;
}

.testimonial-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(22px, 3.5vw, 40px);
  font-style: italic;
  font-weight: 500;
  line-height: 1.65;
  color: var(--white);
  max-width: 900px;
  margin: 0 auto 40px;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  font-family: 'Cinzel', serif;
  font-size: 14px;
  letter-spacing: 4px;
  color: var(--gold-dark);
  text-transform: uppercase;
}

.testimonial-title {
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--white-muted);
  margin-top: 6px;
}


/* ─── FRI-TEX ─── */
.fritex-section {
  background: var(--black);
  padding: 100px 80px;
  text-align: center;
  position: relative;
  border-top: 1px solid var(--border-gold);
  border-bottom: 1px solid var(--border-gold);
  overflow: hidden;
}

.fritex-section::before {
  content: 'FRI-TEX';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Cinzel', serif;
  font-size: 200px;
  font-weight: 900;
  color: rgba(201, 168, 76, 0.07);
  white-space: nowrap;
  z-index: 0;
  pointer-events: none;
}

.fritex-inner {
  position: relative;
  z-index: 1;
  max-width: 1400px;
  margin: 0 auto;
}

.fritex-inner .section-label              { justify-content: center; }
.fritex-inner .section-label::before      { display: none; }
.fritex-inner .section-label::after {
  content: '';
  display: block;
  width: 36px; height: 1px;
  background: var(--gold);
}

.fritex-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  margin-top: 60px;
}

.fritex-card {
  background: var(--charcoal);
  padding: 40px 30px;
  border: 1px solid var(--border-gold);
  border-bottom: 3px solid transparent;
  transition: border-bottom-color 0.3s, box-shadow 0.3s;
  text-align: left;
}

.fritex-card:hover {
  border-bottom-color: var(--gold-dark);
  box-shadow: 0 8px 32px rgba(155, 120, 32, 0.14);
}

.fritex-card-icon {
  font-size: 30px;
  margin-bottom: 20px;
}

.fritex-card-title {
  font-family: 'Cinzel', serif;
  font-size: 16px;
  color: var(--gold);
  margin-bottom: 12px;
}

.fritex-card-text {
  font-size: 13px;
  font-weight: 400;
  line-height: 1.9;
  color: var(--white-muted);
}


/* ─── CONTACT ─── */
#contact { background: var(--charcoal); }

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

.contact-info h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px;
  font-style: italic;
  font-weight: 400;
  color: var(--white-dim);
  line-height: 1.7;
  margin-bottom: 50px;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 32px;
}

.contact-detail-icon {
  width: 48px; height: 48px;
  border: 1px solid var(--border-gold-bright);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 18px;
  flex-shrink: 0;
}

.contact-detail-label {
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 6px;
  font-weight: 700;
}

.contact-detail-value {
  font-size: 14px;
  font-weight: 500;
  color: var(--white-dim);
  line-height: 1.6;
}

/* ─── Contact Form ─── */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 0;
}

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

.form-field {
  display: flex;
  flex-direction: column;
  margin-bottom: 2px;
}

.form-field label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold-dark);
  padding: 16px 20px 0;
  background: var(--dark-mid);
}

.form-field input,
.form-field select,
.form-field textarea {
  background: var(--dark-mid);
  border: none;
  border-bottom: 1px solid var(--border-gold);
  padding: 10px 20px 16px;
  color: var(--white);
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 400;
  outline: none;
  -webkit-transition: border-color 0.3s, background 0.3s;
          transition: border-color 0.3s, background 0.3s;
  /* Remove native browser styling on all browsers */
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  border-radius: 0;
  /* Prevent iOS zoom on focus (font must be ≥16px visually, but we keep 13px with override) */
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  width: 100%;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-bottom-color: var(--gold-dark);
  background: #E2DBCC;
}

.form-field textarea { height: 120px; resize: none; }
.form-field select option { background: var(--dark-mid); color: var(--white); }

.form-submit {
  margin-top: 2px;
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #FFFFFF;
  background: var(--gold-dark);
  border: none;
  border-radius: 0;
  padding: 22px;
  cursor: pointer;
  -webkit-transition: background 0.3s, box-shadow 0.3s;
          transition: background 0.3s, box-shadow 0.3s;
  width: 100%;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.form-submit:hover {
  background: var(--gold);
  box-shadow: 0 6px 24px rgba(139, 107, 20, 0.32);
}

/* ─── Form extras ─── */
.form-field-check {
  background: rgba(201,168,76,0.08);
  border: 1px solid var(--border-gold);
  padding: 14px 16px;
  margin-bottom: 2px;
}

.form-check-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 400;
  color: var(--white-dim);
  line-height: 1.65;
}

.form-check-label input[type="checkbox"] {
  width: 16px; height: 16px;
  margin-top: 2px;
  accent-color: var(--gold);
  flex-shrink: 0;
  cursor: pointer;
}

.form-note {
  font-size: 12px;
  font-weight: 400;
  color: var(--white-muted);
  text-align: center;
  margin-top: 12px;
  letter-spacing: 0.5px;
  line-height: 1.7;
}

/* ─── WhatsApp in contact info ─── */
.contact-wa-icon {
  background: rgba(37,211,102,0.1) !important;
  border-color: rgba(37,211,102,0.4) !important;
  color: #25D366 !important;
}

.wa-link-inline {
  color: #25D366 !important;
  text-decoration: none;
  font-weight: 500;
  transition: opacity 0.2s;
}

.wa-link-inline:hover { opacity: 0.8; text-decoration: underline; }

/* ─── Direct contact buttons ─── */
.contact-direct-btns {
  display: flex;
  gap: 12px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #fff;
  background: #25D366;
  padding: 14px 24px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  min-height: 48px;
}

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

.btn-email {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold-dark);
  background: transparent;
  padding: 13px 24px;
  text-decoration: none;
  border: 1px solid var(--gold-dark);
  cursor: pointer;
  transition: all 0.3s;
  min-height: 48px;
}

.btn-email:hover {
  background: var(--gold-dark);
  color: #FFFFFF;
  border-color: var(--gold-dark);
}

/* ═══════════════════════════════════════════════
   WHATSAPP FLOATING BUTTON
   ═══════════════════════════════════════════════ */
.wa-float {
  position: fixed;
  bottom: 108px; left: 28px;
  z-index: 995;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #25D366;
  color: #fff;
  text-decoration: none;
  padding: 12px 20px 12px 14px;
  box-shadow: 0 6px 28px rgba(37,211,102,0.45);
  transition: all 0.3s;
  border-radius: 0;
  overflow: hidden;
  max-width: 56px; /* collapsed — only icon visible */
}

.wa-float:hover {
  max-width: 220px; /* expand to show label */
  box-shadow: 0 8px 36px rgba(37,211,102,0.55);
  transform: translateY(-2px);
}

.wa-float-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.25s 0.05s;
}

.wa-float:hover .wa-float-label { opacity: 1; }

/* Pulse animation on the WhatsApp button */
.wa-float::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 0;
  background: rgba(37,211,102,0.3);
  animation: waPulse 2.5s ease-in-out infinite;
  pointer-events: none;
  z-index: -1;
}

@keyframes waPulse {
  0%, 100% { transform: scale(1); opacity: 0.4; }
  50%       { transform: scale(1.12); opacity: 0; }
}

/* Mobile — always expanded */
@media (max-width: 768px) {
  .wa-float {
    bottom: 96px; left: 16px;
    max-width: 56px;
    padding: 12px 14px;
  }

  .wa-float-label { display: none; }
  .wa-float:hover { max-width: 56px; }
}

@media (max-width: 480px) {
  .wa-float { bottom: 88px; left: 12px; }
}
