
:root {
  --bg: #f5f6f2;
  --bg-accent: #eef2ed;
  --surface: #ffffff;
  --surface-soft: #fcfcfb;
  --text: #162320;
  --muted: #5b6863;
  --line: #dfe7e1;
  --green: #214f45;
  --green-dark: #163a33;
  --green-mid: #2a6256;
  --green-soft: #edf3ef;
  --gold: #b69c5c;
  --gold-soft: #f5f0e3;
  --shadow: 0 18px 45px rgba(18, 37, 31, 0.08);
  --shadow-soft: 0 10px 25px rgba(18, 37, 31, 0.05);
  --radius: 28px;
  --radius-sm: 18px;
  --container: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(182,156,92,0.08), transparent 30%),
    linear-gradient(180deg, #f7f8f5 0%, var(--bg) 100%);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}
a { color: var(--green); text-decoration: none; }
a:hover { color: var(--green-dark); }
img { max-width: 100%; height: auto; display: block; }
.container { width: min(calc(100% - 48px), var(--container)); margin: 0 auto; }
.skip-link {
  position: absolute; left: -9999px; top: 12px; background: var(--green); color: #fff;
  padding: 10px 14px; border-radius: 10px; z-index: 1000;
}
.skip-link:focus { left: 12px; }
.site-header {
  position: sticky; top: 0; z-index: 40; backdrop-filter: blur(14px);
  background: rgba(247,248,245,.9); border-bottom: 1px solid rgba(33,79,69,.08);
}
.nav {
  display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 90px;
}
.brand {
  display: inline-flex; align-items: center; gap: 16px; color: var(--text);
}
.brand-frame {
  width: 62px; height: 72px; flex: 0 0 auto; display: grid; place-items: center;
  background: linear-gradient(180deg, rgba(255,255,255,.95), rgba(255,255,255,.78));
  border: 1px solid rgba(33,79,69,.08); border-radius: 18px; box-shadow: var(--shadow-soft);
}
.brand-mark {
  width: 37px; height: 47px; object-fit: contain;
}
.brand-text {
  display: flex; flex-direction: column; line-height: 1.02;
}
.brand-title {
  font-family: "Cormorant Garamond", Georgia, serif; font-size: 2.1rem; letter-spacing: .045em; color: var(--green-dark);
}
.brand-sub {
  font-size: .75rem; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); margin-top: 3px;
}
.nav-links { display: flex; align-items: center; gap: 28px; font-weight: 600; }
.nav-links > a { color: var(--muted); }
.nav-links > a:hover { color: var(--green); }
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 999px;
  padding: 14px 22px; font-weight: 700; transition: .2s ease; border: 1px solid transparent;
}
.button-primary { background: var(--green); color: #fff; box-shadow: 0 12px 24px rgba(33,79,69,.18); }
.button-primary:hover { background: var(--green-dark); color: #fff; transform: translateY(-1px); }
.button-secondary { border-color: rgba(33,79,69,.16); color: var(--green); background: rgba(255,255,255,.82); }
.button-secondary:hover { background: #fff; }
.menu-button {
  display: none; border: 1px solid rgba(33,79,69,.15); background: #fff; color: var(--green); border-radius: 999px;
  padding: 12px 16px; font-weight: 700;
}
.hero { padding: 82px 0 48px; }
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(340px, 430px); gap: 58px; align-items: center;
}
.hero-panel {
  background: linear-gradient(180deg, rgba(255,255,255,.92), rgba(255,255,255,.78));
  border: 1px solid rgba(33,79,69,.06); border-radius: 36px; padding: 46px; box-shadow: var(--shadow);
}
.hero-mark {
  display: inline-flex; align-items: center; gap: 18px; margin-bottom: 18px;
}
.hero-mark-frame {
  width: 92px; height: 106px; border-radius: 22px; display: grid; place-items: center;
  background: linear-gradient(180deg, rgba(255,255,255,.95), rgba(244,247,243,.92));
  border: 1px solid rgba(33,79,69,.08); box-shadow: var(--shadow-soft);
}
.hero-symbol { width: 58px; }
.wordmark { display:flex; flex-direction:column; gap:6px; }
.wordmark-main {
  font-family: "Cormorant Garamond", Georgia, serif; font-size: clamp(2rem,4vw,3rem); letter-spacing: .09em; color: var(--green-dark); line-height: .95;
}
.wordmark-sub { font-size: .92rem; letter-spacing: .42em; text-transform: uppercase; color: var(--gold); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; border-radius: 999px; padding: 8px 14px;
  background: var(--green-soft); color: var(--green); font-size: .92rem; font-weight: 700;
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 999px; background: var(--gold); }
.hero h1, .section-intro h2, .legal h1 { margin: 18px 0 14px; line-height: .96; font-weight: 800; letter-spacing: -.03em; }
.hero h1 { font-size: clamp(3.4rem, 7vw, 5.8rem); }
.lead { font-size: clamp(1.12rem, 1.2vw, 1.34rem); color: var(--muted); max-width: 760px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
.hero-card {
  background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(255,255,255,.82));
  border-radius: 32px; padding: 34px 32px; border: 1px solid rgba(33,79,69,.08); box-shadow: var(--shadow);
}
.hero-card .icon, .contact-icon {
  width: 64px; height: 64px; display: inline-grid; place-items: center; border-radius: 20px; font-size: 2rem;
  color: var(--green); background: var(--green-soft); margin-bottom: 18px; font-weight: 700;
}
.hero-card h2 { margin: 0 0 12px; font-size: clamp(2rem, 3vw, 2.45rem); line-height: 1.02; }
.hero-card p { color: var(--muted); }
.hero-card ul { margin: 16px 0 0 18px; padding: 0; color: var(--muted); }
.hero-card li { margin-bottom: 10px; }
.hero-note {
  margin-top: 22px; padding: 14px 16px; border-radius: 16px; background: var(--gold-soft); color: #6c5930; font-size: .95rem;
}
.section { padding: 54px 0; }
.section-white { background: rgba(255,255,255,.62); }
.section-intro { max-width: 780px; margin-bottom: 28px; }
.section-intro h2 { font-size: clamp(2.2rem, 5vw, 3.2rem); margin-bottom: 12px; }
.section-intro p { color: var(--muted); }
.cards { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 22px; }
.card {
  background: var(--surface); border: 1px solid rgba(33,79,69,.08); border-radius: 24px; padding: 28px; box-shadow: 0 10px 30px rgba(22,40,35,.05);
}
.card-number {
  display: inline-flex; min-width: 42px; height: 42px; align-items: center; justify-content: center;
  border-radius: 999px; background: var(--gold-soft); color: var(--green); font-weight: 800; margin-bottom: 18px;
}
.card h3 { margin: 0 0 10px; font-size: 1.32rem; }
.card p { margin: 0; color: var(--muted); }
.process { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 22px; }
.process-step {
  background: transparent; border: 1px dashed rgba(33,79,69,.18); border-radius: 24px; padding: 26px;
}
.process-step h3 { margin-top: 0; margin-bottom: 10px; font-size: 1.24rem; }
.process-step p { margin: 0; color: var(--muted); }
.notice {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 28px 30px; border-radius: 28px;
  background: linear-gradient(135deg, var(--green-dark), var(--green)); color: #fff; box-shadow: var(--shadow);
}
.notice h3 { margin: 0 0 6px; font-size: 1.55rem; }
.notice p { margin: 0; color: rgba(255,255,255,.82); }
.notice .button-primary { background: #fff; color: var(--green); box-shadow: none; }
.notice .button-primary:hover { color: var(--green-dark); }
.contact-box {
  background: linear-gradient(180deg, rgba(255,255,255,.88), rgba(255,255,255,.75));
  border-radius: 30px; padding: 34px; border: 1px solid rgba(33,79,69,.08); box-shadow: var(--shadow);
}
.contact-grid { display: grid; grid-template-columns: minmax(0,1fr) 260px; gap: 22px; align-items: center; }
.legal { padding: 56px 0 78px; }
.legal article {
  background: var(--surface); border-radius: 30px; padding: 34px; border: 1px solid rgba(33,79,69,.07); box-shadow: var(--shadow);
}
.legal h1 { font-size: clamp(2.6rem, 6vw, 4rem); }
.legal h2 { margin-top: 28px; margin-bottom: 8px; font-size: 1.34rem; color: var(--green); }
.legal p, .legal li { color: var(--muted); }
.legal .lead { margin-top: 0; }
.site-footer { border-top: 1px solid rgba(33,79,69,.08); padding: 24px 0 34px; background: rgba(255,255,255,.45); }
.footer-row { display: flex; gap: 18px; align-items: center; justify-content: space-between; flex-wrap: wrap; color: var(--muted); }
.footer-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--muted); }
.footer-brand img { width: 26px; height: auto; }
.footer-links { display: inline-flex; gap: 18px; flex-wrap: wrap; }
.footer-links a { color: var(--muted); }
.footer-links a:hover { color: var(--green); }
.doctolib-note { background: var(--green-soft); border: 1px solid rgba(33,79,69,.08); border-radius: 20px; padding: 18px 20px; margin-top: 28px; }
.doctolib-note strong { color: var(--green); }
.small-note { font-size: .95rem; color: var(--muted); }
.link-list { display:flex; flex-wrap:wrap; gap:14px; margin-top:24px; }
@media (max-width: 980px) {
  .hero-grid, .contact-grid, .process, .cards { grid-template-columns: 1fr; }
  .hero-panel { padding: 30px; }
  .notice { flex-direction: column; align-items: flex-start; }
  .nav { min-height: 78px; }
  .menu-button { display: inline-flex; }
  .nav-links {
    display: none; position: absolute; left: 24px; right: 24px; top: 78px; background: rgba(255,255,255,.98);
    border: 1px solid rgba(33,79,69,.08); border-radius: 24px; padding: 18px; box-shadow: var(--shadow); flex-direction: column; align-items: stretch;
  }
  .nav-links.is-open { display: flex; }
  .brand-title { font-size: 1.75rem; }
}
@media (max-width: 620px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .hero { padding-top: 34px; }
  .hero-panel, .hero-card, .legal article, .contact-box, .card, .process-step { padding: 24px; }
  .brand-frame { width: 56px; height: 66px; }
  .brand-mark { width: 33px; height: 42px; }
  .brand-sub, .wordmark-sub { letter-spacing: .2em; font-size: .72rem; }
  .button { width: 100%; }
  .hero-actions { flex-direction: column; }
  .hero-mark { align-items: flex-start; }
  .hero-mark-frame { width: 82px; height: 96px; }
  .hero-symbol { width: 50px; }
}


/* Version 5 – small additive adjustments while keeping the original look */
.button-urgent {
  background: #7a3642;
  color: #fff;
  box-shadow: 0 12px 24px rgba(122,54,66,.18);
}
.button-urgent:hover {
  background: #652b35;
  color: #fff;
  transform: translateY(-1px);
}
.brand-frame { width: 58px; height: 68px; }
.brand-mark { width: 34px; height: 44px; }
.hero-mark-frame { width: 84px; height: 98px; }
.hero-symbol { width: 52px; }
.wordmark { gap: 4px; }
@media (max-width: 980px) {
  .cards[style*="1fr 1fr 1fr"] { grid-template-columns: 1fr !important; }
}


/* Version 6 */
.button-emergency {
  background: linear-gradient(135deg, #7a3642, #9b3c40);
  color: #fff;
  box-shadow: 0 12px 24px rgba(122,54,66,.22);
}
.button-emergency:hover {
  background: linear-gradient(135deg, #652b35, #8a3439);
  color: #fff;
  transform: translateY(-1px);
}
.notice {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 28px 30px; border-radius: 28px;
  background: linear-gradient(135deg, var(--green-dark), var(--green)); color: #fff; box-shadow: var(--shadow);
}
.notice.notice-danger, .notice-danger {
  background: linear-gradient(135deg, #1d4b42, #2f6a5b);
}
.notice p { max-width: 860px; }
@media (max-width: 980px) {
  .nav-links .button-emergency { width: 100%; }
}


/* Version 7 */
.button-primary,
.button-primary:visited,
.button-emergency,
.button-emergency:visited,
.button-urgent,
.button-urgent:visited {
  color: #ffffff !important;
  text-shadow: 0 0 10px rgba(255,255,255,.10);
}

.hero-card {
  background: linear-gradient(135deg, #0f4a3f, #136756);
  color: #ffffff;
  border: 1px solid rgba(255,255,255,.08);
}
.hero-card h2,
.hero-card strong,
.hero-card .icon { color: #ffffff; }
.hero-card p,
.hero-card li { color: rgba(255,255,255,.90); }
.hero-card .icon {
  background: rgba(255,255,255,.12);
}
.hero-card .button-primary {
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.18);
  color: #fff !important;
  box-shadow: none;
}
.hero-card .button-primary:hover {
  background: rgba(255,255,255,.22);
}
.hero-card .button-secondary {
  border-color: rgba(255,255,255,.22);
  color: #fff;
  background: transparent;
}
.hero-card .button-secondary:hover {
  background: rgba(255,255,255,.10);
  color: #fff;
}
.hero-card .link-list { margin-top: 26px; }
.hero-card .link-list .button { min-width: 220px; }
.hero-note {
  background: var(--gold-soft);
}
.tele-card { max-width: 100%; }
.tele-card .button-primary { width: auto; }
@media (max-width: 620px) {
  .hero-card .link-list .button { min-width: 0; width: 100%; }
}


/* Version 8: small targeted fixes only */
.button-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.1em;
  font-weight: 800;
  line-height: 1;
}
.button-label { display: inline-flex; align-items: center; }
.button-doctolib .button-icon {
  width: 1.35em;
  height: 1.35em;
  border-radius: 999px;
  background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.18);
  font-size: .95em;
}
.button-emergency .button-icon,
.button-urgent .button-icon {
  font-size: 1.05em;
}
.notice .button-notice,
.notice .button-primary {
  background: #efe5c8 !important;
  color: var(--green-dark) !important;
  border: 1px solid rgba(22,35,32,.08);
  box-shadow: 0 10px 22px rgba(0,0,0,.10);
}
.notice .button-notice:hover,
.notice .button-primary:hover {
  background: #e6d8ad !important;
  color: var(--green-dark) !important;
}
.notice .button-icon {
  color: inherit;
}
