/* ==================== SCIMEC SAS — styles ==================== */
:root {
  --orange: #F1791F;
  --orange-dark: #D9640C;
  --orange-light: #FFA352;
  --gray-950: #1E1E1E;
  --gray-900: #2A2A2A;
  --gray-800: #3A3A3A;
  --gray-700: #504E4F;
  --gray-500: #757575;
  --gray-200: #E6E6E6;
  --gray-100: #F4F4F4;
  --white: #FFFFFF;
  --radius: 10px;
  --shadow: 0 10px 30px rgba(0,0,0,0.10);
  --shadow-lg: 0 20px 50px rgba(0,0,0,0.18);
  --font-head: 'Barlow Condensed', sans-serif;
  --font-body: 'Barlow', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; margin: 0; letter-spacing: 0.3px; }

.container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn.full { width: 100%; }
.btn-primary {
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(241,121,31,0.35);
}
.btn-primary:hover { background: var(--orange-dark); }
.btn-outline {
  background: transparent;
  border-color: rgba(255,255,255,0.7);
  color: var(--white);
}
.btn-outline:hover { background: rgba(255,255,255,0.12); }
.btn-whatsapp {
  background: #25D366;
  color: var(--white);
}
.btn-whatsapp:hover { background: #1EBE5A; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(6px);
  box-shadow: 0 2px 18px rgba(0,0,0,0.06);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 96px;
}
.brand { flex-shrink: 0; }
.brand-logo { width: 280px; height: auto; }
.main-nav { display: flex; gap: 30px; }
.main-nav a {
  font-weight: 600;
  font-size: 0.96rem;
  color: var(--gray-800);
  position: relative;
  padding: 6px 2px;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0%;
  height: 2px;
  background: var(--orange);
  transition: width 0.2s ease;
}
.main-nav a:hover::after { width: 100%; }
.header-actions { display: flex; align-items: center; gap: 16px; }
.header-actions .btn { padding: 10px 20px; font-size: 0.9rem; }
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px; height: 40px;
  background: none; border: none; cursor: pointer;
}
.nav-toggle span {
  display: block; height: 3px; width: 100%;
  background: var(--gray-800); border-radius: 2px;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  color: var(--white);
  overflow: hidden;
  padding-top: 96px;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(115deg, rgba(20,20,20,0.92) 20%, rgba(30,30,30,0.72) 55%, rgba(241,121,31,0.55) 130%);
}
.hero-content { position: relative; z-index: 1; padding: 90px 24px 60px; max-width: 820px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--orange-light);
  font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;
  font-size: 0.85rem; margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  line-height: 1.05;
  margin-bottom: 22px;
  text-transform: uppercase;
}
.hero-sub {
  font-size: 1.12rem;
  color: rgba(255,255,255,0.9);
  max-width: 640px;
  margin-bottom: 34px;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 56px; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 40px; border-top: 1px solid rgba(255,255,255,0.25); padding-top: 28px; }
.stat { display: flex; flex-direction: column; }
.stat-num { font-family: var(--font-head); font-size: 2.4rem; font-weight: 800; color: var(--orange-light); line-height: 1; }
.stat-label { font-size: 0.88rem; color: rgba(255,255,255,0.8); margin-top: 4px; }

/* ---------- Section generic ---------- */
section { padding: 100px 0; }
.section-tag {
  color: var(--orange);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 0.85rem;
  margin-bottom: 10px;
}
.section-title {
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  margin-bottom: 16px;
  text-transform: uppercase;
  color: var(--gray-900);
}
.section-desc { color: var(--gray-500); max-width: 640px; font-size: 1.05rem; }
.center { text-align: center; margin-left: auto; margin-right: auto; }
.light { color: var(--white); }
.light.section-desc { color: rgba(255,255,255,0.75); }

/* ---------- About ---------- */
.about { background: var(--white); }
.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: center;
}
.about-media { position: relative; }
.about-media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  width: 100%;
  height: 460px;
  object-fit: cover;
}
.about-media-badge {
  position: absolute;
  bottom: -26px; left: -26px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 18px 22px;
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 280px;
}
.about-media-badge i { color: var(--orange); font-size: 1.6rem; }
.about-media-badge strong { display: block; font-size: 0.95rem; color: var(--gray-900); }
.about-media-badge span { font-size: 0.82rem; color: var(--gray-500); }
.about-text h2 { margin-bottom: 20px; color: var(--gray-900); }
.about-text > p { color: var(--gray-700); font-size: 1.05rem; margin-bottom: 24px; }
.about-checks { display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; }
.about-checks li { display: flex; align-items: flex-start; gap: 10px; font-weight: 500; color: var(--gray-800); }
.about-checks i { color: var(--orange); margin-top: 3px; }
.sector-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.sector-tags span {
  background: var(--gray-100);
  color: var(--gray-700);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
}

/* ---------- Services ---------- */
.services { background: var(--gray-100); }
.services-grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.service-img { height: 190px; overflow: hidden; }
.service-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.service-card:hover .service-img img { transform: scale(1.06); }
.service-body { padding: 26px 26px 30px; flex: 1; }
.service-icon {
  width: 50px; height: 50px;
  border-radius: 50%;
  background: rgba(241,121,31,0.12);
  color: var(--orange);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 16px;
  margin-top: -58px;
  border: 4px solid var(--white);
  position: relative;
}
.service-body h3 { font-size: 1.3rem; color: var(--gray-900); margin-bottom: 14px; text-transform: none; }
.service-body ul { display: flex; flex-direction: column; gap: 9px; }
.service-body li {
  font-size: 0.92rem;
  color: var(--gray-700);
  padding-left: 18px;
  position: relative;
}
.service-body li::before {
  content: "";
  position: absolute; left: 0; top: 8px;
  width: 7px; height: 7px;
  background: var(--orange);
  border-radius: 50%;
}

/* ---------- Projects ---------- */
.projects { background: var(--gray-950); }
.projects-grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}
.project-item {
  position: relative;
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  height: 230px;
}
.project-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.45s ease; }
.project-item:hover img { transform: scale(1.08); }
.project-item figcaption {
  position: absolute; inset: auto 0 0 0;
  background: linear-gradient(0deg, rgba(0,0,0,0.88) 10%, rgba(0,0,0,0) 100%);
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 40px 16px 14px;
  line-height: 1.35;
}

.lightbox {
  display: none;
  position: fixed; inset: 0;
  background: rgba(10,10,10,0.94);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 40px;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: min(90vw, 1000px); max-height: 74vh; border-radius: 8px; box-shadow: var(--shadow-lg); }
.lightbox p { color: var(--white); margin-top: 18px; max-width: 700px; text-align: center; font-size: 0.95rem; }
.lightbox-close {
  position: absolute; top: 26px; right: 30px;
  background: rgba(255,255,255,0.12);
  border: none; color: var(--white);
  width: 44px; height: 44px; border-radius: 50%;
  font-size: 1.2rem; cursor: pointer;
}
.lightbox-close:hover { background: var(--orange); }

/* ---------- Contact ---------- */
.contact { background: var(--white); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.contact-desc { color: var(--gray-500); margin: 18px 0 32px; font-size: 1.02rem; max-width: 480px; }
.contact-info h2 { color: var(--gray-900); margin-bottom: 4px; font-size: clamp(1.7rem, 3vw, 2.3rem); text-transform: uppercase; }
.contact-item {
  display: flex; align-items: center; gap: 16px;
  padding: 16px 4px;
  border-bottom: 1px solid var(--gray-200);
}
.contact-item:hover strong { color: var(--orange); }
.contact-icon {
  width: 46px; height: 46px; border-radius: 50%;
  background: rgba(241,121,31,0.12); color: var(--orange);
  display: flex; align-items: center; justify-content: center; font-size: 1.15rem;
  flex-shrink: 0;
}
.contact-icon.whatsapp { background: rgba(37,211,102,0.14); color: #1EBE5A; }
.contact-item strong { display: block; font-size: 0.98rem; color: var(--gray-900); transition: color 0.2s; }
.contact-item span { font-size: 0.9rem; color: var(--gray-500); }
.contact-cta { margin-top: 30px; }

.contact-form {
  background: var(--gray-100);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
}
.form-title { font-weight: 700; font-size: 1.15rem; color: var(--gray-900); margin: 0 0 20px; }
.form-row { margin-bottom: 16px; display: flex; flex-direction: column; gap: 6px; }
.form-row label { font-size: 0.85rem; font-weight: 600; color: var(--gray-700); }
.form-row input, .form-row textarea {
  border: 1.5px solid var(--gray-200);
  border-radius: 8px;
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  background: var(--white);
  resize: vertical;
  transition: border-color 0.2s;
}
.form-row input:focus, .form-row textarea:focus { outline: none; border-color: var(--orange); }
.form-note { font-size: 0.78rem; color: var(--gray-500); margin-top: 12px; text-align: center; }

/* ---------- Footer ---------- */
.site-footer { background: var(--gray-950); color: rgba(255,255,255,0.7); padding: 56px 0 28px; }
.footer-inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; }
.footer-logo { height: 46px; background: var(--white); padding: 8px 16px; border-radius: 8px; }
.footer-tagline { font-size: 0.95rem; color: rgba(255,255,255,0.55); }
.footer-nav { display: flex; gap: 24px; flex-wrap: wrap; justify-content: center; margin: 12px 0; }
.footer-nav a { font-size: 0.9rem; color: rgba(255,255,255,0.75); }
.footer-nav a:hover { color: var(--orange-light); }
.footer-copy { font-size: 0.8rem; color: rgba(255,255,255,0.4); margin-top: 12px; }

/* ---------- Floating WhatsApp ---------- */
.whatsapp-float {
  position: fixed;
  bottom: 26px; right: 26px;
  width: 62px; height: 62px;
  background: #25D366;
  color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 10px 28px rgba(37,211,102,0.5);
  z-index: 400;
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.55), 0 10px 28px rgba(37,211,102,0.4); }
  70% { box-shadow: 0 0 0 16px rgba(37,211,102,0), 0 10px 28px rgba(37,211,102,0.4); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0), 0 10px 28px rgba(37,211,102,0.4); }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .about-media img { height: 340px; }
  .about-media-badge { left: 16px; bottom: -20px; }
}

@media (max-width: 760px) {
  section { padding: 70px 0; }
  .main-nav {
    position: fixed;
    top: 78px; left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    gap: 0;
    padding: 10px 24px 20px;
    transform: translateY(-130%);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    box-shadow: 0 12px 20px rgba(0,0,0,0.08);
  }
  .main-nav.open { transform: translateY(0); opacity: 1; }
  .main-nav a { padding: 14px 0; border-bottom: 1px solid var(--gray-200); }
  .header-actions .btn span { display: none; }
  .header-actions .btn { padding: 10px 14px; }
  .nav-toggle { display: flex; }
  .hero-content { padding-top: 60px; }
  .hero-stats { gap: 26px; }
  .about-media-badge { position: static; margin-top: 16px; max-width: 100%; }
  .whatsapp-float { width: 54px; height: 54px; font-size: 1.5rem; bottom: 18px; right: 18px; }
}

/* Larger original logo and responsive header */
html { scroll-padding-top: 110px; }
@media (max-width: 980px) {
  .header-inner { height: 78px; gap: 12px; }
  .brand-logo { width: clamp(140px, 43vw, 210px); height: auto; }
  .hero { padding-top: 78px; }
  html { scroll-padding-top: 92px; }
  .header-actions { gap: 8px; }
  .header-actions .btn span { display: none; }
  .header-actions .btn { padding: 10px 14px; }
  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed; top: 78px; left: 0; right: 0;
    background: var(--white); flex-direction: column; gap: 0;
    padding: 10px 24px 20px;
    transform: translateY(-130%); opacity: 0; visibility: hidden;
    transition: transform 0.3s ease, opacity 0.3s ease;
    box-shadow: 0 12px 20px rgba(0,0,0,0.08);
  }
  .main-nav.open { transform: translateY(0); opacity: 1; visibility: visible; }
  .main-nav a { padding: 14px 0; border-bottom: 1px solid var(--gray-200); }
}
