/* L'Atelier du Lac — thème "logo" : palette dérivée du sticker officiel
   (navy #0d3e62, rouge #ed1c24, bleu ciel #83cada, encre #282924).
   Version précédente conservée dans style-classic.css. */

:root {
  --navy: #0d3e62;
  --navy-dark: #082a44;
  --teal: #2f7f93;
  --teal-light: #83cada;
  --sand: #c2181f;
  --ink: #282924;
  --grey: #6b6a64;
  --grey-light: #eaf4f6;
  --white: #ffffff;
  --radius: 10px;
  --max-width: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
}

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

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

a:hover {
  text-decoration: underline;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header / navigation */

.site-header {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.2);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--white);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand-logo {
  height: 44px;
  width: auto;
}

.brand span {
  color: var(--teal-light);
}

.brand:hover {
  text-decoration: none;
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle .bar {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  margin: 5px 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 1.8rem;
  margin: 0;
  padding: 0;
}

.main-nav a {
  color: var(--white);
  font-weight: 500;
  opacity: 0.9;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  opacity: 1;
  color: var(--teal-light);
  text-decoration: none;
}

/* Hero */

.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: var(--white);
  padding: 4.5rem 0;
  text-align: center;
}

.hero-logo {
  display: block;
  height: 130px;
  width: auto;
  margin: 0 auto 1.5rem;
}

.hero h1 {
  font-size: 2.4rem;
  margin: 0 0 0.75rem;
}

.hero p {
  font-size: 1.15rem;
  max-width: 640px;
  margin: 0 auto 2rem;
  color: #d7e3ea;
}

.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: var(--white);
  padding: 2.75rem 0;
  text-align: center;
}

.page-hero h1 {
  margin: 0 0 0.5rem;
  font-size: 2rem;
}

.page-hero p {
  color: #d7e3ea;
  margin: 0;
}

/* Buttons */

.btn {
  display: inline-block;
  padding: 0.75rem 1.6rem;
  border-radius: var(--radius);
  font-weight: 600;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--sand);
  color: var(--white);
}

.btn-primary:hover {
  background: #8f1216;
  text-decoration: none;
}

.btn-outline {
  border-color: var(--white);
  color: var(--white);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  text-decoration: none;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Sections */

section {
  padding: 3.5rem 0;
}

section.alt {
  background: var(--grey-light);
}

h2 {
  font-size: 1.7rem;
  color: var(--navy);
  margin-top: 0;
  padding-bottom: 0.6rem;
}

h2::after {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  background: var(--sand);
  border-radius: 2px;
  margin-top: 0.6rem;
}

.section-intro {
  max-width: 760px;
  color: var(--grey);
  margin-bottom: 2rem;
}

/* Service cards */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--white);
  border: 1px solid #d8e8ec;
  border-radius: var(--radius);
  padding: 1.6rem;
}

.card h3 {
  color: var(--navy);
  margin-top: 0;
  font-size: 1.1rem;
}

.card p {
  color: var(--grey);
  margin-bottom: 0;
  font-size: 0.95rem;
}

.feature-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
  padding: 2rem;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  border-radius: var(--radius);
}

.feature-banner h3 {
  color: var(--white);
  margin: 0 0 0.4rem;
  font-size: 1.3rem;
}

.feature-banner p {
  color: #d7e3ea;
  margin: 0;
  max-width: 520px;
}

/* Tables (tarifs) */

.table-wrapper {
  overflow-x: auto;
  margin-bottom: 1rem;
  border: 1px solid #d8e8ec;
  border-radius: var(--radius);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 480px;
}

thead {
  background: var(--navy);
  color: var(--white);
}

th, td {
  padding: 0.85rem 1.1rem;
  text-align: left;
}

tbody tr:nth-child(even) {
  background: var(--grey-light);
}

.price-note {
  font-size: 0.9rem;
  color: var(--grey);
  font-style: italic;
  margin-top: -0.5rem;
}

/* Map */

.map-frame {
  border: 0;
  width: 100%;
  height: 340px;
  border-radius: var(--radius);
}

.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
}

.model-block {
  margin-bottom: 3rem;
}

.model-block img {
  border-radius: var(--radius);
  width: 100%;
}

.model-block h3 {
  color: var(--navy);
  font-size: 1.4rem;
  margin-top: 0;
}

.model-price {
  display: inline-block;
  background: var(--navy);
  color: var(--white);
  font-weight: 700;
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius);
  margin-bottom: 1rem;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}

.photo-grid img {
  border-radius: var(--radius);
  width: 100%;
}

.doc-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.75rem;
}

.doc-list a {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 1.1rem;
  border: 1px solid #d8e8ec;
  border-radius: var(--radius);
  color: var(--ink);
  font-weight: 600;
}

.doc-list a:hover {
  border-color: var(--teal);
  color: var(--teal);
  text-decoration: none;
}

.doc-list .doc-size {
  font-weight: 400;
  color: var(--grey);
  font-size: 0.85rem;
  margin-left: auto;
}

/* Contact */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 2.5rem;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}

.contact-list li {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1rem;
  color: var(--grey);
}

.contact-list strong {
  color: var(--ink);
  display: block;
}

/* Footer */

.site-footer {
  background: var(--navy-dark);
  color: #cfdbe2;
  padding: 3rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-grid h4 {
  color: var(--white);
  margin-top: 0;
  font-size: 1rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.footer-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-grid li {
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.footer-grid a {
  color: #cfdbe2;
}

.footer-grid a:hover {
  color: var(--teal-light);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.25rem;
  font-size: 0.85rem;
  color: #8ba0ab;
  text-align: center;
}

/* Responsive */

@media (max-width: 800px) {
  .two-col,
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 720px) {
  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--navy);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
  }

  .main-nav.open {
    max-height: 320px;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 0;
    padding: 0.5rem 1.5rem 1.25rem;
  }

  .main-nav li {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .main-nav a {
    display: block;
    padding: 0.9rem 0;
  }

  .hero h1 {
    font-size: 1.9rem;
  }

  .hero-logo {
    height: 90px;
  }
}
