@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600&family=Cormorant+Garamond:wght@300;400;500;600;700&family=DM+Sans:wght@600&display=swap');

/* =========================
   RESET
========================= */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* =========================
   VARIABLES
========================= */
:root {
  --navy: #0e1f36;
  --navy-soft: #516f8d;
  --gold: #cdaa61;
  --gold-line: rgba(205, 170, 97, 0.65);
  --light: #efefef;
  --text-dark: #171717;
  --footer-dark: #120a12;
  --white: #ffffff;
  --max-width: 1400px;
  --transition: 0.25s ease;
}

/* =========================
   BASE
========================= */
body {
  font-family: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  background: #dcdcdc;
  color: var(--text-dark);
  line-height: 1.55;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style-position: outside; }

/* =========================
   PAGE WRAPPER
========================= */
.page-wrapper {
  width: 92%;
  max-width: var(--max-width);
  margin: 12px auto 24px;
  background: var(--white);
  overflow: hidden;
}

/* =========================
   TYPOGRAPHY
========================= */
h1, h2, h3, h4 {
  font-family: 'Trajan Pro', 'Cinzel', 'Cormorant Garamond', serif;
  text-transform: uppercase;
  letter-spacing: 4px;
  font-weight: 400;
}

h1 { font-size: 2rem; letter-spacing: 3px; }
h2 { font-size: 2.8rem; line-height: 1.05; letter-spacing: 3px; }
h3 { font-size: 2.3rem; letter-spacing: 3px; }
h4 { font-size: 1.35rem; }

/* =========================
   HEADER
========================= */
.top-header {
  background: var(--navy);
  color: white;
  padding: 40px 60px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.brand { text-align: left; }

.brand h1 {
  font-size: 2.8rem;
  letter-spacing: 4px;
  line-height: 1;
  margin: 0;
}

/* =========================
   NAVIGATION
========================= */
.nav-bar {
  background: var(--navy-soft);
  border-top: 1px solid rgba(205, 170, 97, 0.4);
}

.nav-bar ul {
  display: flex;
  justify-content: stretch;
  align-items: stretch;
  list-style: none;
  width: 100%;
}

.nav-bar li {
  flex: 1;
  border-left: 1px solid var(--gold);
}

.nav-bar li:last-child {
  border-right: 1px solid var(--gold);
}

.nav-bar a {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 20px 8px;
  color: var(--white);
  font-family: 'DM Sans', 'DMSans', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  text-align: center;
  transition: background var(--transition), color var(--transition);
}

.nav-bar a:hover,
.nav-bar a.active {
  background: var(--gold);
  color: #111;
}

/* =========================
   HERO
========================= */
.hero {
  background: var(--navy);
  color: var(--white);
  border-bottom: 1px solid rgba(205, 170, 97, 0.7);
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 400px 1fr;
  align-items: stretch;
}

.hero-image {
  overflow: hidden;
  position: relative;
  min-height: 580px;
}

.hero-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.hero-text {
  padding: 50px 58px 50px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-text h2 {
  margin-bottom: 28px;
  font-size: 2.6rem;
}

.hero-text p {
  font-size: 1.1rem;
  line-height: 1.65;
  max-width: 720px;
  margin-bottom: 16px;
  color: rgba(255,255,255,0.92);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 32px;
}

.btn-gold {
  display: inline-block;
  background: var(--gold);
  color: #111;
  padding: 12px 24px;
  font-size: 1rem;
  font-family: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  font-weight: 500;
  transition: opacity var(--transition), transform var(--transition);
}

.btn-gold:hover {
  opacity: 0.75;
  transform: translateY(-2px);
}

.hero-email {
  font-size: 1rem;
  text-decoration: underline;
  text-underline-offset: 6px;
  color: var(--white);
}

.hero-email:hover { opacity: 0.75; }

/* =========================
   SERVICES PREVIEW (WHITE BACKGROUND)
========================= */
.services {
  background: var(--white);
  color: var(--text-dark);
  text-align: center;
  padding: 42px 60px 58px;
  border-top: 1px solid rgba(205, 170, 97, 0.3);
}

.services h2 {
  margin-bottom: 34px;
  color: var(--text-dark);
}

.services-list {
  max-width: 860px;
  margin: 0 auto;
}

.service-item {
  font-family: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  position: relative;
  overflow: hidden;
  padding: 20px 20px;
  margin-bottom: 0;
  border-top: 1px solid var(--gold-line);
  cursor: pointer;
  color: var(--text-dark);
  transition: color var(--transition);
  text-align: left;
}

.service-item:last-child {
  border-bottom: 1px solid var(--gold-line);
}

.service-item::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
  z-index: 0;
}

.service-item span {
  position: relative;
  z-index: 1;
  display: inline-block;
  font-size: 1.1rem;
  line-height: 1.7;
}

.service-item:hover::before { transform: scaleX(1); }
.service-item:hover { color: #111; }

/* =========================
   FOOTER
========================= */
.footer {
  background: var(--footer-dark);
  color: white;
  padding: 36px 60px 24px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.6fr 0.7fr 1fr 1.1fr;
  gap: 30px;
  align-items: start;
}

.footer-brand { text-align: center; }

.footer-brand h1 {
  font-size: 2rem;
  letter-spacing: 3px;
  margin-bottom: 4px;
  line-height: 1;
}

.footer-small {
  text-align: center;
  line-height: 1.55;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.8);
}

.footer-line {
  width: 200px;
  height: 1px;
  background: var(--gold);
  margin: 6px auto 10px;
}

.footer-links { margin-left: 0; }

.footer-links a,
.footer-social a {
  display: block;
  margin-bottom: 5px;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.8);
  transition: opacity var(--transition);
}

.footer-links a:hover,
.footer-social a:hover { opacity: 0.75; }

.contact-link {
  color: rgba(255,255,255,0.8);
  transition: opacity var(--transition);
}

.contact-link:hover { opacity: 0.75; }

/* =========================
   GOLD UNDERLINE
========================= */
.gold-underline {
  position: relative;
  display: inline-block;
}

.gold-underline::after {
  content: "";
  position: absolute;
  left: 0;
  width: 0;
  bottom: -6px;
  height: 3px;
  background-color: var(--gold);
  transition: width 0.5s ease;
}

.gold-underline:hover::after { width: 100%; }

/* =========================
   EXPERIENCE PAGE
========================= */
.experience-hero {
  background: var(--navy);
  color: var(--white);
  text-align: center;
  padding: 48px 70px 40px;
}

.experience-hero h2 { margin-bottom: 24px; }

.experience-hero p {
  max-width: 760px;
  margin: 0 auto;
  font-size: 1.1rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.9);
}

.experience-grid-section {
  background: var(--navy);
  padding: 0;
}

.experience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.exp-card {
  min-height: 300px;
  padding: 30px 28px 34px;
  transition: background 0.35s ease, color 0.35s ease, transform 0.25s ease, box-shadow 0.35s ease;
}

.exp-card h3 {
  text-align: center;
  margin-bottom: 20px;
  font-size: 1.55rem;
  line-height: 1.1;
}

.exp-card p {
  font-size: 1rem;
  line-height: 1.65;
}

.exp-card-light { background: var(--light); color: var(--text-dark); }
.exp-card-navy { background: var(--navy); color: var(--white); }

.exp-card:hover {
  background: var(--gold);
  color: #111;
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.18);
}

.exp-card:hover h3,
.exp-card:hover p { color: #111; }

/* =========================
   PRACTICE / SERVICES PAGE
========================= */
.services-page-hero {
  background: var(--light);
  text-align: center;
  padding: 48px 70px 20px;
}

.services-page-hero h2 { color: var(--text-dark); }

.services-overview {
  background: var(--light);
  padding: 16px 70px 60px;
}

.services-columns {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  align-items: start;
}

.service-column { text-align: center; }

.service-column-line {
  width: 140px;
  height: 1px;
  background: var(--gold-line);
  margin: 0 auto 16px;
}

.service-column h3 {
  display: inline-block;
  padding: 8px 12px;
  font-size: 1rem;
  color: var(--text-dark);
  margin-bottom: 14px;
  transition: all 0.3s ease;
  cursor: pointer;
  line-height: 1.3;
}

.service-column h3:hover {
  background: var(--gold);
  color: var(--text-dark);
  transform: translateY(-2px);
}

.service-column p {
  font-size: 1rem;
  line-height: 1.8;
  text-align: left;
  color: var(--text-dark);
}

.service-column p + p { margin-top: 14px; }

.services-pricing {
  background: var(--navy);
  color: var(--white);
  text-align: center;
  padding: 48px 70px 64px;
}

.services-pricing h3 {
  margin-bottom: 36px;
  color: var(--white);
}

.pricing-table-wrap {
  max-width: 960px;
  margin: 0 auto;
  background: var(--white);
  padding: 16px;
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  font-family: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  color: var(--text-dark);
}

.pricing-table th,
.pricing-table td {
  padding: 12px 14px;
  text-align: left;
  border: 1px solid #d8d8d8;
  font-size: 1rem;
  line-height: 1.4;
}

.pricing-table thead th {
  background: var(--navy);
  color: var(--white);
  font-weight: 600;
  font-size: 0.95rem;
}

.pricing-table tbody tr:nth-child(even) { background: #f4f4f4; }

/* =========================
   CONTACT PAGE
========================= */
.contact-page {
  background: var(--white);
  padding: 56px 70px 72px;
  text-align: center;
}

.contact-page h2 {
  color: var(--text-dark);
  margin-bottom: 24px;
}

.contact-divider {
  width: 100%;
  max-width: 1320px;
  height: 1px;
  background: rgba(17,17,17,0.18);
  margin: 0 auto 34px;
}

.contact-intro {
  max-width: 880px;
  margin: 0 auto 36px;
  font-size: 1.1rem;
  line-height: 1.65;
  color: rgba(23,23,23,0.65);
}

.contact-inline-link {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.contact-form {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  background: transparent;
  border: 1px solid rgba(23,23,23,0.28);
  padding: 18px 20px;
  font-family: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  font-size: 1.05rem;
  color: var(--text-dark);
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(23,23,23,0.55);
  text-transform: uppercase;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 1px rgba(205,170,97,0.35);
}

.contact-form textarea {
  min-height: 210px;
  resize: vertical;
}

.contact-submit {
  align-self: flex-end;
  background: var(--navy);
  color: var(--white);
  border: none;
  padding: 16px 32px;
  font-family: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease;
}

.contact-submit:hover {
  background: var(--gold);
  color: #111;
  transform: translateY(-2px);
}

.form-alert {
  max-width: 700px;
  margin: 0 auto 24px;
  padding: 14px 18px;
  font-size: 1rem;
  text-align: left;
}

.form-alert-success {
  background: rgba(205,170,97,0.18);
  border: 1px solid rgba(205,170,97,0.55);
  color: #3d3217;
}

.form-alert-error {
  background: rgba(120,40,40,0.08);
  border: 1px solid rgba(120,40,40,0.28);
  color: #5a2222;
}

.hidden-field { display: none; }

/* =========================
   FONTS (LOCAL FALLBACK)
========================= */
@font-face {
  font-family: 'Trajan Pro', 'Cinzel';
  src: url('TAN-VIVRE-LIBRE-Regular.woff2') format('woff2'),
       url('TAN-VIVRE-LIBRE-Regular.ttf') format('truetype');
  font-weight: normal;
  font-display: swap;
}

@font-face {
  font-family: 'DMSans';
  src: url('dm-sans-semibold.ttf') format('truetype');
  font-weight: 600;
  font-display: swap;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 1200px) {
  .hero-inner { grid-template-columns: 340px 1fr; }
  .hero-image { min-height: 520px; }
  .services-columns { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1000px) {
  .hero-inner { grid-template-columns: 280px 1fr; }
  .hero-image { min-height: 480px; }
  .footer-inner { grid-template-columns: 1.3fr 0.7fr 1fr 1fr; }
}

@media (max-width: 900px) {
  h1 { font-size: 2.3rem; }
  h2 { font-size: 2.15rem; }
  h3 { font-size: 2rem; }

  .top-header { padding: 24px 20px; justify-content: center; }
  .brand { width: 100%; text-align: center; }
  .brand h1 { font-size: 2rem; letter-spacing: 2px; text-align: center; }

  .nav-bar ul { display: grid; grid-template-columns: repeat(3, 1fr); }
  .nav-bar li { border-left: 1px solid var(--gold); border-right: none; border-bottom: 1px solid rgba(205,170,97,0.4); }
  .nav-bar li:nth-child(3n) { border-right: 1px solid var(--gold); }
  .nav-bar a { padding: 16px 8px; font-size: 0.7rem; }

  .hero-inner { grid-template-columns: 1fr; }
  .hero-image { position: relative; min-height: 420px; height: 420px; }
  .hero-image img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
  .hero-text { padding: 32px 28px 36px; }
  .hero-text h2 { font-size: 2rem; letter-spacing: 2px; margin-bottom: 18px; }
  .hero-text p { max-width: 100%; font-size: 1.05rem; }
  .hero-actions { justify-content: flex-start; flex-wrap: wrap; margin-top: 24px; }

  .services { padding: 36px 24px 46px; }
  .services-list { max-width: 100%; }

  .footer { padding: 28px 24px; }
  .footer-inner { grid-template-columns: 1fr; gap: 24px; text-align: center; }
  .footer-links { margin-left: 0; }
  .footer-links a, .footer-social a { margin-right: 0; }

  .experience-hero { padding: 36px 28px 30px; }
  .experience-grid { grid-template-columns: repeat(2, 1fr); }

  .services-page-hero, .services-overview, .services-pricing { padding-left: 28px; padding-right: 28px; }
  .services-columns { grid-template-columns: 1fr; max-width: 580px; }
  .service-column p { text-align: center; }

  .contact-page { padding: 42px 28px 52px; }
  .contact-submit { align-self: center; width: 100%; max-width: 280px; }
}

@media (max-width: 700px) {
  .experience-grid { grid-template-columns: 1fr; }
  .exp-card { min-height: auto; }
  .pricing-table-wrap { overflow-x: auto; }
  .pricing-table { min-width: 620px; }
}

@media (max-width: 560px) {
  .page-wrapper { width: 100%; margin: 0; }
  .brand h1 { font-size: 1.7rem; letter-spacing: 1.5px; }
  .nav-bar ul { grid-template-columns: repeat(2, 1fr); }
  .nav-bar li:nth-child(3n) { border-right: none; }
  .nav-bar li:nth-child(2n) { border-right: 1px solid var(--gold); }
  .nav-bar a { padding: 14px 6px; font-size: 0.65rem; }
  .hero-image { height: 320px; min-height: 320px; }
  .hero-text { padding: 24px 20px 28px; }
  .hero-text h2 { font-size: 1.75rem; letter-spacing: 1.5px; }
  .btn-gold { width: 100%; max-width: 260px; text-align: center; }
  .footer { padding: 24px 16px; }
}

/* =========================
   METHODOLOGY PAGE
========================= */
.methodology-section {
  background: var(--navy);
  color: var(--white);
}

.methodology-list {
  max-width: 860px;
  margin: 0 auto;
  padding: 20px 60px 58px;
}

.methodology-item {
  position: relative;
  padding: 28px 20px;
  border-top: 1px solid var(--gold-line);
  color: rgba(255, 255, 255, 0.88);
}

.methodology-item:last-child {
  border-bottom: 1px solid var(--gold-line);
}

.methodology-item h3 {
  font-size: 1.1rem;
  letter-spacing: 2px;
  margin-bottom: 14px;
  color: var(--gold);
}

.methodology-item p {
  font-size: 1.1rem;
  line-height: 1.7;
  max-width: 720px;
  font-family: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
}

@media (max-width: 900px) {
  .methodology-list { padding: 16px 28px 46px; }
}