
:root {
  --ink: #3d3d3d;
  --ink-strong: #1f1f1f;
  --brand: #520e08;
  --gold: #f4c431;
  --gold-dark: #ddb020;
  --surface: #fffdfa;
  --surface-muted: #f5efe6;
  --line: rgba(82, 14, 8, 0.14);
  --shadow: 0 18px 45px rgba(61, 61, 61, 0.12);
  --radius: 22px;
  --container: min(1120px, calc(100% - 2rem));
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 99px;
}

body {
  font-family: 'Alice', serif;
  color: var(--ink);
  background: linear-gradient(180deg, #fffdfa 0%, #fcf8f2 100%);
  line-height: 1.55;
  font-size: 1rem;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 20;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  text-decoration: none;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 1rem;
}

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

a {
  color: inherit;
}

h1,
h2,
h3,
h4,
legend,
label,
#navbar a,
.button-gold,
.button-secondary,
.card-kicker {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

h1,
h2,
h3,
h4 {
  color: var(--brand);
  line-height: 1.1;
}

h1 {
  font-size: 2.5rem;
  font-weight: 500;
}

h2 {
  font-size: 2.30rem;
  font-weight: 500;
}

h3 {
  font-size: 2rem;
  font-weight: 500;
}

h4 {
  font-size: 1.1rem;
}

p,
li,
input,
textarea,
button {
  font-size: 1rem;
}

header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(12px);
  background: rgba(255, 253, 250, 0.9);
  border-bottom: 1px solid rgba(82, 14, 8, 0.08);
}

#navbar-container {
  width: var(--container);
  margin: 0 auto;
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}

.logo {
  display: inline-flex;
  align-items: center;
}

.logo img,
.footer-brand img {
  width: auto;
  height: 58px;
}

#navbar {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 1.1rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

#navbar a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
}

#navbar a:hover,
#navbar a:focus-visible,
footer a:hover,
footer a:focus-visible {
  color: var(--brand);
}

main {
  display: grid;
  gap: 4.5rem;
  padding-bottom: 4.5rem;
}

section {
  width: var(--container);
  margin: 0 auto;
}

.section-heading {
  display: grid;
  gap: 0.85rem;
  margin-bottom: 2rem;
}

.section-heading p {
  max-width: 52rem;
  color: rgba(61, 61, 61, 0.82);
}

#introduction {
  position: relative;
  width: 100%;
  max-width: none;
  min-height: clamp(540px, 85vh, 760px);
  display: grid;
  place-items: center;
  padding: 5rem 1rem;
  background: url("../images/background.jpg") center center / cover no-repeat;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.7);
}

#introduction-content {
  position: relative;
  z-index: 1;
  width: min(860px, calc(100% - 2rem));
  padding: clamp(2rem, 6vw, 4rem);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow);
  text-align: center;
  display: grid;
  gap: 1rem;
  justify-items: center;
}

.eyebrow,
.card-kicker {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.82rem;
  color: rgba(82, 14, 8, 0.78);
  font-weight: 700;
}

#introduction-content p:not(.eyebrow) {
  max-width: 60ch;
}

.hero-copy {
  text-align: justify;
  text-justify: inter-word;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.9rem;
  margin-top: 0.5rem;
}

.button-gold,
.button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 48px;
  padding: 0.8rem 1.3rem;
  text-decoration: none;
  border-radius: 999px;
  font-weight: 700;
  white-space: nowrap;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.button-gold {
  color: var(--ink-strong);
  background: var(--gold);
  border: 2px solid var(--gold);
  box-shadow: inset 0 0 0 2px var(--ink);
}

.button-gold:hover,
.button-gold:focus-visible {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  transform: translateY(-1px);
}

.button-secondary {
  color: var(--brand);
  background: rgba(255, 255, 255, 0.85);
  border: 2px solid rgba(82, 14, 8, 0.25);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  background: rgba(255, 255, 255, 1);
  border-color: rgba(82, 14, 8, 0.45);
}

#apropos-content {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.9fr);
  gap: 2rem;
  align-items: center;
}

#apropos-text {
  display: grid;
  gap: 1rem;
}

#apropos-image {
  background: linear-gradient(180deg, rgba(244, 196, 49, 0.22), rgba(255, 255, 255, 0.9));
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  text-align: center;
}

#apropos-image img {
  width: min(100%, 320px);
  aspect-ratio: 1 / 1;
  object-fit: cover;
  margin: 0 auto 1rem;
  border-radius: 50%;
}

#apropos-image figcaption {
  color: rgba(61, 61, 61, 0.8);
}

.section-callout {
  background: linear-gradient(135deg, rgba(244, 196, 49, 0.18), rgba(255, 255, 255, 0.94));
  border: 1px solid rgba(244, 196, 49, 0.45);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.6rem 1.8rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.section-divider {
  width: min(90%, 1000px);
  height: 6px;
  margin: 0 auto;
  border-radius: 999px;
  background: rgba(244, 196, 49, 0.9);
  box-shadow: 0 0 12px rgba(244, 196, 49, 0.7);
  filter: blur(1.5px);
}

.section-callout p {
  max-width: 44rem;
  font-size: 1.05rem;
}

#services {
  display: grid;
  gap: 1.75rem;
}

.services-intro {
  max-width: 60rem;
  margin: 0 auto;
  display: grid;
  gap: 0.9rem;
  padding: 1.4rem 1.6rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(245, 239, 230, 0.9));
  border: 1px solid rgba(82, 14, 8, 0.1);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.services-intro p {
  max-width: none;
  margin: 0;
  color: rgba(61, 61, 61, 0.86);
}

.service {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  overflow: hidden;
  background: rgba(255, 255, 255, 0.92);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.service .image {
  min-height: 330px;
}

.service .image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service .text {
  display: grid;
  align-content: center;
  gap: 1.25rem;
  padding: clamp(1.6rem, 4vw, 2.8rem);
}

.service .headline {
  margin: -0.35rem 0 0;
  padding-left: 1rem;
  border-left: 3px solid var(--gold);
  color: rgba(61, 61, 61, 0.88);
  font-size: 1.05rem;
  line-height: 1.6;
}

.service .text ul {
  display: grid;
  gap: 0.75rem;
  padding-left: 1.15rem;
}

.en-savoir-plus {
  display: inline-block;
  justify-self: start;
  width: fit-content;
  color: var(--brand);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.en-savoir-plus:hover,
.en-savoir-plus:focus-visible {
  color: var(--ink-strong);
  border-color: var(--gold);
}

#contact-content {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-rows: repeat(4, minmax(120px, auto));
  gap: 1.5rem;
  align-items: start;
}

.contact-grid-form {
  grid-column: 1 / 3;
  grid-row: 1 / 5;
}

.contact-grid-address {
  grid-column: 3 / 5;
  grid-row: 1 / 2;
}

.contact-card {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.5rem;
  display: grid;
  gap: 1.2rem;
}

.contact-form-card {
  min-height: 100%;
}

.card-header {
  display: grid;
  gap: 0.5rem;
}

form {
  display: grid;
  gap: 1rem;
}

fieldset {
  border: 1px solid rgba(82, 14, 8, 0.12);
  border-radius: 18px;
  padding: 1rem;
  background: var(--surface);
}

legend {
  font-weight: 700;
  padding: 0 0.4rem;
  color: var(--brand);
}

.row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.field-block {
  display: grid;
  gap: 0.45rem;
}

label {
  display: block;
  font-weight: 700;
  margin-bottom: 0.3rem;
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
  width: 100%;
  border: 1px solid rgba(82, 14, 8, 0.2);
  border-radius: 12px;
  padding: 0.8rem 0.9rem;
  background: #fff;
  color: var(--ink-strong);
}

input[aria-invalid="true"],
textarea[aria-invalid="true"] {
  border-color: #b30000;
  background: #fff8f8;
}

textarea {
  resize: vertical;
  min-height: 160px;
}

input:focus-visible,
textarea:focus-visible,
button:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(244, 196, 49, 0.45);
  outline-offset: 2px;
}

.required::after {
  content: " *";
  color: #b30000;
}

.required-mark {
  color: #b30000;
}

.actions {
  display: flex;
  justify-content: flex-start;
}

.field-note,
.note,
address span,
.footer-copy,
.footer-brand p {
  color: rgba(61, 61, 61, 0.75);
}

.field-note,
.note {
  font-size: 0.94rem;
}

.input-error {
  margin-top: 0.35rem;
  color: #8a1f2d;
  font-size: 0.92rem;
}

.errors,
.success {
  border-radius: 16px;
  padding: 0.95rem 1rem;
}

.errors {
  background: #ffeef0;
  color: #8a1f2d;
  border: 1px solid #f5c2c7;
}

.errors ul {
  margin-top: 0.55rem;
  padding-left: 1.2rem;
}

.success {
  background: #e7f7ee;
  color: #0b5d3b;
  border: 1px solid #bfe3d0;
}

.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

address {
  font-style: normal;
  display: grid;
  gap: 1rem;
}

address a {
  text-decoration: none;
}

.contact-meta {
  display: grid;
  gap: 0.75rem;
}

.meta-item {
  display: grid;
  gap: 0.15rem;
  padding: 0.95rem 1rem;
  border-radius: 16px;
  background: var(--surface-muted);
}

.meta-item .button-gold {
  justify-self: center;
  width: fit-content;
}

footer {
  background: #d9d9d9;
  padding: 2rem 1rem 1.2rem;
}

#footer-content {
  width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) repeat(2, minmax(220px, 1fr));
  gap: 1.5rem;
  align-items: start;
}

.footer-brand {
  display: grid;
  gap: 0.75rem;
}

#footer-nav {
  display: grid;
  gap: 0.65rem;
}

#footer-nav a,
.footer-address a {
  text-decoration: none;
}

.footer-address {
  font-style: normal;
}

.footer-copy {
  width: var(--container);
  margin: 1.5rem auto 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(61, 61, 61, 0.15);
}

@media (max-width: 1024px) {
  #contact-content {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }

  .contact-form-card {
    grid-column: 1 / -1;
  }

  .contact-grid-form,
  .contact-grid-address {
    grid-column: auto;
    grid-row: auto;
  }

  #footer-content {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  #navbar-container {
    flex-direction: column;
    align-items: stretch;
  }

  .logo {
    justify-content: center;
  }

  #navbar {
    justify-content: center;
  }

  #apropos-content,
  .service,
  .service:nth-child(even) {
    grid-template-columns: 1fr;
  }

  #redaction .text {
    order: 2;
  }

  #redaction .image {
    order: 1;
  }

  .section-callout {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 768px) {
  main {
    gap: 3.5rem;
  }

  #introduction {
    min-height: auto;
    padding: 4rem 0.9rem;
  }

  #introduction-content {
    width: min(100%, calc(100% - 1rem));
    padding: 1.6rem 1.1rem;
    border-radius: 22px;
  }

  #contact-content,
  #footer-content,
  .row {
    grid-template-columns: 1fr;
  }

  .contact-card,
  .service .text,
  #apropos-image,
  .services-intro {
    padding: 1.2rem;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 0.96rem;
  }
  header {
    position: static;
    top: auto;
  }

  #navbar-container {
    min-height: auto;
    padding: 0.8rem 0;
  }

  #navbar {
    width: 100%;
    gap: 0.75rem;
    justify-content: stretch;
  }

  #navbar .navitem {
    flex: 1 1 100%;
  }

  #navbar a {
    width: 100%;
    text-align: center;
  }

  .button-gold,
  .button-secondary {
    width: 100%;
  }

  .hero-actions {
    width: 100%;
  }

  section,
  #footer-content,
  .footer-copy {
    width: min(100%, calc(100% - 1rem));
  }

  .section-callout,
  .contact-card,
  .service,
  #apropos-image {
    border-radius: 18px;
  }
}

@media (max-width: 320px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.8rem;
  }

  input[type="text"],
  input[type="email"],
  input[type="tel"],
  textarea {
    font-size: 0.95rem;
  }
}
