/*
Theme Name: De la Touanne
Theme URI: https://delatouanne-avocat-paris.fr
Author: Codex
Description: Elegant, chic theme for a Paris lawyer website.
Version: 1.0.0
Text Domain: delatouanne
*/

:root {
  --ink: #1c1c1a;
  --ink-soft: #2d2b28;
  --paper: #f6f1ea;
  --paper-strong: #efe6dc;
  --gold: #b4975a;
  --gold-soft: #d3c2a3;
  --accent: #7b6c57;
  --line: rgba(28, 28, 26, 0.15);
  --shadow: 0 18px 55px rgba(28, 28, 26, 0.18);
  --radius: 24px;
  --max: 1120px;
  --gutter: 28px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Work Sans", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: radial-gradient(1200px 800px at 15% -10%, #ffffff 0%, var(--paper) 50%, var(--paper-strong) 100%);
  line-height: 1.6;
  min-height: 100vh;
}

body.menu-open {
  overflow: hidden;
}

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

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

a:hover {
  color: var(--accent);
}

button {
  font: inherit;
}

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 241, 234, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
}

.site-header__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 22px;
  flex: 1;
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand__title {
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-size: 28px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.brand__tagline {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent);
}

.nav-primary ul,
.menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-primary--desktop .menu {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.nav-primary a {
  padding: 6px 0;
  position: relative;
}

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

.nav-primary--desktop a:hover::after,
.nav-primary--desktop .current-menu-item > a::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  width: 54px;
  height: 54px;
  border: 1px solid rgba(180, 151, 90, 0.5);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.72);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.menu-toggle:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

.menu-toggle__line {
  width: 18px;
  height: 2px;
  background: var(--ink);
  display: block;
}

.menu-drawer {
  display: none;
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 60;
}

.menu-drawer.is-open {
  pointer-events: auto;
}

.menu-drawer__overlay {
  position: absolute;
  inset: 0;
  background: rgba(28, 28, 26, 0.32);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.menu-drawer__panel {
  position: relative;
  z-index: 1;
  width: min(88vw, 380px);
  height: 100%;
  padding: 28px;
  background: linear-gradient(180deg, #fbf7f1 0%, #efe4d7 100%);
  box-shadow: 20px 0 60px rgba(28, 28, 26, 0.22);
  transform: translateX(-100%);
  transition: transform 0.35s ease;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.menu-drawer.is-open .menu-drawer__overlay {
  opacity: 1;
}

.menu-drawer.is-open .menu-drawer__panel {
  transform: translateX(0);
}

.menu-drawer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.menu-drawer__label {
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
}

.menu-drawer__close {
  width: 48px;
  height: 48px;
  border: 1px solid rgba(28, 28, 26, 0.14);
  border-radius: 50%;
  background: #fff;
  position: relative;
  cursor: pointer;
}

.menu-drawer__close span {
  position: absolute;
  top: 22px;
  left: 13px;
  width: 20px;
  height: 2px;
  background: var(--ink);
}

.menu-drawer__close span:first-child {
  transform: rotate(45deg);
}

.menu-drawer__close span:last-child {
  transform: rotate(-45deg);
}

.nav-primary--mobile .menu {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.nav-primary--mobile a {
  display: block;
  padding: 12px 0;
  border-bottom: 1px solid rgba(28, 28, 26, 0.08);
  font-size: 17px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.nav-primary--mobile .sub-menu {
  padding-left: 16px;
}

.cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid var(--gold);
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 12px;
  background: linear-gradient(120deg, rgba(180, 151, 90, 0.12), rgba(255, 255, 255, 0.6));
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.cta--mobile {
  width: 100%;
  justify-content: center;
  margin-top: auto;
}

.hero {
  padding: 92px 0 70px;
  position: relative;
}

.hero::after {
  content: "";
  position: absolute;
  right: 8%;
  top: 10%;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(180, 151, 90, 0.35), transparent 70%);
  opacity: 0.6;
  pointer-events: none;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--accent);
}

h1,
h2,
h3 {
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 18px;
}

h1 {
  font-size: clamp(36px, 5vw, 64px);
}

h2 {
  font-size: clamp(28px, 3.2vw, 44px);
}

h3 {
  font-size: clamp(22px, 2.6vw, 30px);
}

.lead {
  font-size: 18px;
  color: var(--ink-soft);
}

.hero-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(180, 151, 90, 0.2);
}

.hero-card__item {
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}

.hero-card__item:last-child {
  border-bottom: none;
}

.section {
  padding: 70px 0;
}

.section--alt {
  background: linear-gradient(180deg, rgba(239, 230, 220, 0.6), rgba(246, 241, 234, 0));
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.card {
  background: #fff;
  border-radius: var(--radius);
  padding: 26px;
  border: 1px solid var(--line);
  box-shadow: 0 18px 40px rgba(28, 28, 26, 0.08);
}

.card__title {
  font-size: 22px;
  margin-bottom: 10px;
}

.rule {
  height: 2px;
  width: 120px;
  background: var(--gold);
  margin: 24px 0;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
}

.badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(180, 151, 90, 0.15);
  color: var(--accent);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.list-check {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
}

.list-check li {
  margin-bottom: 12px;
  padding-left: 26px;
  position: relative;
}

.list-check li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--gold);
}

.site-footer {
  padding: 60px 0 40px;
  border-top: 1px solid var(--line);
  background: #f2ebe1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
  align-items: start;
}

.footer-title {
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-size: 24px;
  margin-bottom: 12px;
}

.footer-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-nav li {
  margin-bottom: 8px;
}

.copy {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(28, 28, 26, 0.6);
  margin-top: 18px;
}

.page-hero {
  padding: 70px 0 50px;
  border-bottom: 1px solid var(--line);
}

.page-content {
  padding: 60px 0 80px;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

@media (max-width: 1024px) {
  .hero__grid,
  .split,
  .grid-3,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .nav-primary--desktop,
  .cta--header {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .menu-drawer {
    display: block;
  }
}

@media (max-width: 720px) {
  .site-header__inner {
    align-items: center;
  }

  .brand {
    width: 100%;
  }

  .site-header__actions {
    width: auto;
    flex: 0 0 auto;
  }

  .menu-drawer__panel {
    width: min(92vw, 360px);
    padding: 24px;
  }

  .hero {
    padding-top: 70px;
  }
}
