/*
Theme Name: Cabinet Nourdine
Theme URI: https://example.com
Author: Cabinet Nadia NOURDINE
Author URI: https://example.com
Description: Thème WordPress sur mesure pour le cabinet d'avocat de Maître Nadia NOURDINE — Avocate à la Cour.
Version: 1.4
Requires at least: 6.0
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: cabinet-nourdine
*/

:root{
  --cream:#ffffff;
  --navy:#141f36;
  --navy-deep:#0c1526;
  --gold:#c19552;
  --gold-light:#dcb877;
  --grey:#6b7280;
}

/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', Arial, sans-serif;
  color: var(--navy);
  line-height: 1.6;
  background: var(--cream);
}

/* Titres en Playfair Display pour l'esprit "cabinet établi" */
.hero h1,
.presentation h2,
.services h2,
.values-luxury-left h2,
.contact-header h2,
.logo,
.luxury-item h3,
.quote-inner blockquote {
  font-family: 'Playfair Display', Georgia, serif;
}

/* petit repère décoratif utilisé sous les titres de section (esprit maquette) */
.divider-sm{display:flex;align-items:center;gap:10px;margin:18px 0 6px;}
.divider-sm.center{justify-content:center;}
.divider-sm span{width:46px;height:1px;background:var(--gold);}
.divider-sm i{width:6px;height:6px;border:1px solid var(--gold);transform:rotate(45deg);flex-shrink:0;}

/* CTA FLOTTANT */
.floating-cta {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 1200;
  background: var(--gold);
  color: white;
  text-decoration: none;
  padding: 12px 18px;
  border-radius: 999px;
  box-shadow: 0 12px 28px rgba(20, 31, 54, 0.28);
  font-weight: 600;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.floating-cta:hover {
  transform: translateY(-2px);
  opacity: 0.96;
}

/* HEADER */
.site-header {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 40px);
  max-width: 1200px;
  padding: 14px 24px;
  background: rgba(247, 244, 238, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 999px;
  border: 1px solid rgba(20, 31, 54, 0.08);
  z-index: 1000;
  transition: all 0.3s ease;
}

.site-header.scrolled {
  background: rgba(247, 244, 238, 0.95);
  box-shadow: 0 12px 30px rgba(20, 31, 54, 0.1);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  color: var(--navy);
  font-weight: 600;
  font-size: 1.15rem;
}

.logo img,
.logo .custom-logo {
  max-height: 44px;
  width: auto;
  display: block;
}

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

.main-nav {
  display: flex;
  align-items: center;
}

.main-nav ul {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
}

.main-nav a {
  color: var(--navy);
  margin-left: 20px;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
}

.main-nav a:hover {
  color: var(--gold);
}

/* BURGER + MENU MOBILE */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
}

.burger-label {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--navy);
}

.burger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 34px;
  height: 34px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.burger span {
  width: 22px;
  height: 1.5px;
  background: var(--navy);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.burger.open span:nth-child(1){
  transform: translateY(6.5px) rotate(45deg);
}

.burger.open span:nth-child(2){
  opacity: 0;
}

.burger.open span:nth-child(3){
  transform: translateY(-6.5px) rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: min(320px, 78vw);
  background: var(--cream);
  z-index: 1100;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 110px 40px 40px;
  transform: translateX(100%);
  transition: transform 0.4s ease;
  box-shadow: -20px 0 50px rgba(20, 31, 54, 0.18);
}

.mobile-menu.open {
  transform: translateX(0);
}

.mobile-menu a {
  display: block;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.3rem;
  color: var(--navy);
  text-decoration: none;
  padding: 14px 0;
  border-bottom: 1px solid rgba(20, 31, 54, 0.1);
}

.mobile-menu a:hover {
  color: var(--gold);
}

.mobile-menu-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(12, 21, 38, 0.45);
  z-index: 1050;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.mobile-menu-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

/* HERO */
.hero {
  position: relative;
  padding: 165px 20px 100px;
  text-align: center;
  overflow: hidden;
  background: var(--navy-deep);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1450101499163-c8848c66ca85?auto=format&fit=crop&w=1400&q=80');
  background-size: cover;
  background-position: center;
  opacity: 0.5;
  filter: grayscale(20%) contrast(1.05);
  pointer-events: none;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(20,31,54,.55), rgba(12,21,38,.9));
  pointer-events: none;
  z-index: 1;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(193,149,82,.22), transparent 55%);
  pointer-events: none;
  z-index: 1;
}

.hero-inner {
  position: relative;
  z-index: 3;
  max-width: 900px;
  margin: 0 auto;
}

.hero-kicker {
  display: inline-block;
  margin-bottom: 18px;
  font-size: 0.82rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-light);
}

.hero h1 {
  font-size: clamp(2.6rem, 5vw, 4.8rem);
  line-height: 1.12;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #fff;
  margin-bottom: 22px;
}

.hero-subtitle {
  max-width: 650px;
  margin: 0 auto 34px;
  font-size: 1.05rem;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.78);
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--gold);
  color: white;
  padding: 14px 26px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px -10px rgba(193, 149, 82, 0.6);
}

.btn-secondary {
  padding: 14px 24px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  color: #fff;
  border: 1px solid rgba(255,255,255,.35);
  background: transparent;
  transition: all 0.25s ease;
}

.btn-secondary:hover {
  border-color: #fff;
}

/* CITATION */
.quote-section {
  padding: 95px 20px 55px;
  background: var(--cream);
}

.quote-inner {
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}

.quote-mark {
  display: block;
  font-size: 5rem;
  line-height: 1;
  color: rgba(193, 149, 82, 0.35);
  margin-bottom: 10px;
  font-family: Georgia, "Times New Roman", serif;
}

.quote-inner blockquote {
  margin: 0;
  color: var(--navy);
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  line-height: 1.45;
  font-weight: 400;
  letter-spacing: 0.01em;
  font-style: italic;
}

.quote-footer {
  margin-top: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.quote-line {
  width: 52px;
  height: 1px;
  background: var(--gold);
}

.quote-author {
  font-size: 0.9rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(20, 31, 54, 0.56);
}

/* ADJECTIFS */
.keywords-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin: 40px 20px 35px;
  text-align: center;
  background: var(--cream);
  padding-top: 10px;
}

.keyword {
  position: relative;
  display: inline-block;
  text-align: center;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.1;
  color: rgba(20, 31, 54, 0.2);
  opacity: 0.25;
  transition: color 0.8s ease, opacity 0.8s ease;
}

.keyword.active {
  color: var(--gold);
  opacity: 1;
}

.keyword.dimmed {
  color: rgba(20, 31, 54, 0.32);
  opacity: 0.35;
}

.keyword::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -8px;
  width: 0;
  height: 1px;
  background: rgba(193, 149, 82, 0.5);
  transform: translateX(-50%);
  transition: width 0.35s ease;
}

.keyword.active::after {
  width: 34%;
}

/* A PROPOS */
.presentation {
  background: var(--cream);
}

.presentation .container {
  display: grid;
  grid-template-columns: 0.85fr 1fr 1fr;
  gap: 40px;
  max-width: 1200px;
  margin: 10px auto 70px;
  padding: 20px;
  align-items: center;
}

.presentation .column {
  min-width: 0;
}

.presentation-media {
  border-radius: 6px;
  overflow: hidden;
  min-height: 420px;
  box-shadow: 0 18px 40px -22px rgba(20, 31, 54, 0.28);
}

.presentation-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.92) contrast(1.03);
}

.presentation h2 {
  color: var(--navy);
  margin-bottom: 8px;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.15;
}

.presentation p {
  margin-bottom: 15px;
  font-size: 1.08rem;
  line-height: 1.8;
  color: var(--grey);
}

/* DOMAINES : SECTION ANIMEE */
.services-scroll-section {
  position: relative;
  height: 300vh;
  background: var(--cream);
  overflow: clip;
}

.services-sticky {
  position: sticky;
  top: 90px;
  height: calc(100vh - 90px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px 20px;
}

.services-animated {
  width: 100%;
  max-width: 1380px;
  margin: 0 auto;
  text-align: center;
  transform: scale(1.12) translateY(40px);
  opacity: 0.55;
  transition: transform 0.12s linear, opacity 0.12s linear;
}

.services h2 {
  color: var(--navy);
  margin: 0 auto 8px;
  text-align: center;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.1;
  font-weight: 600;
  display: block;
}

.services-intro {
  max-width: 760px;
  margin: 0 auto 50px;
  color: var(--grey);
  font-size: 1.05rem;
  line-height: 1.8;
}

.service-grid {
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

.service-card {
  opacity: 0.85;
  transform: translateY(10px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.service-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.flip-card {
  perspective: 1400px;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 430px;
  transform-style: preserve-3d;
  transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
  cursor: pointer;
}

.flip-card-inner.flipped {
  transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 6px;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.flip-card-front {
  background: #ffffff;
  border: 1px solid rgba(20, 31, 54, 0.1);
  box-shadow:
    0 12px 35px rgba(20, 31, 54, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.flip-card-front img {
  width: 100%;
  height: 215px;
  object-fit: cover;
  display: block;
  transform: scale(1.02);
  transition: transform 0.8s ease;
  filter: saturate(0.9) contrast(1.05) sepia(0.08);
}

.flip-card:hover .flip-card-front img {
  transform: scale(1.06);
}

.card-front-content {
  flex: 1;
  padding: 24px 22px 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.flip-card-front h3 {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--navy);
  margin-bottom: 16px;
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 1.2rem;
  line-height: 1.3;
  font-weight: 600;
  max-width: 90%;
}

.keywords-card {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 4px;
}

.keywords-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 7px 13px;
  border-radius: 999px;
  background: rgba(193, 149, 82, 0.1);
  border: 1px solid rgba(193, 149, 82, 0.28);
  color: var(--navy);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: all 0.25s ease;
}

.keywords-card span:hover {
  background: rgba(193, 149, 82, 0.2);
  color: var(--navy);
  transform: translateY(-1px);
}

.flip-card-back {
  transform: rotateY(180deg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 28px;
  box-shadow: 0 18px 38px rgba(20, 31, 54, 0.12);
}

.overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to top,
      rgba(12, 21, 38, 0.88) 0%,
      rgba(12, 21, 38, 0.52) 46%,
      rgba(12, 21, 38, 0.22) 100%
    );
}

.flip-card-back p {
  position: relative;
  z-index: 2;
  color: white;
  text-align: left;
  font-size: 1rem;
  line-height: 1.7;
  max-width: 95%;
}

.services::after {
  content: "";
  display: block;
  width: 120px;
  height: 1px;
  margin: 54px auto 0;
  background: linear-gradient(
    to right,
    transparent,
    var(--gold),
    transparent
  );
}

/* VALEURS */
.values-section {
  padding: 110px 20px;
  background:
    radial-gradient(circle at top left, rgba(193, 149, 82, 0.08), transparent 30%),
    var(--cream);
}

.values-luxury-layout {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 70px;
  align-items: start;
}

.values-luxury-left {
  position: sticky;
  top: 120px;
}

.values-kicker {
  display: inline-block;
  margin-bottom: 18px;
  font-size: 0.82rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}

.values-luxury-left h2 {
  color: var(--navy);
  font-size: clamp(2.6rem, 5vw, 4.6rem);
  line-height: 0.98;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 22px;
  max-width: 560px;
}

.values-luxury-left p {
  max-width: 460px;
  color: var(--grey);
  line-height: 1.95;
  font-size: 1.05rem;
}

.values-luxury-right {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.luxury-item {
  position: relative;
  padding: 24px 0 24px;
  border-top: 1px solid rgba(20, 31, 54, 0.12);
  cursor: pointer;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.luxury-item:last-child {
  border-bottom: 1px solid rgba(20, 31, 54, 0.12);
}

.luxury-item-top {
  display: grid;
  grid-template-columns: 70px 1fr;
  align-items: baseline;
  gap: 10px;
}

.luxury-number {
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(193, 149, 82, 0.6);
}

.luxury-item h3 {
  color: rgba(20, 31, 54, 0.55);
  font-size: clamp(1.5rem, 2.2vw, 2.2rem);
  line-height: 1.1;
  font-weight: 600;
  transition: color 0.35s ease, transform 0.35s ease;
}

.luxury-item-content {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(8px);
  transition:
    max-height 0.45s ease,
    opacity 0.35s ease,
    transform 0.35s ease;
}

.luxury-item-content p {
  margin-left: 80px;
  margin-top: 16px;
  max-width: 520px;
  color: var(--grey);
  line-height: 1.9;
  font-size: 1rem;
}

.luxury-item.active h3 {
  color: var(--navy);
  transform: translateX(6px);
}

.luxury-item.active .luxury-number {
  color: var(--gold);
}

.luxury-item.active .luxury-item-content {
  max-height: 220px;
  opacity: 1;
  transform: translateY(0);
}

.luxury-item:hover h3 {
  color: var(--navy);
}

/* ACCES AU CABINET */
.access-section {
  padding: 110px 20px;
  background: var(--cream);
}

.access-container {
  max-width: 1200px;
  margin: 0 auto;
}

.access-header {
  text-align: center;
  margin-bottom: 56px;
}

.access-kicker {
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}

.access-header h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.4rem;
  color: var(--navy);
  margin: 10px 0 4px;
  font-weight: 600;
}

.access-header p {
  color: var(--grey);
  max-width: 520px;
  margin: 0 auto;
}

.access-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: stretch;
}

.access-map {
  border-radius: 6px;
  overflow: hidden;
  min-height: 380px;
  box-shadow: 0 18px 40px -22px rgba(20, 31, 54, 0.28);
}

.access-map iframe {
  width: 100%;
  height: 100%;
  min-height: 380px;
  border: 0;
  display: block;
  filter: grayscale(15%) contrast(1.02);
}

.access-details {
  border-left: 1px solid rgba(193, 149, 82, 0.3);
  padding: 4px 0 4px 40px;
  display: flex;
  flex-direction: column;
  gap: 30px;
  justify-content: center;
}

.access-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.access-icon {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: 50%;
  background: rgba(193, 149, 82, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
}

.access-icon svg {
  width: 20px;
  height: 20px;
  color: var(--gold);
}

.access-item h4 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.05rem;
  color: var(--navy);
  margin-bottom: 4px;
  font-weight: 600;
}

.access-item p {
  color: var(--grey);
  font-size: 0.92rem;
  line-height: 1.65;
}

.access-item p a {
  color: var(--navy);
  text-decoration: underline;
  text-decoration-color: rgba(193, 149, 82, 0.5);
}

/* CONTACT */
.contact-section {
  padding: 90px 20px;
  background: var(--cream);
}

.contact-section::before{
  content:"";
  display:block;
  max-width:1100px;
  margin:0 auto 90px;
  height:1px;
  background:linear-gradient(to right, transparent, rgba(20,31,54,.12), transparent);
}

.contact-container {
  max-width: 1100px;
  margin: auto;
}

.contact-header {
  text-align: center;
  margin-bottom: 50px;
}

.contact-kicker {
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}

.contact-header h2 {
  font-size: 2.4rem;
  color: var(--navy);
  margin: 10px 0 4px;
  font-weight: 600;
}

.contact-header p {
  color: var(--grey);
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 40px;
  align-items: start;
}

.contact-infos {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.info-block span {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}

.info-block p,
.info-block a {
  color: var(--navy);
  font-size: 1rem;
  text-decoration: none;
  margin-top: 6px;
}

.contact-form-modern {
  background: #fff;
  padding: 40px;
  border-radius: 6px;
  border: 1px solid rgba(20, 31, 54, 0.08);
  box-shadow: 0 18px 40px -26px rgba(20, 31, 54, 0.2);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-size: 0.9rem;
  color: var(--navy);
  margin-bottom: 6px;
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  padding: 12px;
  border-radius: 8px;
  border: 1px solid rgba(20, 31, 54, 0.15);
  font-size: 0.95rem;
  outline: none;
  transition: 0.25s;
  font-family: 'Inter', Arial, sans-serif;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--gold);
}

textarea {
  min-height: 130px;
  resize: vertical;
}

.contact-form-modern button {
  margin-top: 10px;
  padding: 14px;
  border: none;
  border-radius: 999px;
  background: var(--gold);
  color: white;
  font-weight: 600;
  cursor: pointer;
  transition: 0.25s;
  font-family: 'Inter', Arial, sans-serif;
}

.contact-form-modern button:hover {
  transform: translateY(-1px);
  opacity: 0.95;
}

/* FOOTER */
footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
  padding: 26px 20px;
}

/* PAGES CLASSIQUES (page.php) */
.page-content-hero {
  padding: 165px 20px 60px;
  text-align: center;
  background: var(--navy-deep);
}

.page-content-hero h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 600;
  color: #fff;
  margin: 0;
}

.page-content-body {
  background: var(--cream);
  padding: 80px 20px 100px;
}

.page-content-inner {
  max-width: 820px;
  margin: 0 auto;
}

.page-content-inner p {
  margin-bottom: 20px;
  font-size: 1.05rem;
  line-height: 1.9;
  color: var(--grey);
}

.page-content-inner h2,
.page-content-inner h3 {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--navy);
  margin: 40px 0 16px;
  line-height: 1.25;
}

.page-content-inner h2 {
  font-size: 1.9rem;
}

.page-content-inner h3 {
  font-size: 1.4rem;
}

.page-content-inner ul,
.page-content-inner ol {
  margin: 0 0 20px 24px;
  color: var(--grey);
  line-height: 1.9;
}

.page-content-inner a {
  color: var(--navy);
  text-decoration: underline;
  text-decoration-color: rgba(193, 149, 82, 0.5);
}

.page-content-inner img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  margin: 20px 0;
}

/* ANIMATIONS */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-up.show {
  opacity: 1;
  transform: translateY(0);
}

/* RESPONSIVE */
@media (max-width: 1200px) {
  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 950px) {
  .values-luxury-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .values-luxury-left {
    position: relative;
    top: 0;
  }

  .values-luxury-left h2 {
    max-width: 100%;
  }

  .luxury-item-content p {
    margin-left: 0;
  }

  .luxury-item-top {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

@media (max-width: 900px) {
  .services-scroll-section {
    height: auto;
  }

  .services-sticky {
    position: relative;
    top: 0;
    height: auto;
    padding: 90px 20px;
  }

  .services-animated {
    transform: none !important;
    opacity: 1 !important;
  }

  .presentation .container,
  .contact-layout,
  .form-row,
  .access-layout {
    grid-template-columns: 1fr;
  }

  .presentation-media,
  .access-map,
  .access-map iframe {
    min-height: 300px;
  }

  .access-details {
    border-left: none;
    border-top: 1px solid rgba(193, 149, 82, 0.3);
    padding: 32px 0 0;
  }
}

@media (max-width: 700px) {
  .service-grid {
    grid-template-columns: 1fr;
  }

  .flip-card-inner {
    height: 400px;
  }

  .flip-card-front img {
    height: 205px;
  }

  .main-nav {
    display: none;
  }

  .burger {
    /* affichage géré par .nav-toggle ci-dessous */
  }

  .nav-toggle {
    display: flex;
  }

  .hero {
    padding: 145px 20px 80px;
  }

  .hero h1 {
    line-height: 1.05;
  }
}
