/* —— Variables —— */
:root {
  --color-bg: #f6f4f0;
  --color-surface: #ffffff;
  --color-ink: #1a1f24;
  --color-ink-muted: #4a5560;
  --color-accent: #c45c26;
  --color-accent-hover: #a34d20;
  --color-deep: #243040;
  --color-border: #e2ddd4;
  --font-sans: "DM Sans", system-ui, sans-serif;
  --font-display: "Fraunces", Georgia, serif;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(26, 31, 36, 0.08);
  --shadow-lg: 0 20px 50px rgba(26, 31, 36, 0.12);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-ink);
  background: var(--color-bg);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-accent);
  text-decoration: none;
}

a:hover {
  color: var(--color-accent-hover);
}

.wrap {
  width: min(1120px, 100% - 2.5rem);
  margin-inline: auto;
}

/* —— Header —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(246, 244, 240, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  gap: 1rem;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-ink);
  letter-spacing: -0.02em;
}

.logo span {
  color: var(--color-accent);
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.nav a {
  color: var(--color-ink-muted);
  font-weight: 500;
  font-size: 0.95rem;
}

.nav a:hover {
  color: var(--color-ink);
}

.nav-cta {
  background: var(--color-deep);
  color: #fff !important;
  padding: 0.5rem 1rem;
  border-radius: 999px;
}

.nav-cta:hover {
  background: var(--color-accent);
  color: #fff !important;
}

.nav-toggle {
  display: none;
}

@media (max-width: 767px) {
  .header-inner {
    flex-wrap: wrap;
    align-items: center;
    padding: 0.75rem 0;
    gap: 0.5rem 0.75rem;
  }

  .logo {
    flex: 1;
    min-width: 0;
    font-size: 1.15rem;
  }

  .nav-toggle {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 2.75rem;
    height: 2.75rem;
    padding: 0;
    border: 1px solid var(--color-border);
    border-radius: 10px;
    background: var(--color-surface);
    box-shadow: 0 1px 3px rgba(26, 31, 36, 0.06);
    cursor: pointer;
    flex-shrink: 0;
    -webkit-tap-highlight-color: transparent;
  }

  .nav-toggle:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
  }

  .nav-toggle-bar {
    display: block;
    width: 1.2rem;
    height: 2px;
    background: var(--color-deep);
    border-radius: 1px;
    transform-origin: center;
    transition: transform 0.2s ease, opacity 0.2s ease;
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .nav {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
    flex-basis: 100%;
    order: 3;
    padding: 0.35rem 0 0.15rem;
    margin: 0.35rem 0 0;
    border-top: 1px solid var(--color-border);
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    font-size: 0.98rem;
    padding: 0.8rem 0.15rem;
    border-bottom: 1px solid rgba(226, 221, 212, 0.9);
  }

  .nav a:first-of-type {
    padding-top: 0.5rem;
  }

  .nav a:last-of-type {
    border-bottom: none;
    padding-bottom: 0.25rem;
  }

  .nav-cta {
    margin-top: 0.4rem;
    text-align: center;
    padding: 0.7rem 1rem !important;
    border-radius: 10px;
  }

  body.nav-open {
    overflow: hidden;
  }
}

/* —— Hero —— */
.hero {
  position: relative;
  padding: clamp(3rem, 8vw, 5.5rem) 0 clamp(4rem, 10vw, 6rem);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(36, 48, 64, 0.94) 0%, rgba(36, 48, 64, 0.85) 50%, rgba(196, 92, 38, 0.35) 100%),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.06'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 640px;
}

.hero-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.75);
  margin: 0 0 1rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 2.85rem);
  font-weight: 700;
  line-height: 1.15;
  color: #fff;
  margin: 0 0 1.25rem;
  letter-spacing: -0.02em;
}

.hero-lead {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.88);
  margin: 0 0 2rem;
  max-width: 36rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.5rem;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--color-accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--color-accent-hover);
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
  color: #fff;
}

/* —— Sections —— */
.section {
  padding: clamp(3.5rem, 7vw, 5rem) 0;
}

.section-head {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 2.75rem;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--color-ink);
  margin: 0 0 0.75rem;
  letter-spacing: -0.02em;
}

.section-head p {
  margin: 0;
  color: var(--color-ink-muted);
  font-size: 1.05rem;
}

.section-head--light h2,
.section-head--light p {
  color: #fff;
}

.section-head--light p {
  opacity: 0.92;
}

/* —— Services —— */
.services {
  background: var(--color-surface);
}

.service-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}

.service-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.5rem 1.5rem 1.6rem;
  transition: box-shadow 0.25s, border-color 0.25s;
}

.service-card:hover {
  box-shadow: var(--shadow);
  border-color: transparent;
}

.service-icon {
  display: block;
  font-size: 1.5rem;
  color: var(--color-accent);
  margin-bottom: 0.75rem;
  line-height: 1;
}

.service-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  color: var(--color-ink);
}

.service-card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--color-ink-muted);
}

/* —— Trust —— */
.trust {
  background: linear-gradient(180deg, var(--color-bg) 0%, #ebe8e2 100%);
}

.trust-inner {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 800px) {
  .trust-inner {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

.trust-copy h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 1.85rem);
  margin: 0 0 1rem;
}

.trust-copy > p {
  margin: 0 0 1.25rem;
  color: var(--color-ink-muted);
}

.trust-list {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--color-ink);
}

.trust-list li {
  margin-bottom: 0.5rem;
}

.trust-list li::marker {
  color: var(--color-accent);
}

.trust-card {
  background: var(--color-deep);
  color: #fff;
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-lg);
}

.trust-card blockquote {
  margin: 0;
}

.trust-card p {
  margin: 0;
  font-size: 1.1rem;
  font-style: italic;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.95);
}

/* —— Carte zone d’intervention —— */
.map-section {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
}

.map-wrap {
  max-width: 900px;
  margin: 0 auto;
}

/* Carte OpenStreetMap (iframe) — pas de JS, affichage fiable */
.map-frame-shell {
  position: relative;
  width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow);
  background: #dde6e4;
  aspect-ratio: 16 / 10;
  min-height: 260px;
}

.map-iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 280px;
  border: 0;
  vertical-align: top;
}

@media (max-width: 480px) {
  .map-frame-shell {
    aspect-ratio: 4 / 5;
    min-height: 300px;
  }
}

.map-note {
  margin: 0.85rem 0 0;
  font-size: 0.82rem;
  color: var(--color-ink-muted);
  text-align: center;
  line-height: 1.45;
}

.map-note a {
  font-weight: 500;
}

/* —— Contact —— */
.contact {
  background: linear-gradient(160deg, var(--color-deep) 0%, #1a222c 100%);
  color: #fff;
}

.contact-inner {
  max-width: 920px;
}

.contact-cards {
  display: grid;
  gap: 1rem;
}

@media (min-width: 560px) {
  .contact-cards {
    grid-template-columns: 1fr 1fr;
  }
}

.contact-card {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.5rem 1.5rem 1.6rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius);
  color: inherit;
  transition: background 0.2s, border-color 0.2s;
}

.contact-card:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.28);
  color: inherit;
}

.contact-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.75;
}

.contact-value {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
}

.contact-hint {
  font-size: 0.85rem;
  opacity: 0.7;
  margin-top: 0.25rem;
}

.contact-extra {
  margin-top: 2.5rem;
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 720px) {
  .contact-extra {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

.contact-panel {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 1.35rem 1.5rem 1.5rem;
  text-align: left;
}

.contact-panel-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
}

.hours-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.hours-table th {
  font-weight: 600;
  text-align: left;
  padding: 0.4rem 1rem 0.4rem 0;
  color: rgba(255, 255, 255, 0.85);
  vertical-align: top;
  width: 38%;
}

.hours-table td {
  padding: 0.4rem 0;
  color: rgba(255, 255, 255, 0.95);
}

.hours-muted {
  color: rgba(255, 255, 255, 0.55);
  font-style: italic;
}

.contact-about {
  margin: 0 0 1rem;
  font-size: 0.98rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.92);
}

.contact-about strong {
  color: #fff;
}

.contact-handle {
  color: rgba(255, 255, 255, 0.75);
  font-weight: 500;
}

.legal-dl {
  margin: 0;
}

.legal-dl > div {
  margin-bottom: 0.75rem;
}

.legal-dl > div:last-child {
  margin-bottom: 0;
}

.legal-dl dt {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.55);
  margin: 0 0 0.2rem;
}

.legal-dl dd {
  margin: 0;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.95);
}

.legal-dl .siret {
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}

/* —— Avis clients —— */
.reviews {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
}

.reviews-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 760px;
  margin: 0 auto;
}

.review-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.35rem 1.5rem 1.45rem;
  transition: box-shadow 0.2s;
}

.review-card:hover {
  box-shadow: var(--shadow);
}

.review-card--mixed {
  border-color: #d4ccc0;
}

.review-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  margin-bottom: 0.5rem;
}

.review-author {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.review-name {
  font-weight: 700;
  color: var(--color-ink);
  font-size: 1.05rem;
}

.review-date {
  font-size: 0.85rem;
  color: var(--color-ink-muted);
}

.review-rating {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.review-stars {
  color: var(--color-accent);
  font-size: 1rem;
  letter-spacing: 0.05em;
  line-height: 1;
}

.review-stars--low {
  color: #9a8f82;
}

.review-score {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--color-ink);
}

.review-score--low {
  color: var(--color-ink-muted);
}

.review-category {
  margin: 0 0 0.65rem;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-accent);
}

.review-text {
  margin: 0;
  font-size: 0.98rem;
  color: var(--color-ink);
  line-height: 1.65;
}

.review-reply {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px dashed var(--color-border);
}

.review-reply-label {
  margin: 0 0 0.35rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-deep);
}

.review-reply-text {
  margin: 0;
  font-size: 0.95rem;
  color: var(--color-ink-muted);
  font-style: italic;
  line-height: 1.55;
}

/* —— Footer —— */
.site-footer {
  background: #14181c;
  color: rgba(255, 255, 255, 0.55);
  padding: 1.5rem 0;
  font-size: 0.85rem;
}

.footer-inner {
  text-align: center;
}

.footer-brand {
  margin: 0 0 0.35rem;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
}

.footer-meta {
  margin: 0;
}
