/*
Theme Name: Leïla AS Libérale
Theme URI: https://leila-as-liberale.fr
Author: Leïla
Description: Thème professionnel pour assistante sociale libérale. Design chaleureux et sobre, éditable via le Customizer. Compatible SimplyBook.me, Contact Form 7.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: leila-as
Tags: social, professionnel, one-page, customizer, simplybook
*/

/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --sand:        #F5F0E8;
  --sand-mid:    #EDE5D6;
  --forest:      #2A3D2E;
  --forest-light:#3A5440;
  --terra:       #B8714A;
  --terra-light: #D4956F;
  --ink:         #1A1A18;
  --muted:       #6B6B60;
  --white:       #FDFAF5;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--white);
  color: var(--ink);
  overflow-x: hidden;
  font-size: 16px;
  line-height: 1.6;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--sand); }
::-webkit-scrollbar-thumb { background: var(--forest); border-radius: 10px; }

/* ── TYPOGRAPHY ── */
.font-display {
  font-family: 'Cormorant Garamond', serif;
}

/* ── BUTTONS ── */
.btn-primary {
  background: var(--terra);
  color: var(--white);
  padding: 14px 32px;
  border: none;
  border-radius: 2px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s;
  display: inline-block;
}
.btn-primary:hover { background: var(--terra-light); color: var(--white); }

.btn-forest {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--forest);
  color: var(--white);
  padding: 13px 28px;
  border-radius: 2px;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.2s;
}
.btn-forest:hover { background: var(--forest-light); color: var(--white); }

/* ── SECTION COMMONS ── */
.section-label {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--terra);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-label::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--terra);
}
.section-label.light { color: var(--terra-light); }
.section-label.light::before { background: var(--terra-light); }

.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  font-weight: 300;
  line-height: 1.15;
  color: var(--forest);
  margin-bottom: 28px;
}
.section-title em { font-style: italic; }
.section-title.light { color: var(--white); }

.section-body {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--muted);
  max-width: 520px;
}
.section-body.light { color: rgba(253,250,245,0.6); }

/* ── NAV ── */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 60px;
  background: rgba(253,250,245,0.93);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(42,61,46,0.08);
  transition: padding 0.3s, box-shadow 0.3s;
}
#site-header.scrolled {
  padding: 14px 60px;
  box-shadow: 0 2px 20px rgba(42,61,46,0.08);
}

.site-branding a {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--forest);
  text-decoration: none;
  line-height: 1.2;
}
.site-branding .logo-dot { color: var(--terra); }

.main-navigation {
  display: flex;
  align-items: center;
  gap: 36px;
}
.main-navigation a {
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.2s;
}
.main-navigation a:hover { color: var(--forest); }
.main-navigation .nav-cta {
  background: var(--forest);
  color: var(--white) !important;
  padding: 10px 20px;
  border-radius: 2px;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  transition: background 0.2s !important;
}
.main-navigation .nav-cta:hover { background: var(--forest-light) !important; }

/* Hamburger */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  flex-direction: column;
  gap: 5px;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--forest);
  transition: all 0.3s;
}

/* ── HERO ── */
#hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding-top: 80px;
}

.hero-left {
  background: var(--forest);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 70px 80px 80px;
  position: relative;
  overflow: hidden;
}
.hero-left::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: rgba(184,113,74,0.12);
  pointer-events: none;
}

.hero-eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--terra-light);
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-eyebrow::before {
  content: '';
  width: 32px; height: 1px;
  background: var(--terra-light);
  flex-shrink: 0;
}

.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.8rem, 4.5vw, 4.4rem);
  font-weight: 300;
  line-height: 1.08;
  color: var(--white);
  margin-bottom: 32px;
}
.hero-title em {
  font-style: italic;
  color: var(--terra-light);
}

.hero-desc {
  font-size: 0.93rem;
  line-height: 1.8;
  color: rgba(253,250,245,0.72);
  max-width: 400px;
  margin-bottom: 52px;
}

.hero-actions {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}

.btn-ghost {
  color: rgba(253,250,245,0.7);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.2s;
}
.btn-ghost:hover { color: var(--white); }
.btn-ghost::after { content: '→'; }

.hero-right {
  background: var(--sand);
  position: relative;
  overflow: hidden;
}

.hero-photo-wrap {
  width: 100%;
  height: 100%;
  min-height: calc(100vh - 80px);
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.hero-photo-wrap img.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  position: absolute;
  inset: 0;
}

.hero-photo-placeholder {
  width: 100%;
  height: 100%;
  min-height: calc(100vh - 80px);
  background: linear-gradient(160deg, var(--sand-mid) 0%, var(--sand) 60%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.photo-pattern {
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='30' cy='30' r='1' fill='%232A3D2E' opacity='0.06'/%3E%3C/svg%3E");
  background-size: 60px 60px;
}
.photo-placeholder-icon {
  font-size: 5rem;
  opacity: 0.15;
  position: relative;
  z-index: 1;
}

.hero-tag {
  position: absolute;
  top: 40px; left: 40px;
  z-index: 10;
}
.tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--forest);
  color: var(--white);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 9px 16px;
  border-radius: 100px;
}
.tag-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--terra-light);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero-badge {
  position: absolute;
  bottom: 40px; right: 40px;
  background: var(--white);
  border-radius: 4px;
  padding: 18px 22px;
  box-shadow: 0 8px 32px rgba(42,61,46,0.14);
  z-index: 10;
}
.hero-badge-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.2rem;
  font-weight: 500;
  color: var(--forest);
  line-height: 1;
}
.hero-badge-label {
  font-size: 0.68rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 4px;
}

/* ── STATS BAR ── */
#stats-bar {
  background: var(--sand-mid);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(42,61,46,0.08);
}
.stat-item {
  padding: 32px 36px;
  border-right: 1px solid rgba(42,61,46,0.08);
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  font-weight: 500;
  color: var(--forest);
  line-height: 1.2;
}
.stat-label {
  font-size: 0.76rem;
  color: var(--muted);
  line-height: 1.4;
}

/* ── ABOUT ── */
#about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  padding: 110px 80px;
  background: var(--white);
}

.about-image-wrap {
  position: relative;
  height: 560px;
}
.about-photo-bg {
  position: absolute;
  top: 0; left: 0;
  width: calc(100% - 40px);
  height: calc(100% - 40px);
  background: var(--sand);
  border-radius: 4px;
}
.about-photo-frame {
  position: absolute;
  bottom: 0; right: 0;
  width: calc(100% - 40px);
  height: calc(100% - 40px);
  border: 2px solid var(--forest);
  border-radius: 4px;
  opacity: 0.15;
}
.about-photo-content {
  position: absolute;
  top: 20px; left: 20px;
  width: calc(100% - 40px);
  height: calc(100% - 40px);
  border-radius: 4px;
  overflow: hidden;
}
.about-photo-content img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.about-photo-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(170deg, var(--sand-mid) 40%, rgba(42,61,46,0.08) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  opacity: 0.25;
}
.about-quote-block {
  position: absolute;
  bottom: -20px; right: 16px;
  background: var(--terra);
  color: var(--white);
  padding: 22px 26px;
  border-radius: 4px;
  max-width: 210px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  font-style: italic;
  line-height: 1.5;
  z-index: 2;
  box-shadow: 0 8px 24px rgba(184,113,74,0.3);
}

.about-credentials {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.credential-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 0.86rem;
  line-height: 1.5;
  color: var(--muted);
}
.credential-icon {
  width: 34px; height: 34px;
  background: var(--sand);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  flex-shrink: 0;
  margin-top: 1px;
}
.credential-item strong {
  display: block;
  color: var(--forest);
  font-size: 0.88rem;
  margin-bottom: 2px;
}

/* ── DOMAINES ── */
#domaines {
  background: var(--forest);
  padding: 110px 80px;
}
#domaines .domaines-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 56px;
  flex-wrap: wrap;
  gap: 24px;
}
.domaines-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
.domaine-card {
  background: rgba(253,250,245,0.05);
  padding: 38px 34px;
  transition: background 0.3s;
  cursor: default;
  position: relative;
  overflow: hidden;
}
.domaine-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--terra);
  transition: width 0.4s ease;
}
.domaine-card:hover { background: rgba(253,250,245,0.09); }
.domaine-card:hover::before { width: 100%; }
.domaine-icon { font-size: 1.5rem; margin-bottom: 16px; display: block; }
.domaine-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 10px;
}
.domaine-desc {
  font-size: 0.82rem;
  line-height: 1.7;
  color: rgba(253,250,245,0.5);
}

/* ── PUBLIC ── */
#public {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.public-card {
  padding: 90px 70px;
  background: var(--sand);
  position: relative;
}
.public-card:first-child {
  border-right: 1px solid rgba(42,61,46,0.1);
}
.public-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 5rem;
  font-weight: 300;
  color: var(--forest);
  opacity: 0.07;
  position: absolute;
  top: 50px; right: 60px;
  line-height: 1;
  user-select: none;
}
.public-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.9rem;
  font-weight: 400;
  color: var(--forest);
  margin-bottom: 18px;
  margin-top: 20px;
}
.public-body {
  font-size: 0.88rem;
  line-height: 1.8;
  color: var(--muted);
  margin-bottom: 32px;
}
.modalities {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 36px;
}
.modality-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(42,61,46,0.22);
  color: var(--forest-light);
  font-size: 0.73rem;
  letter-spacing: 0.06em;
  padding: 6px 14px;
  border-radius: 100px;
}

/* ── SIMPLYBOOK.ME CTA ── */
#bookly-section {
  background: var(--white);
  padding: 100px 80px;
  border-top: 1px solid rgba(42,61,46,0.08);
}
.bookly-inner {
  max-width: 960px;
  margin: 0 auto;
}
.bookly-inner .section-label {
  justify-content: center;
  text-align: center;
}
.bookly-inner .section-label::before { display: none; }
.bookly-inner .section-title {
  text-align: center;
  margin-bottom: 16px;
}
.bookly-inner > p {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 48px;
  text-align: center;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}
.bookly-shortcode-wrap {
  margin-top: 0;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid rgba(42,61,46,0.10);
  box-shadow: 0 4px 32px rgba(42,61,46,0.06);
  background: var(--white);
}

/* Force l'iframe SimplyBook a prendre toute la largeur */
.bookly-shortcode-wrap iframe {
  width: 100% !important;
  min-height: 700px;
  border: none !important;
  display: block;
}

/* ── TÉMOIGNAGES ── */
#temoignages {
  background: var(--white);
  padding: 110px 80px;
}
.temoignages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}
.temoignage-card {
  background: var(--sand);
  padding: 34px 30px;
  border-radius: 4px;
}
.quote-mark {
  font-family: 'Cormorant Garamond', serif;
  font-size: 4.5rem;
  color: var(--terra);
  opacity: 0.22;
  line-height: 0.6;
  margin-bottom: 18px;
  display: block;
}
.temoignage-text {
  font-size: 0.88rem;
  line-height: 1.75;
  color: var(--ink);
  font-style: italic;
  margin-bottom: 24px;
}
.temoignage-author {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid rgba(42,61,46,0.1);
  padding-top: 18px;
}
.author-avatar {
  width: 34px; height: 34px;
  background: var(--forest);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  color: var(--white);
  font-weight: 500;
  flex-shrink: 0;
}
.author-info .author-name {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--forest);
}
.author-info .author-role {
  font-size: 0.73rem;
  color: var(--muted);
}

/* ── CONTACT ── */
#contact {
  background: var(--forest);
  padding: 110px 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.contact-infos {
  margin-top: 44px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.contact-info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.contact-info-icon {
  width: 40px; height: 40px;
  background: rgba(253,250,245,0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
}
.contact-info-text .ci-label {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--terra-light);
  margin-bottom: 3px;
}
.contact-info-text .ci-value {
  font-size: 0.88rem;
  color: rgba(253,250,245,0.72);
}

/* Contact Form */
.contact-form-wrap {
  background: var(--white);
  padding: 44px;
  border-radius: 4px;
}
.contact-form-wrap h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--forest);
  margin-bottom: 28px;
}
.form-group { margin-bottom: 18px; }
.form-label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 7px;
}
.form-input,
.form-textarea,
.form-select,
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form textarea,
.wpcf7-form select {
  width: 100%;
  padding: 11px 15px;
  border: 1px solid rgba(42,61,46,0.15);
  border-radius: 2px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.86rem;
  color: var(--ink);
  background: var(--sand);
  outline: none;
  transition: border-color 0.2s;
  appearance: none;
}
.form-input:focus,
.form-textarea:focus,
.form-select:focus,
.wpcf7-form input:focus,
.wpcf7-form textarea:focus { border-color: var(--forest); }
.form-textarea,
.wpcf7-form textarea { resize: vertical; min-height: 100px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-note {
  font-size: 0.72rem;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 18px;
  padding: 12px;
  background: var(--sand-mid);
  border-radius: 2px;
}
.form-submit,
.wpcf7-form input[type="submit"] {
  width: 100%;
  background: var(--forest);
  color: var(--white);
  border: none;
  padding: 14px;
  border-radius: 2px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s;
}
.form-submit:hover,
.wpcf7-form input[type="submit"]:hover { background: var(--forest-light); }

/* ── FOOTER ── */
#colophon {
  background: var(--ink);
  padding: 44px 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  color: rgba(253,250,245,0.5);
}
.footer-logo strong { color: var(--white); font-weight: 500; }
.footer-links {
  display: flex;
  gap: 28px;
}
.footer-links a {
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: rgba(253,250,245,0.38);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: rgba(253,250,245,0.75); }
.footer-copy {
  font-size: 0.72rem;
  color: rgba(253,250,245,0.28);
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.animate-in { animation: fadeUp 0.65s ease both; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  #site-header { padding: 18px 32px; }
  #hero { grid-template-columns: 1fr; }
  .hero-right { display: none; }
  .hero-left { padding: 60px 40px; min-height: calc(100vh - 80px); }
  #about { grid-template-columns: 1fr; padding: 80px 40px; }
  .about-image-wrap { height: 400px; }
  #domaines { padding: 80px 40px; }
  .domaines-grid { grid-template-columns: repeat(2, 1fr); }
  #public { grid-template-columns: 1fr; }
  .public-card:first-child { border-right: none; border-bottom: 1px solid rgba(42,61,46,0.1); }
  .temoignages-grid { grid-template-columns: 1fr; }
  #contact { grid-template-columns: 1fr; padding: 80px 40px; }
  #stats-bar { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  #colophon { padding: 36px 40px; }
  #bookly-section { padding: 60px 40px; }
  .bookly-shortcode-wrap iframe { min-height: 600px; }
  #temoignages { padding: 80px 40px; }
}

@media (max-width: 768px) {
  #site-header { padding: 16px 24px; }
  .main-navigation { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--white); padding: 24px; border-bottom: 1px solid rgba(42,61,46,0.1); gap: 20px; }
  .main-navigation.open { display: flex; }
  .menu-toggle { display: flex; }
  .hero-left { padding: 50px 28px; }
  #about { padding: 60px 24px; gap: 50px; }
  #domaines { padding: 60px 24px; }
  .domaines-grid { grid-template-columns: 1fr; }
  .public-card { padding: 60px 28px; }
  #contact { padding: 60px 24px; }
  .contact-form-wrap { padding: 28px; }
  #temoignages { padding: 60px 24px; }
  #bookly-section { padding: 50px 24px; }
  .bookly-shortcode-wrap iframe { min-height: 550px; }
  #stats-bar { grid-template-columns: 1fr 1fr; }
  #colophon { padding: 28px 24px; flex-direction: column; align-items: flex-start; }
}

/* ── TARIF ── */
#tarif {
  background: var(--sand-mid);
  border-top: 1px solid rgba(42,61,46,0.08);
  border-bottom: 1px solid rgba(42,61,46,0.08);
  padding: 70px 80px;
}
.tarif-inner {
  max-width: 960px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 60px;
  align-items: center;
}
.tarif-price-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
  padding-right: 60px;
  border-right: 1px solid rgba(42,61,46,0.12);
}
.tarif-amount {
  font-family: 'Cormorant Garamond', serif;
  font-size: 4.5rem;
  font-weight: 500;
  color: var(--forest);
  line-height: 1;
}
.tarif-unit {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.tarif-details p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 16px;
}
.tarif-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.tarif-list li {
  font-size: 0.85rem;
  color: var(--forest);
  display: flex;
  align-items: baseline;
  gap: 8px;
}

@media (max-width: 900px) {
  .tarif-inner {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }
  .tarif-price-block {
    padding-right: 0;
    border-right: none;
    border-bottom: 1px solid rgba(42,61,46,0.12);
    padding-bottom: 28px;
  }
  .tarif-list { align-items: center; }
  #tarif { padding: 50px 24px; }
}
