/* ==========================================================================
   NL PAYSAGE — Direction Artistique Officielle (Charte Brochure)
   Palette : Crème Lin (#FAF9F5), Vert Forêt (#152E18), Vert Olive (#828B64),
             Sauge Clair (#C6C9B8), Beige Colline (#D5D4C4)
   ========================================================================== */

:root {
  --bg-cream: #FAF9F5;
  --bg-paper: #FCFBF9;
  --bg-warm: #F2F0E8;
  --forest: #152E18;
  --forest-light: #224426;
  --olive: #828B64;
  --olive-dark: #636C49;
  --olive-muted: #9BA282;
  --sage-light: #C6C9B8;
  --sage-pale: #E6E8DD;
  --hill-beige: #D5D4C4;
  --text-main: #152E18;
  --text-body: #2C3E2E;
  --text-muted: #5A6452;
  --white: #FFFFFF;
  --font-sans: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --shadow-soft: 0 12px 36px rgba(21, 46, 24, 0.06);
  --shadow-hover: 0 18px 44px rgba(21, 46, 24, 0.13);
  --transition: all 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  background-color: var(--bg-cream);
  color: var(--text-main);
  font-family: var(--font-sans);
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
  max-width: 100%;
  -webkit-font-smoothing: antialiased;
  background-image: radial-gradient(rgba(130, 139, 100, 0.045) 1px, transparent 0);
  background-size: 24px 24px;
}

section[id] {
  scroll-margin-top: 90px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

ul {
  list-style: none;
}

button {
  font-family: inherit;
}

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

/* ==========================================================================
   TOAST NOTIFICATION (COPIE TÉLÉPHONE / EMAIL)
   ========================================================================== */

.toast-notification {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background-color: var(--forest);
  color: var(--bg-paper);
  border: 1px solid var(--olive);
  padding: 12px 22px;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  z-index: 1200;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
  opacity: 0;
  pointer-events: none;
  transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  text-align: center;
  max-width: 92vw;
}

.toast-notification.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* ==========================================================================
   TYPOGRAPHIE DE LA BROCHURE
   ========================================================================== */

.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--olive-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 12px;
}

.eyebrow::before,
.eyebrow::after {
  content: "";
  display: inline-block;
  width: 24px;
  height: 1px;
  background-color: var(--olive);
  flex-shrink: 0;
}

.section-title {
  font-family: var(--font-sans);
  font-size: clamp(1.25rem, 2.5vw, 2.05rem);
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--forest);
  line-height: 1.38;
  margin-bottom: 14px;
  word-wrap: break-word;
}

.section-subtitle {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.15rem, 2vw, 1.48rem);
  color: var(--olive-dark);
  font-weight: 500;
  line-height: 1.4;
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 48px;
  padding: 0 8px;
}

/* Devise avec filets horizontaux comme sur la brochure */
.motto-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin: 34px auto 4px;
  max-width: 740px;
  padding: 0 12px;
  position: relative;
  z-index: 3;
}

.motto-line {
  flex: 1;
  max-width: 110px;
  min-width: 24px;
  height: 1px;
  background-color: var(--olive);
}

.motto-text {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.25rem, 2.3vw, 1.8rem);
  color: var(--olive-dark);
  letter-spacing: 0.03em;
  text-align: center;
}

/* ==========================================================================
   HEADER & NAVIGATION (SANS RETOUR À LA LIGNE NI DÉBORDEMENT)
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(252, 251, 249, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1.5px solid rgba(21, 46, 24, 0.16);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
  gap: 16px;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand-monogram {
  width: 44px;
  height: 44px;
  object-fit: contain;
  flex-shrink: 0;
}

.brand-text-wrap {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 0.98rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  color: var(--forest);
  text-transform: uppercase;
  line-height: 1.15;
  white-space: nowrap;
}

.brand-sub {
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  color: var(--olive-dark);
  text-transform: uppercase;
  margin-top: 3px;
  white-space: nowrap;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-link {
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--forest);
  position: relative;
  padding: 6px 0;
  white-space: nowrap;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1.5px;
  background-color: var(--olive);
  transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.ig-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--olive);
  background: var(--bg-paper);
  color: var(--forest);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 999px;
  white-space: nowrap;
  flex-shrink: 0;
}

.ig-pill-btn svg {
  width: 16px;
  height: 16px;
  color: var(--olive-dark);
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
}

.ig-pill-btn:hover {
  background: var(--forest);
  border-color: var(--forest);
  color: var(--bg-paper);
}

.ig-pill-btn:hover svg {
  color: var(--sage-light);
  transform: scale(1.1);
}

.phone-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  background-color: var(--forest);
  color: var(--bg-paper);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid var(--forest);
  white-space: nowrap;
  flex-shrink: 0;
}

.phone-cta-btn:hover {
  background-color: var(--olive-dark);
  border-color: var(--olive-dark);
}

.mobile-menu-toggle {
  display: none;
  background: var(--bg-paper);
  border: 1.5px solid var(--forest);
  color: var(--forest);
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}

/* ==========================================================================
   HERO "BROCHURE" — CADRE ARCHITECTURAL 100% FIDÈLE À L'AFFICHE
   ========================================================================== */

.hero-section {
  padding: 32px 0 60px;
}

.brochure-frame {
  position: relative;
  background-color: var(--bg-paper);
  border: 2px solid var(--forest);
  padding: clamp(24px, 4vw, 54px) clamp(20px, 4vw, 54px) 38px;
  box-shadow: var(--shadow-soft);
}

/* Encoche centrale sur la bordure inférieure avec la feuille de la brochure */
.frame-bottom-border {
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  pointer-events: none;
}

.leaf-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  background: linear-gradient(to bottom, var(--bg-paper) 50%, var(--bg-cream) 50%);
}

.leaf-badge svg {
  width: 28px;
  height: 28px;
  display: block;
}

/* Décoration paysagère posée directement sur la bordure inférieure droite */
.brochure-landscape-bg {
  position: absolute;
  right: 0;
  bottom: 0;
  width: min(550px, 60%);
  height: auto;
  pointer-events: none;
  z-index: 1;
  opacity: 0.95;
}

.brochure-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 1px minmax(0, 1.12fr);
  gap: clamp(24px, 3.8vw, 52px);
  align-items: center;
}

/* Colonne Gauche : Identité + Logo + Coordonnées */
.brochure-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-width: 0;
}

.brochure-top-tag {
  font-size: clamp(0.78rem, 1.3vw, 1.05rem);
  font-weight: 400;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--forest);
  margin-bottom: 18px;
}

.brochure-logo-wrapper {
  width: min(230px, 72%);
  margin: 0 auto 18px;
  transition: transform 0.5s ease;
}

.brochure-logo-wrapper img {
  width: 100%;
  height: auto;
  margin: 0 auto;
}

.brochure-brand-title {
  font-size: clamp(1.45rem, 2.8vw, 2.35rem);
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--forest);
  padding-left: 0.28em; /* centre visuellement malgré le letter-spacing */
  line-height: 1.2;
}

.brochure-short-rule {
  width: 56px;
  height: 1.5px;
  background-color: var(--olive);
  margin: 12px auto;
}

.brochure-brand-subtitle {
  font-size: clamp(0.7rem, 1.05vw, 0.88rem);
  font-weight: 400;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--forest);
  padding-left: 0.24em;
  margin-bottom: 28px;
}

/* Liste de coordonnées exactement comme sur la brochure */
.brochure-contacts {
  width: 100%;
  max-width: 380px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
}

.brochure-contact-row {
  display: flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  min-width: 0;
}

.brochure-contact-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.2px solid var(--olive);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--olive-dark);
  flex-shrink: 0;
  transition: var(--transition);
}

.brochure-contact-icon svg {
  width: 16px;
  height: 16px;
}

.brochure-contact-row:hover .brochure-contact-icon {
  background-color: var(--forest);
  border-color: var(--forest);
  color: var(--bg-paper);
  transform: scale(1.06);
}

.brochure-contact-text {
  flex: 1;
  min-width: 0;
  font-size: clamp(0.82rem, 1.1vw, 0.92rem);
  letter-spacing: 0.06em;
  color: var(--forest);
  padding-bottom: 7px;
  border-bottom: 1px solid var(--olive);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brochure-contact-row:last-child .brochure-contact-text {
  border-bottom: none;
  padding-bottom: 0;
  letter-spacing: 0.14em;
}

/* Boutons d'action sous le bloc Hero : côte à côte 50/50 */
.hero-cta-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 24px;
  width: 100%;
  max-width: 380px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 16px;
  background-color: var(--forest);
  color: var(--bg-paper);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border: 1.5px solid var(--forest);
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  white-space: nowrap;
}

.btn-primary:hover {
  background-color: var(--olive-dark);
  border-color: var(--olive-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(21, 46, 24, 0.16);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 16px;
  background-color: rgba(252, 251, 249, 0.9);
  color: var(--forest);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border: 1.5px solid var(--olive);
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  white-space: nowrap;
}

.btn-outline:hover {
  border-color: var(--forest);
  background-color: var(--forest);
  color: var(--bg-paper);
  transform: translateY(-2px);
}

/* Filet vertical central de la brochure */
.brochure-divider {
  width: 1px;
  align-self: stretch;
  background-color: var(--olive);
  min-height: 400px;
}

/* Colonne Droite : Les 4 Prestations avec Icônes Cerclées */
.brochure-right {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8px 0;
  min-width: 0;
}

.brochure-services-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.brochure-service-item {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 6px 8px;
  border-radius: 4px;
  transition: var(--transition);
  min-width: 0;
}

.brochure-service-item:hover {
  transform: translateX(6px);
}

.service-circle-icon {
  width: 66px;
  height: 66px;
  border-radius: 50%;
  border: 1.5px solid var(--olive);
  background-color: rgba(252, 251, 249, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--olive-dark);
  transition: var(--transition);
}

.service-circle-icon svg {
  width: 36px;
  height: 36px;
}

.brochure-service-item:hover .service-circle-icon {
  background-color: var(--forest);
  border-color: var(--forest);
  color: var(--bg-paper);
  box-shadow: 0 8px 20px rgba(21, 46, 24, 0.15);
}

.brochure-service-info {
  flex: 1;
  min-width: 0;
  padding-bottom: 18px;
  position: relative;
}

/* Filet court sous chaque prestation comme sur la brochure */
.brochure-service-info::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: min(210px, 75%);
  height: 1px;
  background-color: var(--olive);
}

.brochure-service-item:last-child .brochure-service-info {
  padding-bottom: 0;
}

.brochure-service-item:last-child .brochure-service-info::after {
  display: none;
}

.brochure-service-title {
  font-size: clamp(0.92rem, 1.35vw, 1.15rem);
  font-weight: 400;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--forest);
  margin-bottom: 4px;
}

.brochure-service-desc {
  font-size: 0.81rem;
  color: var(--text-muted);
  line-height: 1.45;
}

/* ==========================================================================
   SECTION SAVOIR-FAIRE / PRESTATIONS DÉTAILLÉES
   ========================================================================== */

.services-section {
  padding: 80px 0;
  background-color: var(--bg-warm);
  border-top: 1px solid rgba(130, 139, 100, 0.25);
  border-bottom: 1px solid rgba(130, 139, 100, 0.25);
}

.services-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.service-card {
  background-color: var(--bg-paper);
  border: 1.5px solid var(--forest);
  padding: 30px 24px 26px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition);
  min-width: 0;
}

.service-card.highlight-pulse {
  box-shadow: 0 0 0 3px var(--olive), var(--shadow-hover);
  transform: translateY(-6px);
}

.service-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 24px;
  right: 24px;
  height: 3px;
  background-color: var(--olive);
  transform: scaleX(0.3);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.service-card:hover::after {
  transform: scaleX(1);
}

.service-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.service-card-num {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.45rem;
  color: var(--olive);
}

.service-card h3 {
  font-size: 0.94rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--forest);
  margin-bottom: 12px;
  min-height: 2.5em;
  display: flex;
  align-items: center;
}

.service-card-rule {
  width: 42px;
  height: 1px;
  background-color: var(--olive);
  margin-bottom: 14px;
}

.service-card p {
  font-size: 0.86rem;
  color: var(--text-body);
  margin-bottom: 18px;
  line-height: 1.6;
}

.service-card-bullets {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-top: 1px solid rgba(130, 139, 100, 0.25);
  padding-top: 14px;
  margin-bottom: 18px;
}

.service-card-bullets li {
  font-size: 0.79rem;
  color: var(--text-muted);
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.4;
}

.service-card-bullets li::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: var(--olive);
  flex-shrink: 0;
  margin-top: 6px;
}

.service-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--forest);
  padding-top: 10px;
  border-top: 1px dashed rgba(130, 139, 100, 0.35);
}

.service-card-cta:hover {
  color: var(--olive-dark);
  gap: 10px;
}

/* ==========================================================================
   SECTION "ICI UNE RÉALISATION" — GALERIE PHOTOS & CHANTIERS
   ========================================================================== */

.portfolio-section {
  padding: 84px 0;
}

.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 36px;
}

.filter-btn {
  padding: 10px 18px;
  background: var(--bg-paper);
  border: 1px solid var(--olive);
  color: var(--forest);
  font-size: 0.73rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--forest);
  border-color: var(--forest);
  color: var(--bg-paper);
}

.featured-realisation-box {
  border: 1.5px solid var(--forest);
  background: var(--bg-paper);
  padding: clamp(18px, 3vw, 34px);
  box-shadow: var(--shadow-soft);
}

.featured-realisation-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 18px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--olive);
}

.featured-realisation-tag {
  font-size: 0.84rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--forest);
  display: flex;
  align-items: center;
  gap: 10px;
}

.featured-realisation-tag span.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--olive);
  flex-shrink: 0;
}

.featured-realisation-loc {
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--olive-dark);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.portfolio-item {
  position: relative;
  border: 1.5px solid var(--forest);
  background-color: var(--bg-paper);
  overflow: hidden;
  cursor: pointer;
  transition: var(--transition);
  min-width: 0;
}

.portfolio-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.portfolio-img-wrap {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background-color: #E5E4DC;
}

.portfolio-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.portfolio-item:hover .portfolio-img-wrap img {
  transform: scale(1.05);
}

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(21, 46, 24, 0.88) 0%, rgba(21, 46, 24, 0.18) 55%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  color: var(--bg-paper);
  opacity: 0;
  transition: opacity 0.3s ease;
  font-size: 0.85rem;
}

.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-caption-bar {
  padding: 14px 16px;
  background: var(--bg-paper);
  border-top: 1px solid var(--olive);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.portfolio-item-title {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--forest);
}

.portfolio-item-cat {
  font-size: 0.68rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--olive-dark);
  margin-bottom: 2px;
}

.portfolio-zoom-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--olive);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--olive-dark);
  flex-shrink: 0;
  transition: var(--transition);
}

.portfolio-item:hover .portfolio-zoom-icon {
  background: var(--forest);
  border-color: var(--forest);
  color: var(--bg-paper);
}

/* ==========================================================================
   SECTION INSTAGRAM — CARROUSEL ANIMÉ EN MOUVEMENT (@nl_paysage)
   ========================================================================== */

.instagram-section {
  padding: 84px 0;
  background: linear-gradient(180deg, var(--bg-warm) 0%, var(--bg-cream) 100%);
  border-top: 1px solid rgba(130, 139, 100, 0.28);
  overflow: hidden;
}

.ig-profile-banner {
  background-color: var(--bg-paper);
  border: 2px solid var(--forest);
  padding: clamp(20px, 3vw, 34px);
  margin-bottom: 32px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  box-shadow: var(--shadow-soft);
}

.ig-profile-left {
  display: flex;
  align-items: center;
  gap: 20px;
  min-width: 0;
}

.ig-avatar-ring {
  position: relative;
  width: 78px;
  height: 78px;
  border-radius: 50%;
  padding: 3px;
  background: conic-gradient(from 140deg, var(--forest), var(--olive), var(--sage-light), var(--olive), var(--forest));
  flex-shrink: 0;
}

.ig-avatar-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: var(--bg-paper);
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.ig-avatar-inner img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.ig-badge-corner {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background-color: var(--forest);
  color: var(--bg-paper);
  border: 2px solid var(--bg-paper);
  display: flex;
  align-items: center;
  justify-content: center;
}

.ig-badge-corner svg {
  width: 13px;
  height: 13px;
}

.ig-profile-meta {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}

.ig-handle-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.ig-handle {
  font-size: 1.18rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--forest);
}

.ig-verified-tag {
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 3px 9px;
  background-color: var(--sage-pale);
  color: var(--forest);
  border: 1px solid var(--olive);
}

.ig-bio-text {
  font-size: 0.84rem;
  color: var(--text-muted);
}

.ig-stats-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 2px;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--olive-dark);
}

.ig-stats-row strong {
  color: var(--forest);
  font-weight: 600;
}

.ig-profile-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.btn-instagram-signature {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 22px;
  background-color: var(--forest);
  color: var(--bg-paper);
  border: 1.5px solid var(--forest);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: var(--transition);
  cursor: pointer;
}

.btn-instagram-signature svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.btn-instagram-signature:hover {
  background-color: var(--olive-dark);
  border-color: var(--olive-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(21, 46, 24, 0.2);
}

/* Integration Elfsight Propre & Épurée */
.ig-carousel-shell {
  position: relative;
  width: 100%;
  margin-top: 15px;
}

/* Masquer le header Elfsight, le nom personnel, la barre d'admin et les badges */
[class*="elfsight-app"] [class*="Header__Root"],
[class*="elfsight-app"] [class*="Header__Component"],
[class*="elfsight-app"] [class*="Profile__Root"],
[class*="elfsight-app"] [class*="Profile__Component"],
[class*="elfsight-app"] [class*="header"],
[class*="elfsight-app"] [class*="Header"],
[class*="elfsight-app"] [class*="eapps-link"],
[class*="elfsight-app"] a[href*="elfsight.com"],
[class*="elfsight-app"] [class*="badge"],
[class*="elfsight-app"] [class*="Badge"],
[class*="WidgetTitle__Component"],
[class*="PanelOnlySeenByOwner"],
[class*="eapps-instagram-feed-posts-grid-load-more-container"] + a {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  pointer-events: none !important;
}

/* Enlever les bulles/popups intrusives d'Elfsight */
[class*="Notification__Root"],
[class*="Hint__Root"],
[class*="notification"],
[class*="hint"] {
  display: none !important;
}

.elfsight-app-7b0214df-8c79-4e20-8fda-49ce9748d902 {
  font-family: inherit !important;
}

.ig-carousel-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.ig-live-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--olive-dark);
}

.ig-live-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #3B7A42;
  box-shadow: 0 0 0 0 rgba(59, 122, 66, 0.7);
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0% { box-shadow: 0 0 0 0 rgba(59, 122, 66, 0.6); }
  70% { box-shadow: 0 0 0 8px rgba(59, 122, 66, 0); }
  100% { box-shadow: 0 0 0 0 rgba(59, 122, 66, 0); }
}

.ig-carousel-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ig-ctrl-btn {
  width: 40px;
  height: 40px;
  border: 1.5px solid var(--forest);
  background: var(--bg-paper);
  color: var(--forest);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.ig-ctrl-btn:hover {
  background: var(--forest);
  color: var(--bg-paper);
}

.ig-carousel-viewport {
  overflow: hidden;
  width: 100%;
  padding: 6px 0 14px;
}

.ig-carousel-track {
  display: flex;
  gap: 22px;
  transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.ig-slide-card {
  flex: 0 0 calc((100% - 44px) / 3);
  min-width: 0;
  background-color: var(--bg-paper);
  border: 1.5px solid var(--forest);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  cursor: pointer;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.ig-slide-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.ig-post-media {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background-color: #E5E4DC;
}

.ig-post-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s ease, opacity 0.4s ease;
}

.ig-slide-card:hover .ig-post-media img {
  transform: scale(1.05);
}

.ig-type-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(21, 46, 24, 0.86);
  color: var(--bg-paper);
  padding: 5px 10px;
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.ig-type-badge svg {
  width: 13px;
  height: 13px;
}

.ig-post-body {
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
  border-top: 1px solid var(--olive);
}

.ig-post-location {
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--olive-dark);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.ig-post-caption {
  font-size: 0.83rem;
  color: var(--text-body);
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 14px;
}

.ig-post-footer {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid rgba(130, 139, 100, 0.22);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--forest);
}

.ig-post-footer span.ig-ext-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--olive-dark);
  font-weight: 600;
}

.ig-carousel-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  flex-wrap: wrap;
}

.ig-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 1px solid var(--forest);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: all 0.3s ease;
}

.ig-dot.active {
  width: 28px;
  background: var(--forest);
}

/* ==========================================================================
   SECTION ZONE D'INTERVENTION (SECTEUR ARAVIS)
   ========================================================================== */

.aravis-banner {
  padding: 58px 0;
  background-color: var(--forest);
  color: var(--bg-paper);
}

.aravis-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 18px;
}

.aravis-title {
  font-size: clamp(1.15rem, 2.2vw, 1.7rem);
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bg-paper);
}

.aravis-communes {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  max-width: 900px;
}

.commune-pill {
  padding: 7px 14px;
  border: 1px solid rgba(198, 201, 184, 0.4);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage-light);
  cursor: pointer;
  transition: var(--transition);
}

.commune-pill:hover {
  background-color: var(--olive-dark);
  color: var(--bg-paper);
  border-color: var(--olive-dark);
}

/* ==========================================================================
   SECTION CONTACT & DEMANDE DE DEVIS
   ========================================================================== */

.contact-section {
  padding: 84px 0;
}

.contact-frame {
  position: relative;
  border: 2px solid var(--forest);
  background-color: var(--bg-paper);
  padding: clamp(24px, 4vw, 52px) clamp(20px, 4vw, 52px) 44px;
  box-shadow: var(--shadow-soft);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  gap: clamp(28px, 4vw, 56px);
}

.contact-info-col {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
}

.contact-direct-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 24px 0;
}

.contact-direct-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--olive);
  min-width: 0;
}

.contact-direct-item:hover .brochure-contact-icon {
  background-color: var(--forest);
  border-color: var(--forest);
  color: var(--bg-paper);
}

.contact-direct-label {
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--olive-dark);
  margin-bottom: 2px;
}

.contact-direct-val {
  font-size: 0.94rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--forest);
  word-break: break-all;
}

.devis-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

.form-row-2 {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.form-group label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--forest);
}

.form-control {
  width: 100%;
  padding: 12px 14px;
  background-color: var(--bg-cream);
  border: 1px solid var(--olive);
  color: var(--forest);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  border-radius: 0;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--forest);
  background-color: var(--white);
  box-shadow: 0 0 0 3px rgba(21, 46, 24, 0.08);
}

textarea.form-control {
  min-height: 118px;
  resize: vertical;
}

.form-feedback {
  padding: 13px 16px;
  font-size: 0.84rem;
  display: none;
}

.form-feedback.success {
  display: block;
  background-color: #EBF3EC;
  border: 1px solid var(--forest);
  color: var(--forest);
}

.form-feedback.error {
  display: block;
  background-color: #FDF0EE;
  border: 1px solid #9E3328;
  color: #7D2319;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.site-footer {
  background-color: var(--bg-paper);
  border-top: 2px solid var(--forest);
  padding: 52px 0 32px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--olive);
}

.footer-col-title {
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--forest);
  margin-bottom: 16px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-links a:hover {
  color: var(--forest);
  transform: translateX(4px);
}

.footer-bottom {
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.76rem;
  color: var(--text-muted);
}

/* ==========================================================================
   MODAL LIGHTBOX RESPONSIVE (ORDINATEUR & MOBILE)
   ========================================================================== */

.lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(15, 31, 17, 0.92);
  backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  overflow-y: auto;
}

.lightbox-modal.open {
  display: flex;
}

.lightbox-dialog {
  background: var(--bg-paper);
  border: 2px solid var(--forest);
  max-width: 1000px;
  width: 100%;
  max-height: 92vh;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  overflow-y: auto;
  position: relative;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 20;
  width: 38px;
  height: 38px;
  background: var(--bg-paper);
  border: 1.5px solid var(--forest);
  color: var(--forest);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-close:hover {
  background: var(--forest);
  color: var(--bg-paper);
}

.lightbox-media-col {
  background: #0F1F11;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 340px;
  max-height: 82vh;
}

.lightbox-media-col img {
  max-width: 100%;
  max-height: 78vh;
  object-fit: contain;
}

.lightbox-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(252, 251, 249, 0.92);
  border: 1.5px solid var(--forest);
  color: var(--forest);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
}

.lightbox-nav-btn.prev { left: 12px; }
.lightbox-nav-btn.next { right: 12px; }

.lightbox-counter {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(21, 46, 24, 0.88);
  color: var(--bg-paper);
  padding: 4px 12px;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
}

.lightbox-details-col {
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--bg-paper);
}

/* ==========================================================================
   RESPONSIVE TABLETTE & MOBILE (ZÉRO DÉBORDEMENT)
   ========================================================================== */

@media (max-width: 1080px) {
  .main-nav {
    gap: 16px;
  }
  .services-cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .brochure-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }
  .brochure-divider {
    width: 100%;
    height: 1px;
    min-height: 1px;
  }
  .ig-slide-card {
    flex: 0 0 calc((100% - 22px) / 2);
  }
}

@media (max-width: 900px) {
  .main-nav {
    position: fixed;
    top: 78px;
    left: 0;
    right: 0;
    background: var(--bg-paper);
    border-bottom: 2px solid var(--forest);
    flex-direction: column;
    padding: 22px 24px;
    gap: 16px;
    transform: translateY(-130%);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
    box-shadow: 0 16px 32px rgba(21, 46, 24, 0.14);
  }
  .main-nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .mobile-menu-toggle {
    display: inline-flex;
  }
  .header-actions .ig-pill-btn {
    padding: 9px;
    border-radius: 50%;
  }
  .header-actions .ig-pill-btn span {
    display: none;
  }
  .header-actions .phone-cta-btn {
    padding: 10px 12px;
  }
  .header-actions .phone-cta-btn span {
    display: none;
  }
  .portfolio-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .contact-grid,
  .footer-top,
  .lightbox-dialog {
    grid-template-columns: minmax(0, 1fr);
  }
  .lightbox-media-col {
    min-height: 240px;
    max-height: 48vh;
  }
  .lightbox-media-col img {
    max-height: 46vh;
  }
}

@media (max-width: 720px) {
  .container {
    padding: 0 14px;
  }
  .header-inner {
    height: 68px;
    gap: 8px;
  }
  .main-nav {
    top: 68px;
  }
  .brand-monogram {
    width: 36px;
    height: 36px;
  }
  .brand-name {
    font-size: 0.85rem;
    letter-spacing: 0.14em;
  }
  .brand-sub {
    font-size: 0.5rem;
    letter-spacing: 0.1em;
  }
  .hero-section {
    padding: 18px 0 44px;
  }
  .brochure-frame {
    padding: 22px 16px 34px;
  }
  .brochure-top-tag {
    font-size: 0.72rem;
    letter-spacing: 0.14em;
  }
  .brochure-logo-wrapper {
    width: 160px;
  }
  .brochure-brand-title {
    font-size: 1.32rem;
    letter-spacing: 0.16em;
    padding-left: 0.16em;
  }
  .brochure-brand-subtitle {
    font-size: 0.65rem;
    letter-spacing: 0.14em;
    padding-left: 0.14em;
    margin-bottom: 22px;
  }
  .hero-cta-group {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .brochure-service-item {
    gap: 14px;
    padding: 4px 0;
  }
  .service-circle-icon {
    width: 52px;
    height: 52px;
  }
  .service-circle-icon svg {
    width: 28px;
    height: 28px;
  }
  .brochure-service-title {
    font-size: 0.85rem;
    letter-spacing: 0.08em;
  }
  .brochure-service-desc {
    font-size: 0.76rem;
  }
  .motto-banner {
    gap: 12px;
    margin-top: 24px;
  }
  .motto-text {
    font-size: 1.15rem;
  }
  .section-title {
    font-size: 1.14rem;
    letter-spacing: 0.08em;
  }
  .eyebrow {
    font-size: 0.68rem;
    letter-spacing: 0.14em;
  }
  .services-cards-grid,
  .portfolio-grid,
  .form-row-2 {
    grid-template-columns: minmax(0, 1fr);
  }
  /* Carrousel Instagram : 1 carte pleine largeur sur mobile */
  .ig-slide-card {
    flex: 0 0 100%;
  }
  .ig-profile-banner {
    padding: 18px 16px;
  }
  .ig-profile-left {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .ig-profile-actions {
    width: 100%;
  }
  .btn-instagram-signature {
    width: 100%;
  }
  /* Toujours afficher la légende sur mobile sans nécessiter de survol */
  .portfolio-overlay {
    opacity: 1;
    background: linear-gradient(to top, rgba(21, 46, 24, 0.78) 0%, transparent 55%);
    padding: 14px;
    font-size: 0.78rem;
  }
}
