/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue:    #1a3a6e;
  --blue2:   #1e4d9e;
  --orange:  #e8820c;
  --orange2: #f5a623;
  --white:   #ffffff;
  --light:   #f5f7fb;
  --gray:    #6b7280;
  --dark:    #111827;
  --wa:      #25D366;
  --radius:  12px;
  --shadow:  0 4px 24px rgba(0,0,0,.10);
  --transition: .3s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', sans-serif;
  color: var(--dark);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.container {
  width: 90%;
  max-width: 1180px;
  margin: 0 auto;
}

/* ===== SECTION HEADERS ===== */
.section-header { margin-bottom: 3rem; }
.section-header.center { text-align: center; }
.section-tag {
  display: inline-block;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: .5rem;
}
.section-header h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  color: var(--blue);
  line-height: 1.2;
}
.section-header h2 span { color: var(--orange); }
.section-desc {
  margin-top: .8rem;
  color: var(--gray);
  font-size: .95rem;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: linear-gradient(135deg, var(--orange), var(--orange2));
  color: var(--white);
  font-weight: 600;
  font-size: .9rem;
  padding: .75rem 1.8rem;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 16px rgba(232,130,12,.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(232,130,12,.45); }
.btn-primary.full { width: 100%; justify-content: center; }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  border: 2px solid var(--blue);
  color: var(--blue);
  font-weight: 600;
  font-size: .9rem;
  padding: .75rem 1.8rem;
  border-radius: 50px;
  transition: var(--transition);
}
.btn-outline:hover { background: var(--blue); color: var(--white); }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1.1rem 0;
  transition: var(--transition);
}
.navbar.scrolled {
  background: var(--white);
  box-shadow: 0 2px 20px rgba(0,0,0,.1);
  padding: .75rem 0;
}
.navbar.scrolled .nav-links a { color: var(--dark); }
.navbar.scrolled .nav-links a:hover { color: var(--orange); }
.navbar.scrolled .logo-img { height: 45px; }

.nav-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: .6rem;
}
.logo-img {
  height: 52px;
  width: auto;
  object-fit: contain;
  transition: var(--transition);
}
.navbar.scrolled .logo-img {
  height: 46px;
}
.footer-logo-img {
  height: 58px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.8rem;
  margin-left: auto;
}
.nav-links a {
  color: var(--dark);
  font-size: .88rem;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 2px;
  background: var(--orange);
  transition: var(--transition);
}
.nav-links a:hover::after { width: 100%; }

.nav-cta { margin-left: 1rem; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  margin-left: auto;
  padding: .3rem;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: var(--transition);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  background: linear-gradient(180deg, #f8f9fc 0%, var(--white) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
  padding-top: 80px;
}
.hero-image {
  width: 90%;
  max-width: 720px;
  display: flex;
  justify-content: center;
  padding: 2rem 0 0;
}
.hero-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
  box-shadow: 0 12px 48px rgba(0,0,0,.12);
}
.hero-btns-wrap {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  padding: 2rem 0 3rem;
  z-index: 10;
}
.hero-wa {
  border-color: var(--blue);
  color: var(--blue);
}
.hero-wa:hover {
  background: var(--blue);
  color: var(--white);
}

/* ===== HERO 3D ===== */
.hero3d {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(160deg, #e0f4ff 0%, #b3e0f7 40%, #7ec8f0 100%);
}

.h3-bg { display: none; }
.h3-overlay { display: none; }

.h3-wave {
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  z-index: 2;
  line-height: 0;
}
.h3-wave svg { width: 100%; height: 90px; display: block; }

.h3-inner {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 9rem 1rem 7rem;
  gap: 1.8rem;
}

/* Logo + titre */
.h3-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  padding: 0;
  box-shadow: none;
}
.h3-logo {
  width: 180px;
  height: 180px;
  object-fit: contain;
  border-radius: 50%;
  background: #fff;
  padding: 8px;
  box-shadow: 0 8px 32px rgba(0,0,0,.2);
}
.h3-title {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
  text-align: left;
}
.h3-t1 {
  font-size: 2rem;
  font-weight: 900;
  color: var(--orange);
  letter-spacing: .06em;
  text-shadow: 0 2px 12px rgba(232,130,12,.5);
}
.h3-t2 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: .18em;
  text-transform: uppercase;
}

/* Slogan */
.h3-slogan {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .2rem;
}
.h3-s1 {
  font-size: clamp(1.6rem, 3.5vw, 2.6rem);
  font-weight: 700;
  color: var(--white);
  font-style: italic;
  text-shadow: 0 3px 20px rgba(0,0,0,.5);
  letter-spacing: .02em;
}
.h3-s2 {
  font-size: clamp(1.5rem, 3.2vw, 2.4rem);
  font-weight: 700;
  color: var(--white);
  font-style: italic;
  text-shadow: 0 3px 20px rgba(0,0,0,.5);
}
.h3-s2 em {
  color: #4ade80;
  font-style: italic;
}
.h3-stars {
  margin-top: .5rem;
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: 1.4rem;
}
.h3-stars span:nth-child(2),
.h3-stars span:nth-child(3) { color: var(--white) !important; }

/* Services */
.h3-services {
  background: linear-gradient(135deg, var(--blue) 0%, #0f2a52 100%);
  border-top: 3px solid var(--orange);
  border-bottom: 3px solid var(--orange);
  padding: .9rem 2.5rem;
  border-radius: 4px;
  box-shadow: 0 8px 32px rgba(0,0,0,.4), inset 0 1px 0 rgba(255,255,255,.1);
  width: 100%;
  max-width: 540px;
}
.h3-svc-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .8rem;
  font-size: 1rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.h3-svc-bar .dot { color: var(--orange2); font-size: 1.4rem; }
.h3-svc-sub {
  text-align: center;
  margin-top: .35rem;
  font-size: .85rem;
  font-weight: 700;
  color: var(--orange2);
  letter-spacing: .12em;
  text-transform: uppercase;
}

/* Boutons */
.h3-btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

@media (max-width: 600px) {
  .h3-brand { padding: .6rem 1.2rem .6rem .6rem; }
  .h3-logo { width: 48px; height: 48px; }
  .h3-t1 { font-size: 1.5rem; }
  .h3-t2 { font-size: .85rem; }
  .h3-svc-bar { font-size: .78rem; gap: .5rem; }
  .h3-services { padding: .7rem 1rem; }
}

/* ===== VALUES ===== */
.values {
  padding: 6rem 0;
  background: var(--light);
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}
.value-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border-bottom: 3px solid transparent;
}
.value-card:hover { transform: translateY(-6px); border-bottom-color: var(--orange); }
.value-card.featured {
  background: linear-gradient(135deg, var(--blue), var(--blue2));
  color: var(--white);
  transform: scale(1.04);
}
.value-card.featured h3 { color: var(--white); }
.value-card.featured p { color: rgba(255,255,255,.8); }

.value-icon {
  width: 72px; height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.2rem;
}
.value-icon.expertise { background: rgba(30,77,158,.1); color: var(--blue2); }
.value-icon.qualite { background: rgba(37,211,102,.12); color: #18a349; }
.value-icon.engagement { background: rgba(232,130,12,.12); color: var(--orange); }
.value-card.featured .value-icon { background: rgba(255,255,255,.15); color: var(--white); }

.value-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: .6rem;
}
.value-card p { font-size: .9rem; color: var(--gray); }

.quote-block {
  text-align: center;
  padding: 2rem;
  background: linear-gradient(135deg, var(--orange), var(--orange2));
  border-radius: var(--radius);
  color: var(--white);
}
blockquote {
  font-size: 1.3rem;
  font-weight: 700;
  font-style: italic;
  line-height: 1.5;
}
.quote-mark { font-size: 2.5rem; line-height: 0; vertical-align: -.3em; opacity: .6; }

/* ===== PRÉSENTATION ===== */
.pres-section { padding: 5rem 0; background: var(--light); }
.pres-bottom { margin-top: 2rem; }
.pres-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: stretch;
}
.pres-text { display: flex; flex-direction: column; justify-content: space-between; height: 100%; }
.pres-text .section-tag { color: var(--orange); font-weight: 800; font-size: 22pt; }
.pres-text h2 { font-size: 1.8rem; font-weight: 700; color: var(--blue); margin-bottom: 1.5rem; line-height: 1.3; }
.pres-text h2 span { color: var(--orange); }
.pres-text p { font-size: 1.2rem; color: var(--gray); line-height: 1.8; margin-bottom: 1.2rem; }
.pres-text p strong { color: var(--dark); }
.highlight-box {
  background: linear-gradient(135deg, rgba(30,77,158,.06), rgba(232,130,12,.06));
  border-left: 4px solid var(--orange);
  padding: 1.2rem 1.5rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 1.5rem 0 2rem;
}
.highlight-box p { margin: 0; font-style: italic; color: var(--dark); }
.pres-photo img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: none;
}
.pres-photo2 {
  width: 500px !important;
  max-width: 500px;
  height: 500px;
  object-fit: cover;
  display: block;
  margin: 1rem auto 0;
  border-radius: var(--radius);
  box-shadow: none;
}
.photo-caption { text-align: center; margin-top: .8rem; font-size: .82rem; color: var(--gray); font-style: italic; }
@media (max-width: 768px) {
  .pres-grid { grid-template-columns: 1fr; gap: 2rem; }
  .pres-photo { order: -1; }
}

/* ===== SERVICES ===== */
.services {
  padding: 6rem 0;
  background: var(--white);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.service-card {
  padding: 2rem;
  border: 1px solid #e5e7eb;
  border-radius: var(--radius);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 0;
  background: linear-gradient(to bottom, var(--orange), var(--orange2));
  transition: var(--transition);
}
.service-card:hover { box-shadow: var(--shadow); border-color: transparent; }
.service-card:hover::before { height: 100%; }
.service-card:hover { transform: translateY(-4px); }

.service-icon {
  width: 68px; height: 68px;
  background: linear-gradient(135deg, rgba(30,77,158,.08), rgba(30,77,158,.15));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue2);
  margin-bottom: 1.2rem;
  transition: var(--transition);
}
.service-card:hover .service-icon {
  background: linear-gradient(135deg, var(--orange), var(--orange2));
  color: var(--white);
}
.service-card h3 {
  font-size: .95rem;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: .6rem;
  line-height: 1.4;
}
.service-card p { font-size: .85rem; color: var(--gray); margin-bottom: 1rem; }
.service-link {
  font-size: .82rem;
  font-weight: 600;
  color: var(--orange);
  transition: var(--transition);
}
.service-link:hover { letter-spacing: .02em; }

/* ===== PATRIMOINE ===== */
.patrimoine {
  padding: 6rem 0;
  background: var(--blue);
  position: relative;
  overflow: hidden;
}
.patrimoine::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M0 0h40v40H0V0zm40 40h40v40H40V40zm0-40h2l-2 2V0zm0 4l4-4h2l-6 6V4zm0 4l8-8h2L40 10V8zm0 4L52 0h2L40 14v-2zm0 4L56 0h2L40 18v-2zm0 4L60 0h2L40 22v-2zm0 4L64 0h2L40 26v-2zm0 4L68 0h2L40 30v-2zm0 4L72 0h2L40 34v-2zm0 4L76 0h2L40 38v-2zm0 4L80 0v2L42 40h-2zm4 0L80 4v2L46 40h-2zm4 0L80 8v2L50 40h-2zm4 0l28-28v2L54 40h-2zm4 0l24-24v2L58 40h-2zm4 0l20-20v2L62 40h-2zm4 0l16-16v2L66 40h-2zm4 0l12-12v2L70 40h-2zm4 0l8-8v2l-6 6h-2zm4 0l4-4v2l-2 2h-2z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.patrimoine .section-header h2 { color: var(--white); }
.patrimoine .section-tag { color: var(--orange2); }

.patrimoine-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  position: relative;
  z-index: 1;
}
.patrimoine-card {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
  color: var(--white);
  transition: var(--transition);
  backdrop-filter: blur(4px);
}
.patrimoine-card:hover {
  background: rgba(255,255,255,.14);
  transform: translateY(-6px);
}
.pat-icon {
  width: 80px; height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.2rem;
}
.pat-icon.btp      { background: rgba(232,130,12,.25); color: var(--orange2); }
.pat-icon.appart   { background: rgba(37,211,102,.2);  color: #4ade80; }
.pat-icon.paves    { background: rgba(99,102,241,.25); color: #a5b4fc; }
.pat-icon.terrain  { background: rgba(248,113,113,.2); color: #fca5a5; }

.patrimoine-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: .5rem;
}
.patrimoine-card p {
  font-size: .83rem;
  color: rgba(255,255,255,.7);
  line-height: 1.6;
}

/* ===== RÉALISATIONS ===== */
.realisations {
  padding: 6rem 0;
  background: var(--light);
}
.real-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: 240px 240px;
  gap: 1rem;
  margin-bottom: 3rem;
}
.real-card { border-radius: var(--radius); overflow: hidden; position: relative; cursor: pointer; }
.real-card.tall { grid-row: span 2; }

.real-img {
  width: 100%;
  height: 100%;
  transition: transform .6s ease;
  background-size: cover;
  background-position: center;
}
.r1 { background: url('hero-bg.jpg') center/cover no-repeat; }
.r2 { background: url('complexe.jpg') center/cover no-repeat; }
.r3 { background: linear-gradient(135deg, #e8820c 0%, #f5a623 100%); }
.r4 { background: linear-gradient(135deg, #1a3a6e 0%, #e8820c 100%); }

/* Pattern overlay for realisation cards */
.r1::after, .r2::after, .r3::after, .r4::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: .08;
  background-image: repeating-linear-gradient(45deg, #fff 0, #fff 1px, transparent 0, transparent 50%);
  background-size: 12px 12px;
}

.real-card:hover .real-img { transform: scale(1.06); }
.real-card video.real-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.real-info {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 1.2rem 1.5rem;
  background: linear-gradient(to top, rgba(0,0,0,.75), transparent);
  color: var(--white);
}
.real-tag {
  display: inline-block;
  background: var(--orange);
  color: var(--white);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .08em;
  padding: .2rem .7rem;
  border-radius: 50px;
  margin-bottom: .4rem;
  text-transform: uppercase;
}
.real-info h4 { font-size: .95rem; font-weight: 600; }

.real-videos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 3rem;
}
.real-video-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--dark);
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.real-video-card:hover { transform: translateY(-4px); box-shadow: 0 8px 32px rgba(0,0,0,.2); }
.real-video-card video {
  width: 100%;
  display: block;
  aspect-ratio: 16/9;
  object-fit: cover;
  background: #000;
}
.real-video-info {
  padding: 1rem 1.2rem;
  background: var(--white);
}
.real-video-info h4 { font-size: .9rem; font-weight: 600; color: var(--blue); margin-top: .4rem; }

@media (max-width: 768px) {
  .real-videos { grid-template-columns: 1fr; }
}

.real-cta {
  text-align: center;
}
.real-cta p { margin-bottom: 1rem; color: var(--gray); font-size: 1.05rem; }

/* ===== CARTE ===== */
.map-section {
  padding: 5rem 0 0;
  background: var(--light);
}
.map-wrapper {
  position: relative;
  margin-top: 2.5rem;
  height: 420px;
}
.map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
  filter: saturate(.9) contrast(.95);
}
.map-open-btn {
  position: absolute;
  bottom: 1.2rem;
  right: 1.2rem;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--white);
  color: var(--blue);
  font-size: .78rem;
  font-weight: 600;
  padding: .55rem 1rem;
  border-radius: 50px;
  box-shadow: 0 2px 12px rgba(0,0,0,.18);
  transition: var(--transition);
  z-index: 10;
}
.map-open-btn:hover { background: var(--blue); color: var(--white); }
.map-open-btn.google { bottom: 4rem; background: #fff; color: #e8400c; }
.map-open-btn.google:hover { background: #e8400c; color: var(--white); }

@media (max-width: 768px) {
  .map-wrapper { height: 300px; }
}

/* ===== CONTACT ===== */
.contact {
  padding: 6rem 0;
  background: var(--white);
}
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.contact-intro {
  color: var(--gray);
  margin-bottom: 2rem;
  font-size: .95rem;
}
.contact-items {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin-bottom: 2rem;
}
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.ci-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ci-icon.phone    { background: rgba(30,77,158,.1);  color: var(--blue2); }
.ci-icon.whatsapp { background: rgba(37,211,102,.15); color: var(--wa); }
.ci-icon.email    { background: rgba(232,130,12,.12); color: var(--orange); }
.ci-icon.address  { background: rgba(99,102,241,.12); color: #6366f1; }
.ci-icon.web      { background: rgba(30,77,158,.1);  color: var(--blue2); }

.ci-text { display: flex; flex-direction: column; gap: .15rem; }
.ci-text span { font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--gray); }
.ci-text a, .ci-text p {
  font-size: .9rem;
  color: var(--dark);
  transition: var(--transition);
}
.ci-text a:hover { color: var(--orange); }

.wa-btns { display: flex; flex-direction: column; gap: .8rem; }
.btn-wa {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  background: var(--wa);
  color: var(--white);
  font-weight: 600;
  font-size: .88rem;
  padding: .8rem 1.5rem;
  border-radius: 50px;
  transition: var(--transition);
}
.btn-wa:hover { opacity: .9; transform: translateX(4px); }
.btn-wa.secondary { background: #1da851; }

/* Contact form */
.contact-form-wrap {
  background: var(--light);
  border-radius: var(--radius);
  padding: 2.5rem;
}
.contact-form h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 1.5rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-group { display: flex; flex-direction: column; gap: .4rem; margin-bottom: 1rem; }
.form-group label { font-size: .8rem; font-weight: 600; color: var(--dark); }
.form-group input,
.form-group select,
.form-group textarea {
  padding: .75rem 1rem;
  border: 1.5px solid #e5e7eb;
  border-radius: 8px;
  font-family: inherit;
  font-size: .88rem;
  color: var(--dark);
  background: var(--white);
  outline: none;
  transition: var(--transition);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue2);
  box-shadow: 0 0 0 3px rgba(30,77,158,.1);
}
.form-group textarea { resize: vertical; }
.form-note {
  text-align: center;
  font-size: .78rem;
  color: var(--gray);
  margin-top: .8rem;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--dark);
  color: var(--white);
  padding: 4rem 0 0;
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-brand .logo { margin-bottom: .5rem; }
.footer-brand p {
  margin-top: 1rem;
  font-size: .85rem;
  color: rgba(255,255,255,.6);
  line-height: 1.7;
}
.footer-socials {
  display: flex;
  gap: .7rem;
  margin-top: 1.5rem;
}
.footer-socials a {
  width: 38px; height: 38px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.7);
  transition: var(--transition);
}
.footer-socials a:hover { background: var(--orange); border-color: var(--orange); color: var(--white); }

.footer-links h4, .footer-legal h4 {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--orange2);
  margin-bottom: 1.2rem;
}
.footer-links ul { display: flex; flex-direction: column; gap: .6rem; }
.footer-links ul li a {
  font-size: .85rem;
  color: rgba(255,255,255,.6);
  transition: var(--transition);
}
.footer-links ul li a:hover { color: var(--white); padding-left: .3rem; }

.footer-legal ul { display: flex; flex-direction: column; gap: .6rem; }
.footer-legal ul li {
  font-size: .82rem;
  color: rgba(255,255,255,.6);
  line-height: 1.5;
}
.footer-legal ul li strong { color: rgba(255,255,255,.85); }
.footer-legal ul li a { color: var(--orange2); }
.footer-legal ul li a:hover { color: var(--white); }

.footer-bottom {
  padding: 1.4rem 0;
  text-align: center;
}
.footer-bottom p {
  font-size: .8rem;
  color: rgba(255,255,255,.4);
}
.footer-bottom a { color: var(--orange2); }

/* ===== WhatsApp FLOAT ===== */
.wa-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  width: 60px; height: 60px;
  background: var(--wa);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  box-shadow: 0 4px 20px rgba(37,211,102,.5);
  animation: pulse 2.5s infinite;
  transition: var(--transition);
}
.wa-float:hover { transform: scale(1.1); box-shadow: 0 6px 28px rgba(37,211,102,.7); }
@keyframes pulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,.5); }
  50%       { box-shadow: 0 4px 32px rgba(37,211,102,.8), 0 0 0 12px rgba(37,211,102,.08); }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .services-grid      { grid-template-columns: repeat(2, 1fr); }
  .patrimoine-grid    { grid-template-columns: repeat(2, 1fr); }
  .footer-inner       { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .hamburger { display: flex; }
  .nav-links {
    position: fixed;
    top: 0; right: -100%;
    width: 75%; height: 100vh;
    background: var(--blue);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    transition: right .35s ease;
    z-index: 999;
  }
  .nav-links.open { right: 0; }
  .nav-links a { color: var(--white); font-size: 1.1rem; }
  .nav-cta { display: none; }

  .values-grid        { grid-template-columns: 1fr; }
  .value-card.featured{ transform: none; }
  .services-grid      { grid-template-columns: 1fr; }
  .patrimoine-grid    { grid-template-columns: repeat(2, 1fr); }
  .real-grid          { grid-template-columns: 1fr; grid-template-rows: auto; }
  .real-card.tall     { grid-row: span 1; height: 240px; }
  .real-card          { height: 200px; }
  .contact-inner      { grid-template-columns: 1fr; gap: 2.5rem; }
  .form-row           { grid-template-columns: 1fr; }
  .footer-inner       { grid-template-columns: 1fr; gap: 2rem; }
  .hero-content       { max-width: 100%; }
}

@media (max-width: 480px) {
  .patrimoine-grid { grid-template-columns: 1fr; }
  .wa-btns { flex-direction: column; }
}
