
@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;600;700&family=Inter:wght@400;500;600;700&display=swap");

:root {
  --bg: #f6f1e8;
  --bg-soft: #fbf8f3;
  --card: rgba(255,255,255,0.88);
  --text: #1f2326;
  --muted: #62676d;
  --line: rgba(13,44,56,0.10);
  --brand: #0d2c38;
  --brand-2: #b88a4a;
  --success: #1d6b50;
  --shadow: 0 18px 40px rgba(20, 25, 30, 0.10);
  --radius: 24px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: var(--text);
  background: radial-gradient(circle at top left, #fffaf2 0%, #f7f1e7 28%, #f1e8db 100%);
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.muted { color: var(--muted); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--brand);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
h1,h2,h3 { margin: 0 0 12px; line-height: 1.08; }
h1,h2 { font-family: "Cormorant Garamond", serif; }
h1 { font-size: clamp(42px, 6vw, 72px); }
h2 { font-size: clamp(34px, 4.2vw, 52px); }
h3 { font-size: 1.18rem; }
p { line-height: 1.7; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(250,245,236,0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(13,44,56,0.06);
  box-shadow: 0 8px 24px rgba(20, 25, 30, 0.04);
}
.header-wrap {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 14px 0;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  transition: transform .2s ease, opacity .2s ease;
}
.brand:hover { transform: translateY(-1px); opacity: .96; }
.brand-logo {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(20,25,30,.12);
  flex: 0 0 auto;
}
.brand-lockup {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}
.brand-wordmark {
  display: block;
  width: auto;
  height: 30px;
}
.brand-tag {
  display: block;
  font-size: 11px;
  color: var(--muted);
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-top: -1px;
}
.brand-name { display:none; }
.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
}
.nav a {
  position: relative;
  font-size: 0.95rem;
  color: #2a363d;
  padding: 10px 12px;
  border-radius: 999px;
  transition: background .18s ease, color .18s ease, transform .18s ease;
}
.nav a:hover {
  color: var(--brand);
  background: rgba(13,44,56,.05);
  transform: translateY(-1px);
}
.nav a.active {
  color: var(--brand);
  background: rgba(13,44,56,.07);
  font-weight: 700;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.lang-switch { display:flex; gap: 6px; }
.lang-btn {
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.72);
  color: var(--brand);
  padding: 8px 10px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 700;
  transition: all .18s ease;
}
.lang-btn:hover { transform: translateY(-1px); }
.lang-btn.active { background: var(--brand); color: #fff; border-color: var(--brand); }
.btn {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  border:1px solid transparent;
  text-decoration:none;
  font-weight:700;
  transition: transform .22s ease, box-shadow .22s ease, opacity .22s ease, background .22s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-sm {
  min-height: 44px;
  padding: 10px 18px;
  font-size: .92rem;
}
.btn-ghost { background: transparent; border-color: rgba(13,44,56,.24); color: var(--brand); }
.btn-accent { background: linear-gradient(135deg, var(--brand), var(--brand-2)); color:#fff; box-shadow: 0 16px 34px rgba(13,44,56,.18); }
.btn-ghost-light { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.25); box-shadow:none; color: #fff; }

.hero { padding: 72px 0 38px; }
.hero-grid { display:grid; grid-template-columns: minmax(0,1.15fr) minmax(340px,.95fr); gap: 36px; align-items: center; }
.hero-copy .lead { color: var(--muted); font-size: 1.08rem; line-height: 1.8; max-width: 56ch; margin: 20px 0 0; }
.cta-row { display:flex; gap: 12px; flex-wrap: wrap; margin: 22px 0 18px; }
.trust-row { display:flex; flex-wrap:wrap; gap: 10px; }
.trust-item {
  padding: 12px 15px; border-radius: 999px; background: rgba(255,255,255,.8); border:1px solid rgba(13,44,56,.08);
  box-shadow: var(--shadow); font-size: .94rem;
}
.hero-card {
  position: relative; background: linear-gradient(160deg, rgba(255,255,255,0.88), rgba(255,255,255,0.62));
  border: 1px solid rgba(13,44,56,0.08); border-radius: 28px; padding: 18px; box-shadow: var(--shadow);
}
.hero-card img, .image-card img { width: 100%; height: 100%; object-fit: cover; border-radius: 20px; }
.hero-card img { height: 510px; }
.image-card { overflow:hidden; }
.image-card img { aspect-ratio: 4/3; }
.floating-badge {
  position: absolute; right: 18px; bottom: 18px; background: rgba(255,255,255,.95); padding: 16px 18px; border-radius: 18px;
  box-shadow: var(--shadow); min-width: 170px;
}
.floating-badge strong { display:block; font-size: 1.7rem; color: var(--brand); }
.floating-badge span { color: var(--muted); font-size: .92rem; }

.section { padding: 100px 0; }
.section.alt { background: linear-gradient(180deg, rgba(255,255,255,.45), rgba(255,255,255,.10)); border-top:1px solid rgba(13,44,56,.05); border-bottom:1px solid rgba(13,44,56,.05); }
.section-head { max-width: 760px; margin-bottom: 26px; }
.section-head p { color: var(--muted); margin-top: 8px; }

.stats-wrap { padding-top: 8px; }
.stats-grid { display:grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 16px; }
.stat-card {
  background: linear-gradient(180deg, rgba(255,255,255,.92), rgba(255,255,255,.74));
  border:1px solid rgba(13,44,56,.08); border-radius: 22px; padding: 20px; box-shadow: var(--shadow);
}
.stat-card strong { display:block; font-size: 1.7rem; color: var(--brand); margin-bottom: 8px; }

.cards { display:grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 16px; }
.card {
  background: var(--card); border:1px solid rgba(13,44,56,.08); border-radius: var(--radius); padding: 24px;
  box-shadow: var(--shadow); backdrop-filter: blur(4px);
}
.card p:last-child { margin-bottom: 0; }
.card-icon { width: 44px; height: 44px; border-radius: 14px; display:grid; place-items:center; font-weight:700; color:#fff; background: linear-gradient(135deg, var(--brand), var(--brand-2)); margin-bottom: 16px; }

.gallery { display:grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; }
.gallery-item { overflow:hidden; border-radius: 24px; background: rgba(255,255,255,.85); border:1px solid rgba(13,44,56,.08); box-shadow: var(--shadow); }
.gallery-item img { width:100%; aspect-ratio: 4/3; object-fit:cover; }
.gallery-caption { padding: 16px 18px 18px; }
.badge-inline {
  display:inline-flex; margin-top: 8px; padding: 7px 10px; border-radius: 999px; background: rgba(13,44,56,.08);
  color: var(--brand); font-size: .84rem; font-weight: 700;
}

.split-grid, .contact-grid, .page-grid { display:grid; grid-template-columns: .98fr 1.02fr; gap: 22px; align-items:center; }
.feature-list { list-style:none; padding:0; margin: 18px 0 0; display:grid; gap: 12px; }
.feature-list li {
  display:flex; gap: 10px; align-items:flex-start;
  background: rgba(255,255,255,.72); border:1px solid rgba(13,44,56,.06); border-radius: 16px; padding: 12px 14px;
}
.feature-list li::before { content: "✓"; color: var(--success); font-weight: 700; margin-top: 1px; }
.feature-list.compact { gap: 10px; margin-top: 14px; }
.feature-list.compact li { background: transparent; border: 0; padding: 0; }

.testimonials { display:grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; }
.quote-card {
  background: linear-gradient(180deg, rgba(255,255,255,.92), rgba(255,255,255,.80));
  border:1px solid rgba(13,44,56,.08); border-radius: 24px; padding: 22px; box-shadow: var(--shadow);
}
.stars { color: var(--brand-2); letter-spacing: .14em; margin-bottom: 12px; }

.steps { display:grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 16px; }
.step {
  background: rgba(255,255,255,.82); border:1px solid rgba(13,44,56,.08); border-radius: 24px; padding: 22px; box-shadow: var(--shadow);
}
.step-num { display:inline-grid; place-items:center; width: 42px; height: 42px; border-radius: 50%; background: var(--brand); color:#fff; font-weight:700; margin-bottom: 14px; }

.faq-list { display:grid; gap: 14px; }
.faq-item {
  border:1px solid rgba(13,44,56,.08); background: rgba(255,255,255,.84);
  border-radius: 22px; padding: 18px 20px; box-shadow: var(--shadow);
}
.faq-item summary {
  list-style:none; cursor:pointer; font-weight:700; display:flex; align-items:center; justify-content:space-between;
}
.faq-item summary::-webkit-details-marker { display:none; }
.faq-item summary::after { content:"+"; font-size:1.2rem; color: var(--brand); }
.faq-item[open] summary::after { content:"−"; }
.faq-item p { margin: 12px 0 0; color: var(--muted); }

.coverage-chips, .chips { display:flex; flex-wrap:wrap; gap: 10px; }
.coverage-chips span, .chips span { background: rgba(255,255,255,.85); border:1px solid rgba(13,44,56,.08); padding: 10px 14px; border-radius: 999px; box-shadow: var(--shadow); }

.banner {
  background: linear-gradient(135deg, var(--brand), #123e4c 58%, var(--brand-2)); color:#fff; border-radius: 30px; padding: 34px; box-shadow: var(--shadow);
  display:grid; grid-template-columns: minmax(0,1.1fr) auto; gap: 20px; align-items:center;
}
.banner p { color: rgba(255,255,255,.85); }
.mini-banner { margin-top: 22px; padding: 24px; border-radius: 24px; grid-template-columns: 1fr; }

.service-layout { display:grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; }
.service-detail {
  background: rgba(255,255,255,.86); border:1px solid rgba(13,44,56,.08); border-radius: 24px; padding: 24px; box-shadow: var(--shadow);
}

.project-showcase { display:grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; }
.project-card {
  background: rgba(255,255,255,.88); border:1px solid rgba(13,44,56,.08); border-radius: 24px; overflow:hidden; box-shadow: var(--shadow);
}
.project-card img { width:100%; aspect-ratio: 4/3; object-fit:cover; }
.project-body { padding: 18px; }
.project-top { display:flex; justify-content:space-between; gap:12px; align-items:flex-start; }

.guarantees { display:grid; gap: 12px; }
.guarantee {
  background: rgba(255,255,255,.78); border:1px solid rgba(13,44,56,.08); border-radius: 18px; padding: 16px 18px; box-shadow: var(--shadow);
}
.guarantee strong { display:block; margin-bottom: 6px; }
.ribbon {
  display:flex; gap:10px; flex-wrap:wrap; margin-bottom: 22px;
}
.ribbon span {
  background: rgba(13,44,56,.08); color: var(--brand); padding: 10px 14px; border-radius: 999px; font-weight: 700;
}

.devis-grid { display:grid; grid-template-columns: minmax(320px,.88fr) minmax(0,1.12fr); gap: 20px; align-items:start; }
.devis-card { background: var(--card); border:1px solid rgba(13,44,56,.08); border-radius: 28px; padding: 26px; box-shadow: var(--shadow); }
.devis-steps { margin: 16px 0 0; padding-left: 18px; }
.kpi-list { display:grid; gap: 10px; margin-top: 18px; }
.kpi { display:flex; gap: 10px; align-items:flex-start; color: var(--text); }
.kpi::before { content:"✓"; color: var(--success); font-weight: 700; }
.form { display:grid; gap: 14px; }
.form-grid { display:grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; }
.form label { display:grid; gap: 8px; font-weight: 600; }
.form label span { font-size: .95rem; }
.form input, .form select, .form textarea {
  width: 100%; border:1px solid rgba(13,44,56,.14); border-radius: 16px; min-height: 52px; padding: 14px 16px;
  background: rgba(255,255,255,.92); font: inherit; color: var(--text);
}
.form textarea { min-height: 140px; resize: vertical; }
.form .full { grid-column: 1 / -1; }
.consent { display:flex !important; grid-template-columns: none !important; gap: 10px !important; align-items:flex-start; font-weight: 500 !important; }
.consent input { width: 18px; min-height: 18px; margin-top: 4px; }
.form-note, .upload-meta { font-size: .92rem; color: var(--muted); }
.upload-box {
  border:1.5px dashed rgba(13,44,56,.18); background: rgba(247,244,239,.95); border-radius: 22px; padding: 18px;
}
.file-preview { display:flex; flex-wrap:wrap; gap: 10px; margin-top: 12px; }
.file-chip { padding: 8px 12px; border-radius: 999px; background: rgba(13,44,56,.08); color: var(--brand); font-size: .88rem; }
.note-grid { display:grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; margin-top: 18px; }
.note-box { background: rgba(13,44,56,.05); border-radius: 18px; padding: 16px; }
.note-box strong { display:block; margin-bottom: 6px; }
.project-mini {
  display:grid; grid-template-columns: 120px 1fr; gap: 14px; align-items:center; margin-top: 18px;
  background: rgba(13,44,56,.04); border-radius: 18px; padding: 14px;
}
.project-mini img { width:100%; border-radius: 14px; aspect-ratio: 1/1; object-fit: cover; }
.success-box { background: rgba(29,107,80,.10); color: var(--success); padding: 12px 14px; border-radius: 14px; }
.error-box { background: rgba(166,54,37,.09); color: #8d3024; padding: 12px 14px; border-radius: 14px; }

.contact-list { display:grid; gap: 12px; }
.contact-item { background: rgba(255,255,255,.85); border-radius: 20px; padding: 18px; border:1px solid rgba(13,44,56,.08); box-shadow: var(--shadow); }

.site-footer { padding: 44px 0 24px; background: #102832; color: #eef3f4; margin-top: 26px; }
.footer-grid { display:grid; grid-template-columns: 1.1fr .9fr .9fr; gap: 24px; }
.site-footer .muted, .site-footer a { color: rgba(238,243,244,.74); }
.footer-list { list-style: none; padding: 0; margin: 12px 0 0; display:grid; gap: 8px; }
.footer-bottom { display:flex; justify-content:space-between; gap: 14px; padding-top: 22px; margin-top: 22px; border-top:1px solid rgba(255,255,255,.12); font-size: .94rem; }

.mobile-cta { display:none; }

@media (max-width: 1020px) {
  .hero-grid, .devis-grid, .contact-grid, .page-grid, .banner, .split-grid { grid-template-columns: 1fr; }
  .cards, .project-showcase, .testimonials, .stats-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .gallery, .service-layout { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .header-wrap { flex-wrap: wrap; }
  .nav { order: 3; width: 100%; justify-content: space-between; gap: 12px; overflow-x:auto; padding-bottom:4px; }
  .hero { padding: 90px 0 50px; }
  .hero-card img { height: 360px; }
  .cards, .gallery, .steps, .note-grid, .form-grid, .footer-grid, .service-layout, .project-showcase, .testimonials, .stats-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; padding-bottom: 76px; }
  .btn, .btn-sm, .btn-ghost-light { width: 100%; }
  .cta-row { flex-direction: column; }
  .mobile-cta {
    display:block; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 35;
  }
  .mobile-cta .btn { min-height: 54px; }
}


html { scroll-behavior: smooth; }
.nav a { position: relative; }
.nav a::after { content:""; position:absolute; left:0; right:0; bottom:-8px; height:2px; background:linear-gradient(90deg, var(--brand), var(--brand-2)); transform:scaleX(0); transform-origin:left; transition:transform .25s ease; }
.nav a:hover::after, .nav a:focus-visible::after { transform:scaleX(1); }
.site-header { backdrop-filter: blur(14px); }
.hero::before { content:""; position:absolute; inset:0; background:radial-gradient(circle at 20% 15%, rgba(207,168,127,.16), transparent 28%), radial-gradient(circle at 78% 18%, rgba(13,44,56,.08), transparent 22%); pointer-events:none; }
.hero { position:relative; overflow:hidden; }
.hero-copy h1 { font-family: "Playfair Display", Georgia, serif; font-size: clamp(3rem, 6vw, 5.2rem); line-height: 1.04; letter-spacing: -0.02em; margin: 0; max-width: 8ch; }
.btn { transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.btn:hover { transform: translateY(-1px); }
.hero-card, .devis-card, .quote-card, .card, .project-card, .faq-item, .service-detail, .contact-item, .stat-card, .step { transition: transform .18s ease, box-shadow .18s ease; }
.hero-card:hover, .devis-card:hover, .quote-card:hover, .card:hover, .project-card:hover, .service-detail:hover { transform: translateY(-3px); box-shadow: 0 28px 50px rgba(13,44,56,.14); }
.premium-strip-wrap { padding-top: 8px; padding-bottom: 8px; }
.premium-strip { display:flex; gap:12px; flex-wrap:wrap; }
.premium-pill { background: rgba(255,255,255,.84); border:1px solid rgba(13,44,56,.08); border-radius: 999px; padding: 12px 16px; font-weight: 700; box-shadow: var(--shadow); }
.assurance-panel { display:grid; gap:16px; }
.assurance-card { background: rgba(255,255,255,.86); border:1px solid rgba(13,44,56,.08); border-radius: 26px; padding: 24px; box-shadow: var(--shadow); }
.assurance-card.dark { background: linear-gradient(135deg, #0f2d39, #143a48); color:#fff; }
.assurance-card.dark p { color: rgba(255,255,255,.82); }
.assurance-kicker { display:inline-flex; padding:7px 10px; border-radius:999px; background: rgba(13,44,56,.08); color: var(--brand); font-size:.82rem; font-weight:700; margin-bottom:14px; }
.assurance-card.dark .assurance-kicker { background: rgba(255,255,255,.16); color: #fff; }
.trust-box-grid { display:grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap:16px; }
.trust-box { background: rgba(255,255,255,.84); border:1px solid rgba(13,44,56,.08); border-radius: 22px; padding: 18px 20px; box-shadow: var(--shadow); display:grid; gap:6px; }
.trust-box strong { color: var(--brand); }
.site-footer { margin-top: 0; }
.mobile-cta { box-shadow: 0 -8px 24px rgba(13,44,56,.18); }
@media (max-width: 1020px) {
  .trust-box-grid { grid-template-columns: 1fr; }
}

.nav a.active { color: var(--brand); font-weight: 700; }
.service-detail a strong, .card a strong { color: var(--brand); }
.service-detail a:hover strong, .card a:hover strong { text-decoration: underline; }

.btn:hover, .btn:focus-visible { transform: translateY(-2px); box-shadow: 0 20px 40px rgba(13,44,56,.12); }
.site-header { position: sticky; top: 0; z-index: 1000; background: rgba(247,244,239,.92); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(13,44,56,.08); }
.header-wrap { min-height: 86px; display:flex; align-items:center; justify-content:space-between; gap:24px; }
.nav { display:flex; align-items:center; gap:22px; flex:1; justify-content:center; }
.nav a { color: var(--text); text-decoration:none; font-weight:600; font-size:.96rem; opacity:.9; position:relative; }
.nav a.active, .nav a:hover { opacity:1; }
.nav a.active::after, .nav a:hover::after { content:""; position:absolute; left:0; right:0; bottom:-10px; height:2px; border-radius:999px; background: linear-gradient(90deg, var(--brand), var(--brand-2)); }
.card, .gallery-item, .project-card, .quote-card, .step, .stat-card, .service-detail, .devis-card, .contact-item, .faq-item { transition: transform .24s ease, box-shadow .24s ease; }
.card:hover, .gallery-item:hover, .project-card:hover, .quote-card:hover, .step:hover, .stat-card:hover, .service-detail:hover, .contact-item:hover { transform: translateY(-6px); box-shadow: 0 24px 50px rgba(13,44,56,.10); }
.image-card, .hero-card { overflow:hidden; }
.image-card img, .hero-card img, .project-card img, .gallery-item img { transition: transform .45s ease; }
.image-card:hover img, .hero-card:hover img, .project-card:hover img, .gallery-item:hover img { transform: scale(1.02); }
.banner { border-radius: 28px; padding: 42px 48px; background: linear-gradient(135deg, #103949 0%, #0c4c61 45%, #a98343 100%); }
.banner h2 { font-size: clamp(2rem, 4vw, 3rem); line-height:1.08; }
.site-footer { padding: 64px 0 24px; }

@media (max-width: 768px) {
  .section { padding: 70px 0; }
  .container { padding: 0 18px; }
  .hero-copy h1 { font-size: clamp(2.6rem, 10vw, 3.6rem); max-width: 10ch; }
}


/* ===== V9.1 Devis conversion upgrade ===== */
.devis-hero-section { padding-top: 72px; }
.devis-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.02fr;
  gap: 30px;
  align-items: start;
}
.devis-hero-copy { padding-right: 12px; }
.devis-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}
.devis-point {
  background: rgba(255,255,255,0.82);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 16px 16px 14px;
  box-shadow: 0 12px 26px rgba(13,44,56,.05);
}
.devis-point strong {
  display:block;
  margin-bottom: 6px;
  color: var(--brand);
}
.devis-point span {
  display:block;
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.55;
}
.devis-mini-proof {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 16px;
  align-items: center;
  margin-top: 28px;
  padding: 16px;
  background: rgba(255,255,255,0.78);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 16px 30px rgba(13,44,56,.06);
}
.devis-mini-proof img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 18px;
}
.devis-form-card {
  background: rgba(255,255,255,0.94);
  border: 1px solid rgba(13,44,56,.08);
  border-radius: 30px;
  padding: 28px;
  box-shadow: 0 24px 54px rgba(13,44,56,.10);
}
.devis-form-head p { margin-top: 6px; margin-bottom: 22px; color: var(--muted); }
.devis-form-enhanced textarea { min-height: 138px; }
.enhanced-upload-box {
  background: linear-gradient(180deg, rgba(255,255,255,.85), rgba(248,244,236,.88));
  border: 1px dashed rgba(13,44,56,.18);
}
.upload-meta-strong { margin-top: 6px; }
.upload-hints {
  display:flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}
.upload-hints span {
  display:inline-flex;
  align-items:center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(13,44,56,.06);
  color: var(--brand);
  font-size: .9rem;
  font-weight: 600;
}
.btn-submit-wide {
  width: 100%;
  margin-top: 4px;
  min-height: 58px;
  font-size: 1rem;
}
@media (max-width: 980px) {
  .devis-hero-grid { grid-template-columns: 1fr; }
  .devis-hero-copy { padding-right: 0; }
}
@media (max-width: 720px) {
  .devis-hero-section { padding-top: 44px; }
  .devis-points { grid-template-columns: 1fr; }
  .devis-mini-proof { grid-template-columns: 84px 1fr; }
  .devis-form-card { padding: 20px; border-radius: 24px; }
}

.success-box.secondary { background: rgba(13,44,56,.06); color: var(--brand); border: 1px solid rgba(13,44,56,.10); }
.subtle-note { opacity: .9; }
.center-link { margin-top: 18px; text-align:center; }
.center-link a { color: var(--brand); }
/* ================================
   REALISATIONS PAGE
================================ */

.gallery-section {
  margin-top: 56px;
}

.gallery-section-head {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 28px;
}

.gallery-section-head h2 {
  margin-bottom: 12px;
}

.gallery-section-head p {
  color: #5a6b5e;
  margin: 0;
}

.gallery-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 32px;
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 16px;
}

.gallery-tab {
  background: none;
  border: none;
  padding: 10px 22px;
  font-size: 1rem;
  font-weight: 500;
  color: #5a6b5e;
  cursor: pointer;
  transition: all 0.25s ease;
  border-radius: 999px;
  font-family: inherit;
}

.gallery-tab:hover,
.gallery-tab:focus-visible {
  color: #c49a6c;
  background: #fefaf5;
  outline: none;
}

.gallery-tab.active {
  background: #c49a6c;
  color: #fff;
  box-shadow: 0 8px 20px rgba(196, 154, 108, 0.22);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 24px;
}

.gallery-item {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4 / 3;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background: #f7f7f4;
}

.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.14);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
  display: block;
}

.gallery-item:hover img {
  transform: scale(1.04);
}

.gallery-overlay {
  position: absolute;
  inset: auto 0 0 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  padding: 18px 18px 16px;
  color: #fff;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.gallery-item:hover .gallery-overlay,
.gallery-item:focus-within .gallery-overlay {
  opacity: 1;
}

.gallery-overlay strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.gallery-overlay p {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.45;
  opacity: 0.96;
}

.gallery-empty {
  text-align: center;
  padding: 60px 24px;
  color: #8b8b8b;
  background: #fafaf8;
  border-radius: 24px;
  grid-column: 1 / -1;
}

.gallery-empty i {
  font-size: 1.6rem;
  margin-bottom: 10px;
  display: inline-block;
  color: #c49a6c;
}

.portfolio-cta {
  margin-top: 36px;
  background: linear-gradient(135deg, #f8f5ef 0%, #fff 100%);
  border: 1px solid #eee3d7;
  border-radius: 24px;
  padding: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.portfolio-cta h3 {
  margin: 0 0 8px;
}

.portfolio-cta p {
  margin: 0;
  color: #5a6b5e;
  max-width: 680px;
}

.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.92);
  z-index: 1000;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  padding: 24px;
}

.lightbox.active {
  display: flex;
}

.lightbox-img {
  max-width: 90%;
  max-height: 86%;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 24px;
  color: #fff;
  font-size: 38px;
  cursor: pointer;
  transition: color 0.25s ease;
  line-height: 1;
  background: none;
  border: none;
}

.lightbox-close:hover,
.lightbox-close:focus-visible {
  color: #c49a6c;
  outline: none;
}

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  border: none;
  padding: 16px;
  font-size: 22px;
  cursor: pointer;
  border-radius: 50%;
  transition: all 0.25s ease;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
}

.lightbox-prev:hover,
.lightbox-next:hover,
.lightbox-prev:focus-visible,
.lightbox-next:focus-visible {
  background: #c49a6c;
  outline: none;
}

.lightbox-prev {
  left: 18px;
}

.lightbox-next {
  right: 18px;
}

.lightbox-caption {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: min(90%, 760px);
  text-align: center;
  color: #fff;
  padding: 14px 18px;
  background: rgba(0, 0, 0, 0.58);
  border-radius: 12px;
  font-size: 0.92rem;
  line-height: 1.45;
}

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 16px;
  }

  .gallery-tab {
    padding: 8px 16px;
    font-size: 0.92rem;
  }

  .lightbox-prev,
  .lightbox-next {
    width: 42px;
    height: 42px;
    font-size: 17px;
  }

  .lightbox-caption {
    font-size: 0.85rem;
    bottom: 14px;
  }

  .portfolio-cta {
    padding: 22px;
  }
}

.center-link{margin-top:18px;text-align:center;}
.estimate-box{display:grid;gap:10px;background:rgba(13,44,56,.05);border:1px solid rgba(13,44,56,.08);border-radius:22px;padding:22px;margin:12px 0 18px;}
.estimate-box strong{font-size:clamp(32px,4vw,52px);color:var(--brand);font-family:"Cormorant Garamond",serif;line-height:1;}


.quick-proof {
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 16px;
  margin-top: 22px;
}
.quick-proof .card { padding: 20px; }
.subtle-note { opacity: .9; }
@media (max-width: 900px) {
  .quick-proof { grid-template-columns: 1fr; }
}



@media (max-width: 1180px) {
  .header-wrap {
    grid-template-columns: auto 1fr;
    align-items: start;
  }
  .header-actions {
    grid-column: 2;
    justify-self: end;
    margin-top: 2px;
  }
  .nav {
    justify-content: flex-start;
  }
}

@media (max-width: 860px) {
  .site-header { position: sticky; }
  .header-wrap {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 12px 0;
  }
  .brand {
    justify-content: center;
  }
  .brand-wordmark {
    height: 26px;
  }
  .brand-tag {
    text-align: center;
    letter-spacing: .06em;
  }
  .nav {
    justify-content: center;
    gap: 4px;
  }
  .nav a {
    padding: 8px 10px;
    font-size: .9rem;
  }
  .header-actions {
    justify-content: center;
    grid-column: auto;
  }
}

@media (max-width: 560px) {
  .brand-logo {
    width: 38px;
    height: 38px;
  }
  .brand-wordmark {
    height: 22px;
  }
  .brand-tag {
    font-size: 10px;
  }
  .nav {
    display: none;
  }
}


.active-lang{font-weight:700;text-decoration:underline;}

/* v9.5 fix: active-lang alias for lang button */
.lang-btn.active-lang { background: var(--brand); color: #fff; border-color: var(--brand); }

/* tel-link in header */
.tel-link {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--brand);
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(13,44,56,.14);
  background: rgba(255,255,255,.72);
  white-space: nowrap;
  transition: transform .18s ease;
}
.tel-link:hover { transform: translateY(-1px); }
@media (max-width: 720px) {
  .tel-link { display: none; }
}

/* v9.6 logo update */
.brand-logo {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(20,25,30,.10);
  flex: 0 0 auto;
}
.brand-wordmark {
  height: 38px;
  width: auto;
  display: block;
}
