/* ===========================================================
   Aurélien Gauvrit — Peintre-solier · Le Gua
   Feuille de style unique — site HTML statique
   =========================================================== */

:root {
  --bg-warm: #FAF9F6;
  --bg-sand: #F0EDE5;
  --ink: #131313;
  --atlantic: #1A3D5C;
  --atlantic-dark: #0F2A42;
  --atlantic-light: #5D8AB0;
  --stone: #6E6B65;
  --ocre: #C4703A;
  --border: #E5E1D7;
  --max: 1180px;
  --font: 'Instrument Sans', system-ui, -apple-system, "Segoe UI", sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg-warm);
  line-height: 1.65;
  font-size: 17px;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a { color: var(--atlantic); text-decoration: none; }
a:hover { color: var(--atlantic-dark); }

/* ============ HEADER ============ */
.site-header {
  background: var(--bg-warm);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(8px);
  background: rgba(250, 249, 246, 0.92);
}
.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand svg { height: 44px; width: auto; }

.site-nav ul {
  display: flex;
  gap: 4px;
  list-style: none;
  align-items: center;
}
.site-nav a {
  display: block;
  padding: 8px 14px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  border-radius: 4px;
  transition: background 0.15s;
}
.site-nav a:hover { background: var(--bg-sand); }
.site-nav a.cta-nav {
  background: var(--atlantic);
  color: #fff;
  padding: 10px 18px;
  margin-left: 8px;
}
.site-nav a.cta-nav:hover { background: var(--atlantic-dark); }

.menu-toggle { display: none; }
.menu-icon {
  display: none;
  cursor: pointer;
  padding: 8px;
  font-size: 24px;
  line-height: 1;
}

/* ============ HERO ============ */
.hero {
  padding: 100px 24px 80px;
  background-image: linear-gradient(rgba(250,249,246,0.82), rgba(250,249,246,0.88)), url('/assets/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  position: relative;
}
.hero-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: 32px;
  border-left: 4px solid var(--atlantic);
}
.hero-eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--atlantic);
  margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 28px;
  max-width: 900px;
}
.hero-desc {
  font-size: clamp(17px, 2vw, 20px);
  color: var(--stone);
  max-width: 680px;
  margin-bottom: 40px;
}

/* ============ CTA ============ */
.cta {
  display: inline-block;
  background: var(--atlantic);
  color: #fff;
  padding: 16px 30px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.02em;
  border: 2px solid var(--atlantic);
  transition: all 0.2s;
  cursor: pointer;
  font-family: var(--font);
}
.cta:hover { background: var(--atlantic-dark); color: #fff; border-color: var(--atlantic-dark); }
.cta-secondary {
  background: transparent;
  color: var(--atlantic);
}
.cta-secondary:hover { background: var(--atlantic); color: #fff; }
.cta-tel {
  display: inline-block;
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
  margin-left: 24px;
  vertical-align: middle;
}
.cta-tel:hover { color: var(--atlantic); }

/* ============ SECTIONS ============ */
.section {
  padding: 80px 24px;
}
.section-alt { background: var(--bg-sand); }
.section-inner {
  max-width: var(--max);
  margin: 0 auto;
}
.section-eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--atlantic);
  margin-bottom: 12px;
}
.section-eyebrow .num {
  color: var(--ocre);
  margin-right: 10px;
  font-weight: 500;
}
.section h2 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  max-width: 800px;
  line-height: 1.15;
}
.section h3 {
  font-size: 22px;
  font-weight: 700;
  margin: 32px 0 12px;
}
.section p {
  color: var(--stone);
  max-width: 720px;
  margin-bottom: 16px;
}
.section p strong { color: var(--ink); font-weight: 600; }

.section-list {
  list-style: none;
  margin: 20px 0 32px;
  max-width: 720px;
}
.section-list li {
  padding: 14px 0 14px 32px;
  color: var(--ink);
  position: relative;
  border-bottom: 1px solid var(--border);
  font-weight: 400;
}
.section-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 24px;
  width: 18px;
  height: 2px;
  background: var(--ocre);
}

/* ============ CARDS SERVICES ============ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 40px;
}
.service-card {
  background: #fff;
  border: 1px solid var(--border);
  padding: 32px 28px;
  border-radius: 4px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(19,19,19,0.06);
}
.service-card .service-num {
  font-size: 13px;
  font-weight: 500;
  color: var(--ocre);
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}
.service-card h3 {
  color: var(--atlantic);
  font-size: 22px;
  margin: 0 0 12px;
}
.service-card p {
  font-size: 15px;
  margin-bottom: 20px;
}
.service-card a.arrow-link {
  font-weight: 600;
  font-size: 14px;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  padding-bottom: 2px;
}
.service-card a.arrow-link:hover { color: var(--atlantic); border-color: var(--atlantic); }

/* ============ ZONES BLOCK ============ */
.zones-block {
  background: var(--atlantic);
  color: #fff;
  padding: 56px 40px;
  border-radius: 4px;
  margin: 32px 0;
}
.zones-block h2 { color: #fff; margin-bottom: 16px; }
.zones-block p { color: rgba(255,255,255,0.85); }
.zones-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}
.zones-tags span {
  background: rgba(255,255,255,0.12);
  padding: 8px 16px;
  border-radius: 24px;
  font-size: 14px;
  font-weight: 500;
}

/* ============ REVIEWS ============ */
.review {
  background: #fff;
  padding: 28px 32px;
  border-left: 3px solid var(--ocre);
  margin: 16px 0;
  font-style: italic;
  color: var(--stone);
  font-size: 16px;
}
.review-author {
  font-style: normal;
  font-weight: 600;
  color: var(--ink);
  margin-top: 12px;
  display: block;
  font-size: 14px;
}

/* ============ CTA FINAL SECTION ============ */
.cta-final {
  text-align: center;
  padding: 80px 24px;
}
.cta-final h2 {
  margin: 0 auto 20px;
  max-width: 640px;
}
.cta-final p {
  margin: 0 auto 32px;
  max-width: 580px;
}

/* ============ CONTACT PAGE ============ */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  margin-top: 40px;
}
.contact-form {
  background: #fff;
  padding: 40px;
  border: 1px solid var(--border);
  border-radius: 4px;
}
.contact-form label {
  display: block;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 20px 0 8px;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 16px;
  font-family: var(--font);
  background: var(--bg-warm);
  transition: border-color 0.2s;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--atlantic);
  background: #fff;
}
.contact-form textarea { min-height: 130px; resize: vertical; }
.contact-form button { margin-top: 28px; }

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.contact-info-block {
  background: var(--bg-sand);
  padding: 28px 32px;
  border-radius: 4px;
}
.contact-info-block .label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--atlantic);
  margin-bottom: 6px;
}
.contact-info-block .value {
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 4px;
}
.contact-info-block .value.big {
  font-size: 24px;
  font-weight: 700;
}
.contact-info-block .value a { color: var(--ink); }
.contact-info-block .value a:hover { color: var(--atlantic); }
.contact-info-block .sub {
  font-size: 14px;
  color: var(--stone);
}

/* ============ GALLERY ============ */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  margin: 32px 0;
}
.gallery-item {
  background: var(--bg-sand);
  aspect-ratio: 4/3;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--stone);
  font-size: 14px;
  text-align: center;
  padding: 20px;
  border: 1px dashed var(--border);
  font-weight: 500;
}
.gallery-item strong {
  display: block;
  color: var(--ink);
  margin-bottom: 4px;
}

/* ============ FOOTER ============ */
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,0.75);
  padding: 64px 24px 32px;
  margin-top: 40px;
}
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand svg { height: 48px; margin-bottom: 16px; }
.footer-brand p { font-size: 14px; color: rgba(255,255,255,0.6); max-width: 260px; }
.footer-col h4 {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ocre);
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; font-size: 14px; }
.footer-col a { color: rgba(255,255,255,0.75); }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  max-width: var(--max);
  margin: 0 auto;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  flex-wrap: wrap;
  gap: 16px;
}
.footer-bottom a { color: rgba(255,255,255,0.6); }
.footer-bottom a:hover { color: #fff; }

/* ============ MENTIONS LÉGALES ============ */
.legal-page {
  padding: 60px 24px 80px;
  max-width: 800px;
  margin: 0 auto;
}
.legal-page h1 {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 32px;
}
.legal-page h2 {
  font-size: 20px;
  font-weight: 700;
  margin: 32px 0 12px;
  color: var(--atlantic);
}
.legal-page p {
  color: var(--stone);
  margin-bottom: 12px;
  font-size: 16px;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 720px) {
  .header-inner { padding: 12px 20px; flex-wrap: wrap; }
  .brand svg { height: 36px; }
  .menu-icon { display: block; }
  .site-nav ul {
    display: none;
    width: 100%;
    flex-direction: column;
    padding: 12px 0;
    order: 10;
  }
  .menu-toggle:checked ~ ul { display: flex; }
  .site-nav a { padding: 12px 8px; border-bottom: 1px solid var(--border); }
  .site-nav a.cta-nav { margin: 12px 0 0; }

  .hero { padding: 60px 20px 48px; }
  .hero-inner { padding-left: 20px; }
  .section { padding: 48px 20px; }
  .cta-tel { display: block; margin: 16px 0 0; }
  .zones-block { padding: 40px 24px; }
  .contact-form { padding: 28px; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; }
}
