:root {
  --brand: #003366;
  --brand-600: #0a3f7a;
  --text: #222;
  --muted: #5f5f5f;
  --bg: #ffffff;
  --surface: #f7f8fa;
  --radius: 10px;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body { margin: 0; font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif; color: var(--text); background: var(--bg); line-height: 1.6; }

.container { width: min(1120px, 92%); margin: 0 auto; }

.skip-link { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.skip-link:focus { position: static; width: auto; height: auto; padding: 8px 12px; background: #000; color: #fff; }

.site-header { position: sticky; top: 0; z-index: 50; background: #fff; box-shadow: 0 2px 10px rgba(0,0,0,.06); }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; }

.site-nav { display: flex; align-items: center; gap: 22px; }
.site-nav a { text-decoration: none; color: var(--brand); font-weight: 600; }
.site-nav a:hover { color: var(--brand-600); }
.nav-toggle { display: none; background: transparent; border: 1px solid #e1e5ea; padding: 8px 12px; border-radius: 8px; }

@media (max-width: 840px) {
  .site-nav { position: absolute; right: 4%; top: 64px; background: #fff; padding: 14px; border-radius: 10px; box-shadow: 0 10px 30px rgba(0,0,0,.1); display: none; flex-direction: column; min-width: 220px; }
  .site-nav.open { display: flex; }
  .nav-toggle { display: inline-block; }
}

/* .hero { color: #fff; background: linear-gradient(120deg, rgba(0,51,102,0.85), rgba(0,0,0,0.4)); } */
.hero {
  background-image: 
    linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), /* black overlay */
    url("../img/maison-design-villa-moderne-avec-salon-decloisonne-et-chambre-privee-aile-grande-terrasse-avec-intimite.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff; /* make text white */
  position: relative;
}

.hero .container { padding: 120px 0; text-align: center; height: 70vh;}
.hero h1 { font-size: clamp(28px, 4vw, 44px); line-height: 1.15; margin: 0 0 10px; }
.hero p { font-size: clamp(16px, 2.2vw, 20px); margin: 0 0 22px; color: #e9eef6; }
.hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.btn { display: inline-block; text-decoration: none; padding: 12px 18px; border-radius: 8px; font-weight: 600; border: 1px solid transparent; }
.btn.primary { background: var(--brand); color: #fff; }
.btn.primary:hover { background: var(--brand-600); }
.btn.ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.btn.ghost:hover { border-color: #fff; }

.section { padding: 64px 0; }
.section h2 { color: var(--brand); margin: 0 0 18px; font-size: clamp(22px, 3vw, 30px); }

.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.card { background: var(--surface); border-radius: var(--radius); padding: 18px; box-shadow: 0 2px 10px rgba(0,0,0,.06); }
.card h3 { margin-top: 0; }

.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.gallery img { width: 100%; height: 220px; object-fit: cover; border-radius: 10px; display: block; }

.contact-list { list-style: none; padding: 0; margin: 0 0 16px; }
.contact-list li { margin: 6px 0; }
.contact-list a { color: var(--brand); text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }

.site-footer { background: var(--brand); color: #fff; }
.site-footer .container { padding: 26px 0; text-align: center; }

/* --- Contact form (Zoho embed minimal styling) --- */
.crmWebToEntityForm {
  background: #fff;
  border: 1px solid #e6e9ef;
  border-radius: 12px;
  padding: 18px;
  box-shadow: 0 2px 10px rgba(0,0,0,.05);
  max-width: 800px;
}
.crmWebToEntityForm label {
  display: block;
  margin: 10px 0 6px;
  font-weight: 600;
  color: var(--brand);
}
.crmWebToEntityForm input[type="text"],
.crmWebToEntityForm input[type="email"],
.crmWebToEntityForm textarea {
  display: block;
  width: 100%;
  padding: 12px 12px;
  border: 1px solid #d7dde5;
  border-radius: 8px;
  font-size: 14px;
  outline: none;
  background: #fff;
}
.crmWebToEntityForm input[type="text"],
.crmWebToEntityForm input[type="email"],
.crmWebToEntityForm textarea { float: none !important; }
.crmWebToEntityForm textarea { min-height: 120px; resize: vertical; }
.crmWebToEntityForm input[type="text"]:focus,
.crmWebToEntityForm input[type="email"]:focus,
.crmWebToEntityForm textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(0,51,102,.12);
}
.crmWebToEntityForm button[type="submit"] {
  display: inline-block;
  margin-top: 14px;
  padding: 12px 18px;
  background: var(--brand);
  color: #fff;
  border: 0;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
}
.crmWebToEntityForm button[type="submit"]:hover { background: var(--brand-600); }
.crmWebToEntityForm .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 640px) { .crmWebToEntityForm .row { grid-template-columns: 1fr; } }

/* Override to exactly match requested design for the specific form instance */
#crmWebToEntityForm {
  background: #f9f9f9;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  max-width: 600px;
  margin: 0 auto;
  border: 1px solid #ccc;
}
#crmWebToEntityForm form { display: flex; flex-direction: column; }
#crmWebToEntityForm label { margin-top: 15px; margin-bottom: 5px; font-weight: 600; color: #003366; }
#crmWebToEntityForm input,
#crmWebToEntityForm textarea { padding: 10px; border: 1px solid #ccc; border-radius: 6px; font-size: 1rem; }
#crmWebToEntityForm textarea { min-height: 120px; resize: vertical; }
#crmWebToEntityForm button { margin-top: 20px; background: #003366; color: #fff; border: none; padding: 12px 20px; border-radius: 6px; cursor: pointer; font-size: 1rem; }
#crmWebToEntityForm button:hover { background: #00264d; }


.floating-whatsapp {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  width: 60px;
  height: 60px;
  background-color: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.floating-whatsapp img {
  width: 32px;
  height: 32px;
}

.floating-whatsapp:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
}

.partners-scroll {
  margin-top: 2rem;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 12px;
  display: flex;
  justify-content: center;
}

.partners-scroll::-webkit-scrollbar {
  height: 8px;
}

.partners-scroll::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 4px;
}

.partners-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(120px, 1fr); /* All equal width */
  gap: 24px;
  align-items: center;
  width: 100%;
}

.partners-track img {
  width: 150px;
  height: 150px;
  object-fit: contain;
  /* filter: grayscale(100%); */
  opacity: 0.9;
  transition: filter 0.3s ease, opacity 0.3s ease;
}

.partners-track img:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.1);
}



/* Footer global */
.site-footer {
  background: #0f172a;
  color: #e2e8f0;
  padding: 60px 0 20px;
  font-size: 15px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
}

.footer-col {
  display: flex;
  flex-direction: column;
}

.footer-logo {
  width: 140px;
  margin-bottom: 16px;
}

.footer-desc {
  line-height: 1.6;
  color: #cbd5e1;
}

/* Titles */
.footer-title {
  margin-bottom: 14px;
  font-size: 17px;
  font-weight: 600;
  color: #fff;
}

/* Links */
.footer-links,
.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li,
.footer-contact li {
  margin-bottom: 8px;
}

.footer-links a,
.footer-contact a {
  color: #cbd5e1;
  text-decoration: none;
}

.footer-links a:hover,
.footer-contact a:hover {
  color: #ffffff;
}

/* Bottom footer */
.footer-bottom {
  border-top: 1px solid #1e293b;
  margin-top: 40px;
  padding-top: 20px;
  text-align: center;
  color: #94a3b8;
}

.footer-bottom a {
  color: #cbd5e1;
}

.footer-bottom a:hover {
  color: #fff;
}
