/* ===========================
   VARIABLES & RESET
=========================== */
:root {
  --bg-main: #F4F1EC;
  --bg-section: #E8DDD2;
  --bg-card: #FFFFFF;

  --text-main: #5C4436;
  --text-soft: #7A6458;

  --primary: #8A6A55;
  --accent: #E8CFCB;

  --border-soft: #E2D6CC;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'DM Sans', Arial, sans-serif;

  --nav-height: 92px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: linear-gradient(160deg, #F4F1EC 0%, #EDE6DC 100%);
  background-attachment: fixed;
  color: var(--text-main);
  font-size: 17px;
  line-height: 1.7;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: 0.01em;
}

p { font-family: var(--font-body); font-weight: 300; }

strong { font-weight: 500; color: var(--text-main); }


/* ===========================
   REVEAL AU SCROLL
=========================== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.visible { opacity: 1; transform: translateY(0); }

.card:nth-child(1) { transition-delay: 0s; }
.card:nth-child(2) { transition-delay: 0.1s; }
.card:nth-child(3) { transition-delay: 0.2s; }
.card:nth-child(4) { transition-delay: 0.3s; }


/* ===========================
   NAVIGATION
=========================== */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  background: rgba(255, 255, 255, 0.93);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

nav.scrolled {
  border-color: var(--border-soft);
  box-shadow: 0 2px 20px rgba(92, 68, 54, 0.08);
}

.logo img {
  height: 72px;
  width: auto;
  display: block;
  transition: opacity 0.2s ease;
}

.logo img:hover { opacity: 0.8; }

.nav-links {
  display: flex;
  list-style: none;
  gap: 2.8rem;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  position: relative;
  padding-bottom: 2px;
  transition: color 0.2s ease;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 1px;
  background: var(--primary);
  transition: width 0.3s ease;
}

.nav-links a:hover { color: var(--primary); }
.nav-links a:hover::after { width: 100%; }


/* ===========================
   HAMBURGER
=========================== */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px; height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  border-radius: 6px;
  transition: background 0.2s ease;
}

.hamburger:hover { background: var(--bg-section); }

.hamburger span {
  display: block;
  width: 22px; height: 1.5px;
  background: var(--text-main);
  border-radius: 2px;
  transform-origin: center;
  transition: transform 0.35s ease, opacity 0.25s ease, width 0.3s ease;
}

.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; width: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }


/* ===========================
   OVERLAY MOBILE
=========================== */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(92, 68, 54, 0.25);
  backdrop-filter: blur(2px);
  z-index: 998;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.nav-overlay.active { opacity: 1; }


/* ===========================
   RESPONSIVE NAV
=========================== */
@media (max-width: 768px) {
  .hamburger { display: flex; }

  .nav-overlay { display: block; pointer-events: none; }
  .nav-overlay.active { pointer-events: all; }

  .nav-links {
    position: fixed;
    top: 0; right: 0;
    min-height: 100dvh;
    width: min(300px, 82vw);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    background: white;
    padding: calc(var(--nav-height) + 1rem) 2.5rem 2rem;
    z-index: 999;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -8px 0 40px rgba(92, 68, 54, 0.12);
  }

  .nav-links.open { transform: translateX(0); }

  .nav-links li { width: 100%; border-bottom: 1px solid var(--border-soft); }
  .nav-links li:last-child { border-bottom: none; }

  .nav-links a {
    display: block;
    padding: 1.2rem 0;
    font-family: var(--font-display);
    font-size: 1.6rem;
  }
  .nav-links a::after { display: none; }
}


/* ===========================
   EYEBROWS
=========================== */
.section-eyebrow,
.hero-eyebrow {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.6rem;
  display: block;
}


/* ===========================
   HERO
=========================== */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--nav-height) + 40px) 10% 70px;
  text-align: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.30) 0%,
    rgba(0,0,0,0.58) 45%,
    rgba(0,0,0,0.40) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  color: white;
}

.hero-eyebrow {
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 1rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.01em;
  margin-bottom: 1rem;
}

.hero-sub {
  font-family: var(--font-body);
  font-weight: 300;
  max-width: 540px;
  margin: 0 auto 1.6rem;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.05rem;
  line-height: 1.75;
}

.hero-services {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 0.8rem;
  list-style: none;
  margin-bottom: 2rem;
}

.hero-services li {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
  padding: 0.35rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50px;
  transition: border-color 0.2s, color 0.2s;
}

.hero-services li a {
  color: inherit;
  text-decoration: none;
  display: block;
}

.hero-services li:hover { border-color: rgba(255,255,255,0.7); color: white; }


/* ===========================
   BOUTONS
=========================== */
.btn {
  display: inline-block;
  padding: 0.85rem 2.2rem;
  background: linear-gradient(180deg, #8A6A55 0%, #6e5242 100%);
  color: white;
  border-radius: 6px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  transition: opacity 0.25s ease, transform 0.2s ease;
}

.btn:hover { opacity: 0.88; transform: translateY(-1px); }

.btn-hero {
  background: linear-gradient(180deg, #8A6A55 0%, #6e5242 100%);
  border: none;
  color: white;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.28);
  padding: 0.95rem 2.6rem;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
}

.btn-hero:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}


/* ===========================
   SECTIONS
=========================== */
.section { padding: 90px 10%; text-align: center; }

.section h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 500;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.section h2::after {
  content: "";
  display: block;
  width: 2.5rem;
  height: 1.5px;
  background: var(--primary);
  margin: 0.6rem auto 0;
  border-radius: 2px;
}

.section-intro {
  margin-top: 1.2rem;
  color: var(--text-soft);
  font-size: 1rem;
  line-height: 1.85;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}


/* ===========================
   CARDS
=========================== */
.cards {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.4rem;
}

.card {
  background: linear-gradient(160deg, #ffffff 0%, #f7f0eb 100%);
  border: 1px solid var(--border-soft);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(92, 68, 54, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.65s ease;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 36px rgba(92, 68, 54, 0.13);
}

.card-img {
  width: 100%; height: 200px;
  overflow: hidden;
  background: var(--bg-section);
  flex-shrink: 0;
}

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

.card:hover .card-img img { transform: scale(1.05); }

.card-body {
  padding: 1.4rem 1.4rem 1.6rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 500;
  margin-bottom: 0.6rem;
  color: var(--text-main);
}

.card p { font-size: 0.95rem; line-height: 1.7; color: var(--text-soft); flex: 1; }

.card-link {
  display: inline-block;
  margin-top: 1.1rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--primary);
  text-decoration: none;
  position: relative;
  align-self: flex-start;
}

.card-link::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 1px;
  background: var(--primary);
  transition: width 0.3s ease;
}

.card-link:hover::after { width: 100%; }


/* ===========================
   A PROPOS
=========================== */
.about {
  background: linear-gradient(180deg, #E8CFCB 0%, #dbbfba 100%);
  padding: 5rem 10%;
  text-align: left;
}

.about-container {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-img {
  width: 100%;
  max-width: 380px;
  aspect-ratio: 2 / 3;
  border-radius: 1.2rem;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(92, 68, 54, 0.18);
}

.about-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.5s ease;
}

.about-img:hover img { transform: scale(1.03); }

.about-content .section-eyebrow { margin-bottom: 0.4rem; }
.about-content h2 { margin-bottom: 1rem; text-align: left; }
.about-content h2::after { margin-left: 0; }

.about-lead {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-style: italic;
  font-weight: 400;
  color: var(--text-main);
  line-height: 1.55;
  margin-bottom: 1.6rem;
  padding-left: 1.2rem;
  border-left: 2.5px solid var(--primary);
}

.about-content p {
  margin-bottom: 1rem;
  color: var(--text-soft);
  line-height: 1.85;
  font-size: 0.98rem;
}

.about-content .btn { margin-top: 1.4rem; }

@media (max-width: 768px) {
  .about { text-align: center; }
  .about-container { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-img { margin: 0 auto; max-width: 260px; }
  .about-content h2 { text-align: center; }
  .about-content h2::after { margin-left: auto; margin-right: auto; }
  .about-lead {
    border-left: none;
    border-top: 2px solid var(--primary);
    padding-left: 0;
    padding-top: 1rem;
    text-align: center;
    font-size: 1.3rem;
  }
  .about-content { text-align: center; }
}


/* ===========================
   CONTACT
=========================== */
.contact {
  background: linear-gradient(180deg, #E8DDD2 0%, #ddd0c4 100%);
  padding: 5rem 10%;
}

.contact-container { max-width: 620px; margin: 0 auto; text-align: center; }

.contact-subtitle { margin-top: 0.6rem; margin-bottom: 2.5rem; color: var(--text-soft); font-size: 1rem; }

/* --- Contact direct (téléphone / email) --- */
.contact-direct {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.contact-direct-item {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1rem 1.1rem;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--border-soft);
  border-radius: 10px;
  text-decoration: none;
  text-align: left;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
}

.contact-direct-item:hover {
  background: #ffffff;
  border-color: var(--primary);
  transform: translateY(-2px);
}

.contact-direct-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border-radius: 50%;
  background: rgba(138, 106, 85, 0.1);
  color: var(--primary);
}

.contact-direct-text { display: flex; flex-direction: column; min-width: 0; }

.contact-direct-label {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
}

.contact-direct-value {
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Séparateur "ou écrivez-moi ici" */
.contact-or {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 2rem 0 1.6rem;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.contact-or::before,
.contact-or::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border-soft);
}

@media (max-width: 540px) {
  .contact-direct { grid-template-columns: 1fr; }
  .contact-direct-value { font-size: 0.9rem; }
}

.contact-form { display: flex; flex-direction: column; gap: 1.1rem; }

/* Honeypot anti-spam : invisible pour les humains, laissé accessible aux robots */
.form-hp {
  position: absolute !important;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

@media (max-width: 540px) { .form-row { grid-template-columns: 1fr; } }

.form-group { display: flex; flex-direction: column; text-align: left; }

.form-group label {
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
  color: var(--text-soft);
  font-weight: 400;
}

.contact-form input,
.contact-form textarea {
  padding: 0.85rem 1rem;
  border-radius: 6px;
  border: 1px solid var(--border-soft);
  font-size: 0.95rem;
  font-family: var(--font-body);
  background: white;
  color: var(--text-main);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(138, 106, 85, 0.12);
}

.contact-form select {
  padding: 0.85rem 1rem;
  border-radius: 6px;
  border: 1px solid var(--border-soft);
  font-size: 0.95rem;
  font-family: var(--font-body);
  background: white;
  color: var(--text-main);
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238A6A55' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(138, 106, 85, 0.12);
}

.contact-form textarea { min-height: 140px; resize: vertical; }

.contact-form .btn {
  margin-top: 0.5rem;
  padding: 1rem;
  width: 100%;
  text-align: center;
  font-size: 0.95rem;
}

.form-success {
  display: none;
  margin-top: 1rem;
  padding: 1rem 1.2rem;
  background: rgba(138, 106, 85, 0.08);
  border: 1px solid var(--primary);
  border-radius: 6px;
  color: var(--primary);
  font-size: 0.95rem;
  text-align: center;
}

.form-success.show { display: block; }

.form-error {
  display: none;
  margin-top: 1rem;
  padding: 1rem 1.2rem;
  background: rgba(150, 60, 45, 0.07);
  border: 1px solid #A65A4A;
  border-radius: 6px;
  color: #8C4536;
  font-size: 0.92rem;
  line-height: 1.6;
  text-align: center;
}

.form-error a { color: inherit; font-weight: 500; }

.form-error.show { display: block; }


/* ===========================
   FOOTER
=========================== */
footer {
  background: linear-gradient(180deg, #ddd0c4 0%, #c8b8a8 100%);
  border-top: 1px solid var(--border-soft);
  padding: 4rem 8% 2rem;
}

/* Grille 3 colonnes */
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

/* Colonne brand */
.footer-brand .footer-logo {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 2rem;
  color: var(--text-main);
  margin-bottom: 0.8rem;
  line-height: 1;
}

.footer-brand p {
  font-size: 0.88rem;
  color: var(--text-soft);
  font-weight: 300;
  line-height: 1.75;
  max-width: 240px;
  margin-bottom: 1.4rem;
}

/* Coordonnées dans le footer */
.footer-contact {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 1.4rem;
}

.footer-contact a {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.88rem;
  font-weight: 300;
  color: var(--text-soft);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-contact a svg { color: var(--primary); flex-shrink: 0; }

.footer-contact a:hover { color: var(--text-main); }

/* Icônes réseaux sociaux */
.footer-social {
  display: flex;
  gap: 0.6rem;
}

.social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border-soft);
  color: var(--text-soft);
  text-decoration: none;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.social-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(138, 106, 85, 0.08);
}

/* Colonnes nav & services */
.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 1.2rem;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.footer-col ul li a {
  font-size: 0.88rem;
  color: var(--text-soft);
  font-weight: 300;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-col ul li a:hover { color: var(--text-main); }

/* Bas de footer */
.footer-bottom {
  border-top: 1px solid rgba(226, 214, 204, 0.5);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  font-size: 0.78rem;
  color: var(--text-soft);
  font-weight: 300;
  opacity: 0.8;
}

/* Responsive footer */
@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-brand p { max-width: 100%; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 0.4rem; text-align: center; }
}


/* ===========================
   CONSENTEMENT RGPD (formulaire)
=========================== */
.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  text-align: left;
  font-size: 0.82rem;
  color: var(--text-soft);
  line-height: 1.5;
}

.form-consent input[type="checkbox"] {
  margin-top: 0.2rem;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  accent-color: var(--primary);
  cursor: pointer;
}

.form-consent label { cursor: pointer; }

.form-consent a {
  color: var(--primary);
  text-decoration: underline;
}


/* ===========================
   PAGES LEGALES
   (mentions-legales.html / politique-confidentialite.html)
=========================== */
.legal-page {
  max-width: 780px;
  margin: 0 auto;
  padding: calc(var(--nav-height) + 60px) 6% 100px;
  text-align: left;
}

.legal-page h1 {
  font-size: 2.2rem;
  margin-bottom: 0.6rem;
}

.legal-page .legal-updated {
  font-size: 0.85rem;
  color: var(--text-soft);
  margin-bottom: 2.8rem;
}

.legal-page h2 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 500;
  margin-top: 2.4rem;
  margin-bottom: 0.8rem;
  color: var(--text-main);
}

.legal-page p,
.legal-page li {
  font-size: 0.95rem;
  color: var(--text-soft);
  line-height: 1.75;
  margin-bottom: 1rem;
}

.legal-page ul {
  padding-left: 1.4rem;
  margin-bottom: 1rem;
}

.legal-page strong { color: var(--text-main); }

.legal-page a { color: var(--primary); }

.legal-page .legal-placeholder {
  background: rgba(138, 106, 85, 0.08);
  border: 1px dashed var(--primary);
  border-radius: 6px;
  padding: 0.15rem 0.4rem;
  font-style: italic;
}

.legal-back {
  display: inline-block;
  margin-bottom: 2rem;
  font-size: 0.85rem;
  color: var(--primary);
  text-decoration: none;
}

.legal-back:hover { text-decoration: underline; }


/* ===========================
   ACCESSIBILITÉ & CONFORT
=========================== */

/* Focus clavier visible sur tous les éléments interactifs */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Respect du réglage système "réduire les animations" */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
