/* ==============================================
   TRAITEUR NOKO — Feuille de style principale
   ============================================== */

@import url('https://fonts.googleapis.com/css2?family=Urbanist:wght@400;500;600;700;800&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,700;1,9..40,300&display=swap');

/* —— Variables —— */
:root {
  --c-dark:        #1A2E44;
  --c-dark2:       #162438;
  --c-accent:      #D94F30;
  --c-accent-lt:   #E8724A;
  --c-accent-deep: #B03D22;
  --c-accent-pale: rgba(217,79,48,0.08);
  --c-green:       #5EAD8C;
  --c-gold:        #E8A923;
  --c-bg:          #FAF5EF;
  --c-cream:       #F0EBE3;
  --c-white:       #ffffff;
  --c-text:        #2B2B2B;
  --c-text-md:     #5A5A5A;
  --c-text-lt:     #9A9A9A;
  --c-border:      rgba(217,79,48,0.22);
  --c-border-lt:   rgba(217,79,48,0.1);
  --f-head:        'Urbanist', -apple-system, sans-serif;
  --f-body:        'DM Sans', -apple-system, sans-serif;
  --max-w:         1200px;
  --h-h:           80px;
  --r:             4px;
  --r-lg:          14px;
  --t:             0.3s ease;
  --sh:            0 4px 24px rgba(26,46,68,0.09);
  --sh-lg:         0 12px 48px rgba(26,46,68,0.15);
}

/* —— Reset —— */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--f-body);
  color: var(--c-text);
  background: var(--c-bg);
  line-height: 1.65;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: var(--t); }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: var(--f-body); }
input, select, textarea { font-family: var(--f-body); }

/* —— Typographie —— */
h1,h2,h3,h4 { font-family: var(--f-head); line-height: 1.2; font-weight: 700; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); }
h4 { font-size: 1.1rem; }
p  { line-height: 1.8; }

/* —— Layout —— */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.section    { padding: 90px 0; }
.section--dark   { background: var(--c-dark);  color: var(--c-white); }
.section--dark2  { background: var(--c-dark2); color: var(--c-white); }
.section--cream  { background: var(--c-cream); }
.section--white  { background: var(--c-white); }

.section__head   { text-align: center; margin-bottom: 64px; }
.section__label  {
  display: inline-block;
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--c-accent); margin-bottom: 12px;
}
.section__title   { margin-bottom: 14px; }
.section__sub     { font-size: 1.02rem; color: var(--c-text-md); max-width: 560px; margin: 0 auto; }
.section--dark .section__sub,
.section--dark2 .section__sub { color: rgba(255,255,255,0.62); }
.section__line    { width: 48px; height: 2px; background: var(--c-accent); margin: 18px auto 0; }

/* —— Boutons —— */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 13px 30px;
  border-radius: var(--r); border: 2px solid transparent;
  font-family: var(--f-body);
  font-size: 0.82rem; font-weight: 700;
  letter-spacing: 0.07em; text-transform: uppercase;
  transition: var(--t); cursor: pointer;
}
.btn--accent {
  background: var(--c-accent); color: var(--c-white); border-color: var(--c-accent);
}
.btn--accent:hover {
  background: var(--c-accent-lt); border-color: var(--c-accent-lt);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(217,79,48,0.3);
}
.btn--outline {
  background: transparent; color: var(--c-white); border-color: rgba(255,255,255,0.55);
}
.btn--outline:hover { background: var(--c-white); color: var(--c-dark); border-color: var(--c-white); }
.btn--outline-accent {
  background: transparent; color: var(--c-accent); border-color: var(--c-accent);
}
.btn--outline-accent:hover { background: var(--c-accent); color: var(--c-white); }
.btn--dark { background: var(--c-dark); color: var(--c-white); border-color: var(--c-dark); }
.btn--dark:hover { background: var(--c-dark2); }
.btn--light {
  background: var(--c-white); color: var(--c-accent); border-color: var(--c-white);
}
.btn--light:hover { background: var(--c-cream); }
.btn--lg { padding: 16px 38px; font-size: 0.88rem; }
.btn svg { width: 17px; height: 17px; flex-shrink: 0; }

/* —— CTA Téléphone flottant —— */
.phone-float {
  position: fixed; bottom: 28px; right: 28px; z-index: 999;
  display: flex; align-items: center; gap: 10px;
  background: var(--c-accent); color: var(--c-white);
  padding: 13px 22px; border-radius: 50px;
  font-family: var(--f-body); font-weight: 700; font-size: 0.88rem;
  box-shadow: 0 4px 20px rgba(217,79,48,0.4);
  animation: pfloat 3s ease-in-out infinite;
}
.phone-float:hover {
  background: var(--c-accent-lt);
  transform: translateY(-4px) !important;
  box-shadow: 0 10px 32px rgba(217,79,48,0.48);
  animation: none;
}
.phone-float svg { width: 17px; height: 17px; }
@keyframes pfloat {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-7px); }
}

/* —— Header —— */
.header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 900; height: var(--h-h);
  transition: background 0.4s, box-shadow 0.4s;
}
.header--transparent { background: transparent; }
.header--solid {
  background: rgba(26,46,68,0.97);
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
  backdrop-filter: blur(8px);
}
.header__inner {
  height: var(--h-h);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}

/* Logo */
.header__logo { display: flex; align-items: center; }
.logo-img {
  height: 144px;
  width: auto;
  display: block;
}
.footer__logo-img {
  height: 144px;
  width: auto;
  display: block;
  margin-bottom: 14px;
}

/* Nav */
.nav__list { display: flex; gap: 2px; }
.nav__link {
  padding: 7px 13px;
  font-size: 0.78rem; font-weight: 500;
  letter-spacing: 0.05em; text-transform: uppercase;
  color: rgba(255,255,255,0.78);
  border-radius: var(--r); position: relative;
}
.nav__link::after {
  content: ''; position: absolute;
  bottom: 3px; left: 13px; right: 13px;
  height: 1px; background: var(--c-accent-lt);
  transform: scaleX(0); transition: transform var(--t);
}
.nav__link:hover, .nav__link.active   { color: var(--c-white); }
.nav__link:hover::after, .nav__link.active::after { transform: scaleX(1); }

/* Header actions */
.header__actions { display: flex; align-items: center; gap: 14px; }
.header__tel {
  display: flex; align-items: center; gap: 7px;
  font-family: var(--f-body); font-size: 0.82rem; font-weight: 700;
  color: var(--c-white);
  padding: 8px 16px;
  border: 1px solid rgba(255,255,255,0.25); border-radius: 50px;
  transition: var(--t);
}
.header__tel svg { width: 14px; height: 14px; }
.header__tel:hover { background: var(--c-accent); border-color: var(--c-accent); }

/* Hamburger */
.hamburger {
  display: none; flex-direction: column; justify-content: center;
  gap: 5px; width: 40px; height: 40px; padding: 8px; border-radius: var(--r);
}
.hamburger span {
  display: block; height: 2px;
  background: var(--c-white); border-radius: 2px; transition: var(--t);
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* —— Hero —— */
.hero {
  min-height: 100vh;
  display: flex; align-items: center;
  position: relative; overflow: hidden;
  background: var(--c-dark); color: var(--c-white);
}
.hero__bg {
  position: absolute; inset: 0;
  background-image: url('https://images.unsplash.com/photo-1617093827984-1c4f54a3dfd5?auto=format&fit=crop&w=1920&q=80');
  background-size: cover; background-position: center;
  opacity: 0.28; transform: scale(1.04);
  transition: transform 10s ease;
}
.hero:hover .hero__bg { transform: scale(1); }
.hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg,
    rgba(26,46,68,0.94) 0%,
    rgba(20,36,54,0.72) 55%,
    rgba(26,46,68,0.92) 100%
  );
}
.hero__content {
  position: relative; z-index: 1;
  max-width: 660px;
  padding-top: var(--h-h);
}
.hero__tag {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--f-body);
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.28em; text-transform: uppercase;
  color: rgba(255,255,255,0.55); margin-bottom: 26px;
}
.hero__tag::before, .hero__tag::after {
  content: ''; display: block;
  width: 32px; height: 1px; background: var(--c-accent-lt);
}
.hero__title { margin-bottom: 20px; font-weight: 800; }
.hero__title em { font-style: italic; color: rgba(255,255,255,0.82); font-weight: 400; }
.hero__sub {
  font-size: 1.05rem; color: rgba(255,255,255,0.65);
  max-width: 490px; margin-bottom: 40px; line-height: 1.85;
  font-weight: 300;
}
.hero__btns { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__scroll {
  position: absolute; bottom: 36px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: rgba(255,255,255,0.35);
  font-size: 0.66rem; letter-spacing: 0.24em; text-transform: uppercase;
  animation: scrollbounce 2.2s ease-in-out infinite;
}
.hero__scroll::after {
  content: ''; display: block;
  width: 1px; height: 36px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.35), transparent);
}
@keyframes scrollbounce {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(-8px); }
}

/* —— Page Hero —— */
.page-hero {
  padding-top: calc(var(--h-h) + 64px);
  padding-bottom: 64px;
  background: var(--c-dark); color: var(--c-white);
  text-align: center; position: relative; overflow: hidden;
}
.page-hero__bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0.15;
}
.page-hero::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(26,46,68,0.55));
}
.page-hero__inner { position: relative; z-index: 1; }
.page-hero__title { color: var(--c-white); margin-bottom: 12px; font-weight: 700; }
.page-hero__breadcrumb {
  display: flex; justify-content: center; gap: 8px;
  font-size: 0.8rem; color: rgba(255,255,255,0.38);
}
.page-hero__breadcrumb a { color: rgba(255,255,255,0.6); }
.page-hero__breadcrumb a:hover { color: var(--c-white); }
.page-hero__breadcrumb span { color: rgba(255,255,255,0.28); }

/* —— Features (3 colonnes) —— */
.features__grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.feat-card {
  text-align: center; padding: 44px 28px;
  background: var(--c-white);
  border: 1px solid var(--c-border-lt); border-radius: var(--r-lg);
  transition: var(--t);
}
.feat-card:hover {
  border-color: var(--c-accent);
  box-shadow: var(--sh); transform: translateY(-4px);
}
.feat-card__icon {
  width: 68px; height: 68px; margin: 0 auto 22px;
  background: var(--c-accent-pale); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.feat-card__icon svg { width: 28px; height: 28px; color: var(--c-accent); }
.feat-card__title { font-size: 1.2rem; margin-bottom: 10px; }
.feat-card__text  { font-size: 0.9rem; color: var(--c-text-md); font-weight: 300; }

/* —— Menu Cards —— */
.menu-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.menu-card {
  background: var(--c-white); border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--c-border-lt);
  box-shadow: var(--sh); transition: var(--t);
}
.menu-card:hover { transform: translateY(-5px); box-shadow: var(--sh-lg); }
.menu-card__img { height: 205px; overflow: hidden; position: relative; }
.menu-card__img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.55s ease;
}
.menu-card:hover .menu-card__img img { transform: scale(1.08); }
.menu-card__badge {
  position: absolute; top: 11px; right: 11px;
  background: var(--c-accent); color: var(--c-white);
  font-size: 0.66rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 4px 11px; border-radius: 50px;
}
.menu-card__body { padding: 18px 20px; }
.menu-card__name { font-size: 1rem; margin-bottom: 6px; font-weight: 600; }
.menu-card__desc { font-size: 0.84rem; color: var(--c-text-md); font-weight: 300; }

/* —— Stats —— */
.stats-section { background: var(--c-dark); padding: 64px 0; color: var(--c-white); }
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.stat-item { text-align: center; }
.stat-item__num {
  font-family: var(--f-head); font-size: 3rem; font-weight: 800;
  color: var(--c-white); line-height: 1; margin-bottom: 8px;
}
.stat-item__lbl {
  font-size: 0.74rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: rgba(255,255,255,0.45);
}

/* —— About teaser —— */
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
}
.about-img { position: relative; }
.about-img__main {
  border-radius: var(--r-lg); overflow: hidden;
  aspect-ratio: 4/5;
}
.about-img__main img { width: 100%; height: 100%; object-fit: cover; }
.about-img__accent {
  position: absolute; bottom: -22px; right: -22px;
  width: 175px; height: 175px;
  border-radius: var(--r-lg); overflow: hidden;
  border: 4px solid var(--c-white); box-shadow: var(--sh-lg);
}
.about-img__accent img { width: 100%; height: 100%; object-fit: cover; }
.about-text .section__label { text-align: left; display: block; }
.about-text h2  { margin-bottom: 20px; }
.about-text p   { color: var(--c-text-md); margin-bottom: 16px; font-weight: 300; }
.about-text__btns { display: flex; gap: 14px; margin-top: 32px; }

/* —— Testimonials —— */
.testi-wrap { position: relative; }
.testi-track { overflow: hidden; }
.testi-slides { display: flex; transition: transform 0.5s ease; }
.testi-slide {
  min-width: 100%; padding: 0 48px; text-align: center;
}
.testi-quote {
  font-family: var(--f-head); font-size: 1.28rem; font-style: italic;
  color: rgba(255,255,255,0.85); max-width: 680px; margin: 0 auto 30px;
  line-height: 1.75; font-weight: 300;
}
.testi-quote::before {
  content: '\201C'; color: rgba(255,255,255,0.3);
  font-size: 3.5rem; line-height: 0;
  vertical-align: -0.38em; margin-right: 6px;
}
.testi-author { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.testi-author__name { font-weight: 700; color: var(--c-white); font-size: 0.9rem; }
.testi-author__role { font-size: 0.8rem; color: rgba(255,255,255,0.4); font-weight: 300; }
.slider-ctrl {
  display: flex; justify-content: center; align-items: center;
  gap: 14px; margin-top: 40px;
}
.slider-arrow {
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.18); color: rgba(255,255,255,0.7);
  background: transparent;
  display: flex; align-items: center; justify-content: center;
  transition: var(--t);
}
.slider-arrow:hover { background: var(--c-accent); border-color: var(--c-accent); color: var(--c-white); }
.slider-arrow svg { width: 17px; height: 17px; }
.slider-dots { display: flex; gap: 8px; }
.dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: rgba(255,255,255,0.25); cursor: pointer; transition: var(--t);
}
.dot.active { background: var(--c-white); transform: scale(1.35); }

/* —— Portfolio preview —— */
.preview-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  grid-template-rows: 220px 220px;
  gap: 10px;
}
.preview-item {
  position: relative; overflow: hidden;
  border-radius: var(--r); cursor: pointer;
}
.preview-item--tall { grid-row: span 2; }
.preview-item--wide { grid-column: span 2; }
.preview-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.preview-item:hover img { transform: scale(1.07); }
.preview-item__ov {
  position: absolute; inset: 0;
  background: rgba(26,46,68,0.62);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: var(--t);
}
.preview-item:hover .preview-item__ov { opacity: 1; }
.preview-item__ov svg { width: 30px; height: 30px; color: var(--c-white); opacity: 0.9; }

/* —— CTA Banner —— */
.cta-banner {
  background: var(--c-accent);
  padding: 88px 0; text-align: center; position: relative; overflow: hidden;
}
.cta-banner::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--c-accent-deep) 0%, var(--c-accent) 60%, var(--c-accent-lt) 100%);
  opacity: 0.6;
}
.cta-banner__inner  { position: relative; z-index: 1; }
.cta-banner__title  {
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  color: var(--c-white); margin-bottom: 14px; font-weight: 700;
}
.cta-banner__sub    {
  font-size: 1.02rem; color: rgba(255,255,255,0.75);
  margin-bottom: 40px; max-width: 520px;
  margin-left: auto; margin-right: auto; font-weight: 300;
}
.cta-banner__btns   { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* —— Footer —— */
.footer {
  background: var(--c-dark); color: rgba(255,255,255,0.6);
  padding: 84px 0 0;
}
.footer__grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.6fr;
  gap: 44px; padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.footer__logo {
  font-family: var(--f-head); font-size: 1.85rem; font-weight: 800;
  color: var(--c-white); display: block; margin-bottom: 14px;
}
.footer__brand p { font-size: 0.86rem; line-height: 1.8; margin-bottom: 20px; max-width: 265px; font-weight: 300; }
.footer__brand-tel {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--c-white); font-weight: 700; font-size: 1rem;
}
.footer__brand-tel:hover { color: rgba(255,255,255,0.75); }
.footer__col h4 {
  font-family: var(--f-body); font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(255,255,255,0.5); margin-bottom: 18px;
}
.footer__col ul { display: flex; flex-direction: column; gap: 9px; }
.footer__col ul li a {
  font-size: 0.86rem; color: rgba(255,255,255,0.5);
  transition: var(--t); display: block; font-weight: 300;
}
.footer__col ul li a:hover { color: var(--c-white); padding-left: 4px; }
.footer__devis { display: inline-block; margin-top: 14px; }
.footer__bottom {
  padding: 22px 0;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.76rem; color: rgba(255,255,255,0.24);
}
.footer__bottom a { color: rgba(255,255,255,0.38); transition: var(--t); }
.footer__bottom a:hover { color: var(--c-white); }

/* —— Service Cards —— */
.services-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 24px; }
.svc-card--wide { grid-column: 1 / -1; }
.svc-card {
  display: grid; grid-template-columns: 220px 1fr;
  background: var(--c-white); border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--c-border-lt);
  box-shadow: var(--sh); transition: var(--t);
}
.svc-card:hover { border-color: var(--c-accent); transform: translateY(-4px); box-shadow: var(--sh-lg); }
.svc-card__img { overflow: hidden; }
.svc-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.svc-card:hover .svc-card__img img { transform: scale(1.06); }
.svc-card__body { padding: 30px; }
.svc-card__num {
  font-family: var(--f-head); font-size: 2.6rem; font-weight: 300;
  color: var(--c-border); line-height: 1; margin-bottom: 10px;
}
.svc-card__title { font-size: 1.3rem; margin-bottom: 10px; font-weight: 700; }
.svc-card__text  { font-size: 0.88rem; color: var(--c-text-md); margin-bottom: 18px; font-weight: 300; }
.svc-card__tags  { display: flex; flex-wrap: wrap; gap: 7px; }
.tag {
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.05em;
  padding: 4px 11px;
  background: var(--c-accent-pale); color: var(--c-accent);
  border: 1px solid var(--c-border-lt); border-radius: 50px;
}

/* —— Process Steps —— */
.steps-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 28px; position: relative; }
.steps-grid::before {
  content: ''; position: absolute; top: 38px; left: 80px; right: 80px;
  height: 1px; background: var(--c-border); z-index: 0;
}
.step { text-align: center; position: relative; z-index: 1; }
.step__num {
  width: 76px; height: 76px; border-radius: 50%;
  background: var(--c-white); color: var(--c-accent);
  font-family: var(--f-head); font-size: 1.35rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 22px;
  border: 1px solid var(--c-border);
  box-shadow: var(--sh);
}
.step__title { font-size: 1rem; margin-bottom: 10px; font-weight: 600; }
.step__text  { font-size: 0.86rem; color: var(--c-text-md); font-weight: 300; }

/* —— Portfolio Slider —— */
.port-slider {
  position: relative; overflow: hidden;
  border-radius: var(--r-lg); background: var(--c-dark);
  margin-bottom: 48px;
}
.port-track { display: flex; transition: transform 0.55s ease; }
.port-slide { min-width: 100%; aspect-ratio: 16/7; position: relative; }
.port-slide img { width: 100%; height: 100%; object-fit: cover; opacity: 0.8; }
.port-slide__cap {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 28px 36px;
  background: linear-gradient(to top, rgba(26,46,68,0.9), transparent);
  color: var(--c-white);
}
.port-slide__cap h3 { margin-bottom: 4px; font-size: 1.35rem; font-weight: 600; }
.port-slide__cap p  { font-size: 0.86rem; color: rgba(255,255,255,0.6); font-weight: 300; }
.port-slider__prev, .port-slider__next {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 10;
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(26,46,68,0.7); border: 1px solid rgba(255,255,255,0.15);
  color: var(--c-white);
  display: flex; align-items: center; justify-content: center;
  transition: var(--t); backdrop-filter: blur(4px);
}
.port-slider__prev { left: 18px; }
.port-slider__next { right: 18px; }
.port-slider__prev:hover, .port-slider__next:hover {
  background: var(--c-accent); border-color: var(--c-accent);
}
.port-slider__prev svg, .port-slider__next svg { width: 19px; height: 19px; }
.port-slider__dots {
  position: absolute; bottom: 18px; right: 28px;
  display: flex; gap: 7px; z-index: 10;
}

/* —— Gallery grid —— */
.gallery { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.gallery-item {
  position: relative; overflow: hidden;
  border-radius: var(--r); cursor: pointer;
}
.gallery-item--wide { grid-column: span 2; }
.gallery-item img {
  width: 100%; height: 270px; object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-item--wide img { height: 270px; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item__ov {
  position: absolute; inset: 0;
  background: rgba(26,46,68,0.6);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  opacity: 0; transition: var(--t); color: var(--c-white);
}
.gallery-item:hover .gallery-item__ov { opacity: 1; }
.gallery-item__ov svg   { width: 28px; height: 28px; }
.gallery-item__ov span  { font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 500; }

/* —— Lightbox —— */
.lightbox {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(0,0,0,0.94);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity 0.3s ease;
}
.lightbox.open { opacity: 1; pointer-events: all; }
.lightbox__img {
  max-width: 90vw; max-height: 84vh;
  object-fit: contain; border-radius: var(--r);
  box-shadow: 0 0 80px rgba(0,0,0,0.8);
}
.lightbox__close {
  position: absolute; top: 22px; right: 22px;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,0.1); color: var(--c-white);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; cursor: pointer; transition: var(--t);
}
.lightbox__close:hover { background: var(--c-accent); }
.lightbox__nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(255,255,255,0.1); color: var(--c-white);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: var(--t);
}
.lightbox__nav:hover { background: var(--c-accent); }
.lightbox__nav--prev { left: 22px; }
.lightbox__nav--next { right: 22px; }
.lightbox__nav svg { width: 22px; height: 22px; }

/* —— Contact —— */
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 64px; align-items: start; }
.contact-info__title { margin-bottom: 18px; }
.contact-info__text  { color: var(--c-text-md); margin-bottom: 34px; font-weight: 300; }
.contact-items { display: flex; flex-direction: column; gap: 22px; }
.c-item { display: flex; gap: 15px; align-items: flex-start; }
.c-item__icon {
  width: 44px; height: 44px; flex-shrink: 0;
  background: var(--c-accent-pale); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; color: var(--c-accent);
}
.c-item__icon svg { width: 18px; height: 18px; }
.c-item__lbl {
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--c-text-lt); margin-bottom: 4px;
}
.c-item__val     { font-weight: 600; color: var(--c-text); font-size: 0.95rem; }
.c-item__val a   { color: var(--c-accent); }
.c-item__val a:hover { text-decoration: underline; }

.contact-form {
  background: var(--c-white); padding: 46px;
  border-radius: var(--r-lg); box-shadow: var(--sh-lg);
  border: 1px solid var(--c-border-lt);
}
.contact-form__title { margin-bottom: 28px; font-size: 1.6rem; font-weight: 700; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grp { margin-bottom: 16px; }
.form-grp label {
  display: block; font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--c-text-md); margin-bottom: 7px;
}
.form-grp input,
.form-grp select,
.form-grp textarea {
  width: 100%; padding: 12px 14px;
  border: 1px solid rgba(26,46,68,0.15); border-radius: var(--r);
  font-size: 0.92rem; color: var(--c-text);
  background: var(--c-bg); transition: var(--t);
}
.form-grp input:focus,
.form-grp select:focus,
.form-grp textarea:focus {
  outline: none; border-color: var(--c-accent);
  background: var(--c-white);
  box-shadow: 0 0 0 3px rgba(217,79,48,0.1);
}
.form-grp textarea { resize: vertical; min-height: 115px; }
.form-submit { width: 100%; padding: 15px; font-size: 0.88rem; }

/* —— About page - Timeline —— */
.timeline { position: relative; }
.timeline::before {
  content: ''; position: absolute;
  left: 50%; top: 0; bottom: 0;
  width: 1px; background: var(--c-border);
  transform: translateX(-50%);
}
.tl-item {
  display: grid; grid-template-columns: 1fr 72px 1fr;
  gap: 0; margin-bottom: 44px;
}
.tl-content {
  background: var(--c-white); padding: 26px 28px;
  border-radius: var(--r-lg);
  border: 1px solid var(--c-border-lt);
  box-shadow: var(--sh);
}
.tl-item:nth-child(even) .tl-content:first-child { visibility: hidden; }
.tl-item:nth-child(odd)  .tl-content:last-child  { visibility: hidden; }
.tl-center {
  display: flex; flex-direction: column; align-items: center;
  padding-top: 10px; gap: 6px;
}
.tl-dot {
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--c-accent); border: 3px solid var(--c-white);
  box-shadow: 0 0 0 1px var(--c-accent); flex-shrink: 0;
}
.tl-content__year { font-family: var(--f-head); font-size: 1.7rem; color: var(--c-accent); margin-bottom: 7px; font-weight: 700; }
.tl-content__title { font-size: 1.1rem; margin-bottom: 8px; font-weight: 600; }
.tl-content__text  { font-size: 0.86rem; color: var(--c-text-md); font-weight: 300; }

/* —— About page - Values —— */
.values-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.val-card {
  padding: 34px 26px;
  border-left: 2px solid var(--c-accent);
  background: var(--c-white); border-radius: 0 var(--r-lg) var(--r-lg) 0;
  box-shadow: var(--sh); transition: var(--t);
}
.val-card:hover { transform: translateX(4px); box-shadow: var(--sh-lg); }
.val-card__num {
  font-family: var(--f-head); font-size: 2.6rem; font-weight: 300;
  color: var(--c-border); line-height: 1; margin-bottom: 12px;
}
.val-card__title { font-size: 1.1rem; margin-bottom: 10px; font-weight: 600; }
.val-card__text  { font-size: 0.86rem; color: var(--c-text-md); font-weight: 300; }

/* —— Mentions légales —— */
.legal-body { max-width: 820px; margin: 0 auto; padding: 80px 24px; }
.legal-body h2 {
  font-size: 1.4rem; color: var(--c-accent);
  margin-top: 48px; margin-bottom: 14px;
  padding-bottom: 10px; border-bottom: 1px solid var(--c-border-lt);
  font-weight: 600;
}
.legal-body h3 { font-size: 1rem; margin-top: 28px; margin-bottom: 10px; font-weight: 600; }
.legal-body p  { font-size: 0.9rem; color: var(--c-text-md); margin-bottom: 14px; font-weight: 300; }
.legal-body ul { list-style: disc; padding-left: 22px; color: var(--c-text-md); }
.legal-body ul li { margin-bottom: 7px; font-size: 0.9rem; font-weight: 300; }

/* —— Reveal animations —— */
.reveal {
  opacity: 0; transform: translateY(26px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }
.reveal-d4 { transition-delay: 0.4s; }

/* ===============================
   RESPONSIVE
   =============================== */

@media (max-width: 1100px) {
  .menu-grid     { grid-template-columns: repeat(2,1fr); }
  .footer__grid  { grid-template-columns: 1fr 1fr; gap: 36px; }
  .about-grid    { gap: 48px; }
  .about-img__accent { display: none; }
  .services-grid { grid-template-columns: 1fr; }
  .svc-card      { grid-template-columns: 190px 1fr; }
  .svc-card--wide { grid-column: span 1; }
  .gallery       { grid-template-columns: repeat(2,1fr); }
  .gallery-item--wide { grid-column: span 1; }
  .values-grid   { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 900px) {
  .features__grid { grid-template-columns: 1fr 1fr; }
  .stats-grid     { grid-template-columns: repeat(2,1fr); }
  .about-grid     { grid-template-columns: 1fr; }
  .about-img__main { aspect-ratio: 16/9; max-height: 400px; }
  .steps-grid     { grid-template-columns: repeat(2,1fr); }
  .steps-grid::before { display: none; }
  .contact-grid   { grid-template-columns: 1fr; }
  .preview-grid   { grid-template-columns: repeat(2,1fr); grid-template-rows: auto; }
  .preview-item--tall, .preview-item--wide { grid-column: span 1; grid-row: span 1; }
  .timeline::before { display: none; }
  .tl-item        { grid-template-columns: 1fr; }
  .tl-item:nth-child(even) .tl-content:first-child,
  .tl-item:nth-child(odd)  .tl-content:last-child  { display: none; }
  .tl-center      { display: none; }
}

@media (max-width: 768px) {
  :root { --h-h: 68px; }
  .section { padding: 64px 0; }

  .nav {
    position: fixed; top: var(--h-h); left: 0; right: 0;
    background: rgba(26,46,68,0.98);
    padding: 20px 24px 28px;
    transform: translateY(-120%);
    transition: transform 0.4s ease;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    z-index: 899;
  }
  .nav.open { transform: translateY(0); }
  .nav__list { flex-direction: column; gap: 2px; }
  .nav__link { display: block; padding: 12px 14px; font-size: 0.92rem; }
  .hamburger { display: flex; }
  .header__tel { display: none; }

  .features__grid { grid-template-columns: 1fr; }
  .menu-grid      { grid-template-columns: 1fr; }
  .stats-grid     { grid-template-columns: 1fr 1fr; }
  .footer__grid   { grid-template-columns: 1fr; gap: 28px; }
  .svc-card       { grid-template-columns: 1fr; }
  .svc-card__img  { height: 200px; }
  .form-row       { grid-template-columns: 1fr; }
  .contact-form   { padding: 26px 18px; }
  .gallery        { grid-template-columns: 1fr; }
  .gallery-item--wide { grid-column: span 1; }
  .values-grid    { grid-template-columns: 1fr; }
  .steps-grid     { grid-template-columns: 1fr; }
  .phone-float    { bottom: 18px; right: 14px; padding: 11px 18px; font-size: 0.82rem; }
  .testi-slide    { padding: 0 20px; }
}

@media (max-width: 480px) {
  .hero__btns     { flex-direction: column; }
  .cta-banner__btns { flex-direction: column; align-items: center; }
  .about-text__btns { flex-direction: column; }
  .preview-grid   { grid-template-columns: 1fr; }
  .port-slide     { aspect-ratio: 4/3; }
}
