:root {
  --blue: #263e4d;
  --blue-light: #5f7f91;
  --ink: #25343c;
  --muted: #6f8088;
  --paper: #f5f7f7;
  --line: #d7dfe2;
  --white: #fff;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Avenir Next", Avenir, "Segoe UI", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }

.site-header {
  height: 96px;
  padding: 0 max(24px, calc((100vw - 1124px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--blue);
}
.brand img {
  display: block;
  width: 225px;
  height: auto;
  max-height: 76px;
  filter: invert(1);
}
.header-call {
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  padding-bottom: 6px;
  border-bottom: 2px solid #9eb7c4;
}

.hero {
  min-height: 650px;
  padding: 72px max(24px, calc((100vw - 1124px) / 2));
  display: grid;
  grid-template-columns: .78fr 1.22fr;
  align-items: center;
  gap: 58px;
  background: var(--blue);
  color: var(--white);
}
.kicker {
  display: block;
  color: #b5c8d2;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}
.kicker.dark { color: var(--blue-light); }
.hero h1 {
  margin: 18px 0 20px;
  font-size: clamp(52px, 5.6vw, 78px);
  line-height: .98;
  letter-spacing: -4px;
}
.hero h1 em {
  color: #b6d0dc;
  font-family: Georgia, serif;
  font-weight: 400;
}
.hero-copy > p {
  margin: 0;
  color: #cbd8de;
  font-size: 14px;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 25px;
  margin-top: 34px;
}
.button {
  padding: 15px 21px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 800;
}
.button-light {
  background: var(--white);
  color: var(--blue);
}
.mail-link {
  color: #dce6ea;
  font-size: 12px;
  font-weight: 700;
  border-bottom: 1px solid #7895a3;
  padding-bottom: 5px;
}
.card-visual,
.contact-visual {
  overflow: hidden;
  border-radius: 18px;
  box-shadow: 0 30px 70px #0d1e2755;
}
.card-visual img,
.contact-visual img {
  display: block;
  width: 100%;
  height: auto;
}

.services {
  min-height: 430px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 75px 28px 0;
  display: grid;
  grid-template-columns: 1fr 330px;
  align-items: end;
  overflow: hidden;
}
.services-copy { align-self: center; }
.services h2,
.contact h2 {
  margin: 12px 0 25px;
  color: var(--ink);
  font-size: clamp(42px, 5vw, 66px);
  line-height: 1;
  letter-spacing: -3px;
}
.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.service-list span {
  padding: 11px 17px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
}
.mascot {
  display: block;
  height: 370px;
  width: auto;
  justify-self: center;
  object-fit: contain;
}

.contact {
  max-width: var(--max);
  margin: 0 auto;
  padding: 110px 28px;
  display: grid;
  grid-template-columns: 1.35fr .65fr;
  align-items: center;
  gap: 60px;
  border-top: 1px solid var(--line);
}
.contact-visual { box-shadow: 0 25px 65px #2d49571e; }
.contact h2 { font-size: clamp(34px, 3.8vw, 50px); }
.contact-details > p {
  margin: -13px 0 28px;
  color: var(--muted);
  font-size: 13px;
}
.contact-link {
  display: block;
  padding: 17px 0;
  border-top: 1px solid var(--line);
}
.contact-link small {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.contact-link strong { font-size: 17px; }
.contact-link.email strong { font-size: 12px; }

footer {
  min-height: 100px;
  padding: 30px max(24px, calc((100vw - 1124px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  background: #1d303b;
  color: #b0c0c8;
  font-size: 10px;
}
footer nav { display: flex; gap: 20px; }
footer a:hover { color: var(--white); }

.legal-page { background: var(--white); }
.legal-page .site-header { position: relative; }
.legal-hero {
  padding: 76px max(24px, calc((100vw - 900px) / 2)) 70px;
  background: var(--blue);
  color: var(--white);
}
.legal-hero .back-link {
  display: inline-block;
  margin-bottom: 30px;
  color: #b5c8d2;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}
.legal-hero h1 {
  margin: 0 0 16px;
  font-size: clamp(46px, 7vw, 76px);
  line-height: 1;
  letter-spacing: -4px;
}
.legal-hero p {
  max-width: 650px;
  margin: 0;
  color: #c7d5dc;
  font-size: 14px;
  line-height: 1.7;
}
.legal-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 80px 24px 110px;
  color: #4d5d65;
  font-size: 15px;
  line-height: 1.8;
}
.legal-content section {
  padding: 0 0 42px;
  margin-bottom: 42px;
  border-bottom: 1px solid var(--line);
}
.legal-content section:last-child { border-bottom: 0; }
.legal-content h2 {
  margin: 0 0 18px;
  color: var(--ink);
  font-size: 27px;
  line-height: 1.2;
  letter-spacing: -1px;
}
.legal-content h3 {
  margin: 26px 0 8px;
  color: var(--ink);
  font-size: 17px;
}
.legal-content p { margin: 0 0 15px; }
.legal-content ul { margin: 12px 0 15px; padding-left: 21px; }
.legal-content li { margin-bottom: 8px; }
.legal-content a {
  color: var(--blue-light);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.legal-content address { font-style: normal; }
.legal-meta {
  display: inline-block;
  margin-top: 18px;
  padding: 8px 12px;
  border: 1px solid #6b8796;
  border-radius: 999px;
  color: #cbd9df;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.landing-page {
  min-height: 100svh;
  margin: 0;
  display: grid;
  place-items: center;
  padding: 34px;
  background: var(--blue);
  color: var(--white);
}
.landing-shell {
  width: min(1040px, 100%);
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  overflow: hidden;
  border-radius: 24px;
  background: #1e3441;
  box-shadow: 0 35px 100px #0a18206e;
}
.landing-visual {
  position: relative;
  min-height: 600px;
  overflow: hidden;
  isolation: isolate;
  background: #dce5e8;
}
.landing-visual::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: -30px;
  background: url("assets/cardiologe-intro-poster.webp") center / cover no-repeat;
  filter: blur(22px) saturate(.7);
  opacity: .72;
  transform: scale(1.08);
}
.landing-visual::after {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, #12293600 46%, #122936d9 100%);
}
.landing-visual > video {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 18px 35px #07151d45);
}
.landing-visual-copy {
  position: absolute;
  z-index: 3;
  left: 34px;
  right: 34px;
  bottom: 30px;
}
.landing-visual-copy strong {
  display: block;
  margin-bottom: 5px;
  font-size: 23px;
}
.landing-visual-copy span { color: #c6d5dc; font-size: 12px; }
.video-toggle {
  position: absolute;
  z-index: 4;
  top: 18px;
  right: 18px;
  width: 40px;
  height: 40px;
  padding: 0;
  display: grid;
  place-items: center;
  border: 1px solid #ffffff4f;
  border-radius: 50%;
  background: #203946a8;
  color: var(--white);
  font: inherit;
  font-size: 13px;
  cursor: pointer;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.video-toggle:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}
.landing-panel {
  padding: 58px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--white);
  color: var(--ink);
}
.landing-logo {
  width: 235px;
  height: auto;
  margin-bottom: 42px;
}
.landing-panel .kicker { color: var(--blue-light); }
.landing-panel h1 {
  margin: 12px 0 9px;
  font-size: 37px;
  line-height: 1.05;
  letter-spacing: -2px;
}
.landing-panel h1 em {
  color: var(--blue-light);
  font-family: Georgia, serif;
  font-weight: 400;
}
.landing-intro {
  margin: 0 0 30px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}
.landing-submit {
  width: 100%;
  padding: 15px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 8px;
  background: var(--blue);
  color: var(--white);
  font-size: 13px;
  font-weight: 800;
}
.landing-submit span {
  font-size: 20px;
  font-weight: 400;
  transition: transform .2s ease;
}
.landing-submit:hover span { transform: translateX(4px); }
.landing-submit:focus-visible {
  outline: 3px solid #7f9dad;
  outline-offset: 3px;
}
.landing-contact {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 9px 18px;
  color: var(--blue-light);
  font-size: 11px;
  font-weight: 700;
}
.landing-contact a { border-bottom: 1px solid #c7d2d7; }
.landing-note {
  margin: 15px 0 0;
  color: #8b999f;
  font-size: 10px;
  line-height: 1.5;
}
.landing-legal {
  margin-top: 20px;
  display: flex;
  gap: 18px;
  color: #8b999f;
  font-size: 10px;
}
.landing-legal a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 820px) {
  .site-header { height: 82px; }
  .brand img { width: 180px; max-height: 64px; }
  .hero {
    min-height: 0;
    padding-top: 58px;
    padding-bottom: 65px;
    grid-template-columns: 1fr;
    gap: 45px;
  }
  .hero-copy { max-width: 560px; }
  .hero h1 { font-size: 60px; }
  .card-visual { border-radius: 14px; }
  .services { grid-template-columns: 1fr 260px; min-height: 380px; }
  .mascot { height: 320px; }
  .contact { grid-template-columns: 1fr; gap: 48px; padding-top: 80px; padding-bottom: 80px; }
  .contact-details { max-width: 520px; }
  .landing-shell { grid-template-columns: 1fr; max-width: 560px; }
  .landing-visual { min-height: 340px; }
  .landing-panel { padding: 45px 38px; }
}

@media (max-width: 520px) {
  .site-header { padding: 0 20px; }
  .brand img { width: 145px; }
  .header-call { font-size: 11px; }
  .hero { padding: 50px 20px 55px; gap: 38px; }
  .hero h1 { font-size: 40px; letter-spacing: -2.5px; }
  .hero-actions { align-items: stretch; flex-direction: column; gap: 16px; }
  .button, .mail-link { text-align: center; }
  .card-visual { margin: 0 -5px; }
  .services {
    min-height: 520px;
    padding: 65px 20px 0;
    grid-template-columns: 1fr;
    text-align: center;
  }
  .service-list { justify-content: center; }
  .mascot { height: 300px; margin-top: 30px; }
  .contact { padding: 70px 20px; }
  .contact-visual { margin: 0 -5px; border-radius: 12px; }
  .contact h2 { letter-spacing: -2px; }
  footer { align-items: flex-start; flex-direction: column; padding: 30px 20px; }
  footer nav { flex-wrap: wrap; }
  .legal-hero { padding: 52px 20px 55px; }
  .legal-hero h1 { font-size: 44px; letter-spacing: -2.5px; }
  .legal-content { padding: 60px 20px 80px; font-size: 14px; }
  .legal-content section { padding-bottom: 32px; margin-bottom: 32px; }
  .legal-content h2 { font-size: 24px; }
  .landing-page { padding: 0; place-items: stretch; }
  .landing-shell { min-height: 100svh; border-radius: 0; }
  .landing-visual { min-height: 330px; }
  .landing-visual-copy { left: 22px; right: 22px; bottom: 18px; }
  .landing-visual-copy strong { font-size: 19px; }
  .landing-panel { padding: 38px 24px 42px; justify-content: flex-start; }
  .landing-logo { width: 205px; margin-bottom: 32px; }
  .landing-panel h1 { font-size: 34px; }
}
