/* Ojolinid — styles partagés pour les pages HTML statiques */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=DM+Sans:wght@400;500;600;700&display=swap');

:root {
  --dark-green: #366560;
  --old-rose: #eaaeb2;
  --beige: #f2ded7;
  --dark-text: #2d3436;
  --yellow: #f0b35b;
  --teal: #1a7a8a;
  --white: #ffffff;
  --radius: 0.25rem;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "DM Sans", sans-serif;
  background: var(--beige);
  color: var(--dark-text);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  line-height: 1.2;
  text-wrap: balance;
}

p { line-height: 1.7; }

a { color: inherit; text-decoration: none; }

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

.container { max-width: 72rem; margin: 0 auto; padding: 0 1.5rem; }
.container-narrow { max-width: 56rem; margin: 0 auto; padding: 0 1.5rem; }

/* Header */
.site-header { position: relative; z-index: 50; }
.header-banner { background: var(--old-rose); padding: 0.5rem 1rem; display: flex; justify-content: center; }
.header-banner img { width: 180px; max-width: 240px; height: auto; filter: brightness(0) invert(1); }
.header-nav { background: var(--beige); border-bottom: 1px solid rgba(54,101,96,0.1); box-shadow: 0 1px 3px rgba(0,0,0,0.05); }
.header-nav-inner { display: flex; justify-content: center; align-items: center; gap: 2rem; padding: 1.25rem 1.5rem; flex-wrap: wrap; }
.header-nav a {
  font-family: "Playfair Display", serif;
  font-size: 1rem;
  color: var(--dark-green);
  transition: color 0.3s;
}
.header-nav a:hover { color: var(--old-rose); }
.header-nav a.active { color: var(--old-rose); font-weight: 700; }
.header-nav a.secondary { font-family: "DM Sans", sans-serif; font-size: 0.9rem; color: rgba(54,101,96,0.65); }
.header-nav a.secondary:hover { color: var(--old-rose); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-family: "DM Sans", sans-serif; font-weight: 600;
  padding: 0.75rem 1.5rem; border-radius: var(--radius);
  border: none; cursor: pointer; transition: all 0.3s; text-align: center;
}
.btn-primary { background: var(--old-rose); color: var(--white); }
.btn-primary:hover { background: var(--dark-green); }
.btn-secondary { background: var(--dark-green); color: var(--beige); }
.btn-yellow { background: var(--yellow); color: var(--dark-green); font-weight: 700; }
.btn-yellow:hover { filter: brightness(0.95); }
.btn-lg { padding: 1rem 2rem; font-size: 1.1rem; }

/* Hero */
.hero {
  position: relative; min-height: 70vh; display: flex; align-items: center; justify-content: center;
  background: var(--dark-green); overflow: hidden; text-align: center; padding: 4rem 1.5rem;
}
.hero img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.4; mix-blend-mode: overlay; }
.hero-content { position: relative; z-index: 2; max-width: 48rem; }
.hero h1 { color: var(--beige); font-size: clamp(2.5rem, 6vw, 4rem); margin-bottom: 1.5rem; }
.hero p { color: rgba(242,222,215,0.9); font-size: 1.2rem; margin-bottom: 1.5rem; }

/* Page title band */
.page-band { background: var(--beige); text-align: center; padding: 5rem 1.5rem 4rem; }
.page-band h1 { color: var(--dark-green); font-size: clamp(2.5rem, 5vw, 3.5rem); margin-bottom: 1rem; }
.page-band p { color: var(--dark-text); font-size: 1.2rem; max-width: 42rem; margin: 0 auto; }

/* Sections */
.section { padding: 5rem 1.5rem; }
.section-teal { background: var(--dark-green); color: var(--beige); }
.section-beige { background: var(--beige); }
.section-rose { background: rgba(234,174,178,0.15); }
.section h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 1.5rem; }
.section-teal h2 { color: var(--white); }

.grid-2 { display: grid; grid-template-columns: 1fr; gap: 3rem; }
.grid-3 { display: grid; grid-template-columns: 1fr; gap: 3rem; }
@media (min-width: 768px) {
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
}

.card {
  background: var(--white); border-radius: 1rem; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  display: flex; flex-direction: column;
}
.card img { width: 100%; height: 18rem; object-fit: cover; }
.card-body { padding: 2rem; display: flex; flex-direction: column; flex-grow: 1; }
.card-body h3 { color: var(--dark-green); font-size: 1.5rem; margin-bottom: 1rem; }
.card-body p { color: rgba(45,52,54,0.8); margin-bottom: 1.5rem; flex-grow: 1; }

.value-item { text-align: center; }
.value-icon {
  width: 5rem; height: 5rem; border-radius: 50%; background: rgba(234,174,178,0.2);
  display: inline-flex; align-items: center; justify-content: center; margin-bottom: 1.5rem;
  font-size: 2rem; color: var(--old-rose);
}
.value-item h3 { color: var(--dark-green); font-size: 1.5rem; margin-bottom: 0.75rem; }
.value-item p { color: rgba(45,52,54,0.8); }

/* Lists */
.link-list { list-style: none; }
.link-list li { margin-bottom: 1.25rem; }
.link-list a {
  font-family: "Playfair Display", serif; font-size: 1.3rem; color: var(--teal);
  display: inline-block; transition: transform 0.3s, color 0.3s;
}
.link-list a:hover { color: var(--old-rose); transform: translateX(0.5rem); }
.list-col h2 { color: var(--old-rose); font-size: 1.75rem; margin-bottom: 1.5rem; padding-bottom: 1rem; border-bottom: 1px solid rgba(234,174,178,0.3); }

/* Care menu */
.care-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; padding-bottom: 1.25rem; border-bottom: 1px solid rgba(54,101,96,0.1); margin-bottom: 1.25rem; }
.care-row:last-child { border-bottom: none; }
.care-row .name { font-size: 1.1rem; font-weight: 500; }
.care-row .price { font-weight: 700; font-size: 1.25rem; }
.care-block { background: rgba(54,101,96,0.05); border-radius: 0.75rem; padding: 1.5rem; margin-bottom: 2rem; }
.care-block h3 { font-size: 1.5rem; margin-bottom: 1.25rem; }

/* Forms */
.form-card { background: var(--white); border-radius: 1.5rem; padding: 2.5rem; box-shadow: 0 10px 30px rgba(0,0,0,0.08); }
.form-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } }
.form-field { display: flex; flex-direction: column; gap: 0.5rem; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: 0.9rem; font-weight: 500; color: var(--dark-text); }
.form-field input, .form-field textarea, .form-field select {
  font-family: "DM Sans", sans-serif; font-size: 1rem; padding: 0.65rem 0.9rem;
  border: 1px solid rgba(54,101,96,0.2); border-radius: var(--radius); background: var(--beige);
  color: var(--dark-text); width: 100%;
}
.form-field input:focus, .form-field textarea:focus { outline: 2px solid var(--yellow); border-color: var(--yellow); }
.form-field textarea { resize: vertical; min-height: 7rem; }
.form-note { font-size: 0.85rem; color: rgba(45,52,54,0.6); margin-top: 1rem; text-align: center; }
.form-status { margin-top: 1rem; padding: 0.75rem 1rem; border-radius: var(--radius); font-size: 0.95rem; display: none; }
.form-status.success { background: rgba(54,101,96,0.12); color: var(--dark-green); display: block; }
.form-status.error { background: rgba(220,80,80,0.12); color: #b33a3a; display: block; }

/* Contact info */
.info-item { display: flex; align-items: flex-start; gap: 1.25rem; margin-bottom: 1.75rem; }
.info-icon { flex-shrink: 0; width: 3.25rem; height: 3.25rem; border-radius: 50%; background: rgba(234,174,178,0.2); display: flex; align-items: center; justify-content: center; font-size: 1.25rem; color: var(--old-rose); }
.info-item h3 { font-size: 1.15rem; margin-bottom: 0.25rem; color: var(--dark-green); }

/* Footer */
.site-footer { background: var(--dark-green); color: var(--beige); padding: 3rem 1.5rem 2rem; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; max-width: 72rem; margin: 0 auto; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(242,222,215,0.1); }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1.5fr; } }
.footer-logo img { height: 4.5rem; width: auto; filter: brightness(0) invert(1); margin-bottom: 1rem; }
.footer-col h4 { font-family: "Playfair Display", serif; color: var(--beige); font-size: 1.1rem; margin-bottom: 1rem; }
.footer-col a { display: block; font-size: 0.9rem; color: rgba(242,222,215,0.8); margin-bottom: 0.75rem; transition: color 0.3s; }
.footer-col a:hover { color: var(--yellow); }
.footer-bottom { display: flex; flex-direction: column; gap: 1rem; align-items: center; justify-content: space-between; max-width: 72rem; margin: 2rem auto 0; }
.footer-bottom .social { display: flex; gap: 1.25rem; }
.footer-bottom .social a { color: var(--yellow); font-size: 1.1rem; }
.footer-bottom .social a:hover { color: var(--white); }
.footer-bottom p { font-size: 0.8rem; color: rgba(242,222,215,0.6); }
@media (min-width: 768px) { .footer-bottom { flex-direction: row; } }

.muted { color: rgba(45,52,54,0.7); }
.center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.mb-2 { margin-bottom: 2rem; }

/* ===== Mega-dropdown navigation (pages statiques) ===== */
.nav-dropdown { position: relative; display: flex; align-items: center; gap: 0.25rem; }
.nav-dropdown .caret { font-size: 0.7rem; color: rgba(54,101,96,0.6); }
.dd-panel {
  display: none; position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  z-index: 100; background: var(--beige); border-radius: 0 0 0.5rem 0.5rem;
  box-shadow: 0 12px 30px rgba(0,0,0,0.12); border: 1px solid rgba(54,101,96,0.12);
  padding: 1.25rem 1.5rem; gap: 2rem; margin-top: 0.5rem;
}
.nav-dropdown:hover .dd-panel, .nav-dropdown:focus-within .dd-panel { display: flex; }
.dd-col { display: flex; flex-direction: column; gap: 0.35rem; min-width: 12rem; }
.dd-header {
  font-family: "Playfair Display", serif; font-size: 0.85rem; font-weight: 700; color: var(--old-rose);
  margin: 0 0 0.5rem; padding-bottom: 0.4rem; border-bottom: 1px solid rgba(234,174,178,0.3);
}
.dd-panel a {
  font-family: "DM Sans", sans-serif; font-size: 0.9rem; color: var(--dark-green);
  padding: 0.15rem 0; transition: color 0.2s, transform 0.2s;
}
.dd-panel a:hover { color: var(--old-rose); transform: translateX(3px); }
.dd-panel a.active { color: var(--old-rose); font-weight: 600; }

@media (max-width: 767px) {
  .header-nav-inner { flex-direction: column; align-items: flex-start; gap: 0.5rem; padding: 1rem 1.5rem; }
  .nav-dropdown { width: 100%; flex-direction: column; align-items: flex-start; }
  .dd-panel {
    display: flex; position: static; box-shadow: none; border: none; padding: 0.5rem 0 0.5rem 1rem;
    min-width: 0; flex-direction: column; gap: 1rem; width: 100%; transform: none; margin-top: 0;
  }
  .dd-col { min-width: 0; }
}
