/* =========================================================
   57 WAYS - Brice Seurin
   Coach sportif & Massage Japonais à Cannes
   Design : Luxe Côte d'Azur
   ========================================================= */

:root {
  --ivory: #FAF7F2;
  --cream: #F2EBDD;
  --sand: #E8DFC9;
  --gold: #C9A961;
  --gold-deep: #A8884A;
  --gold-soft: #DCC68A;
  --navy: #0F2A44;
  --navy-soft: #1B4965;
  --med-blue: #5C8AA8;
  --charcoal: #1a1a1a;
  --text: #2A2A2A;
  --text-soft: #5A5A5A;
  --line: rgba(15, 42, 68, 0.12);

  --serif: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  --sans: 'Inter', 'Helvetica Neue', Arial, sans-serif;

  --max: 1240px;
  --radius: 4px;
  --transition: 350ms cubic-bezier(.2,.7,.2,1);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
}

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

/* =========================================================
   IMAGE EFFECTS (cinematic, premium feel)
   ========================================================= */
.fx-cinematic {
  filter: saturate(1.05) contrast(1.05) brightness(0.96);
}
.fx-warm {
  filter: saturate(1.1) contrast(1.08) brightness(0.97) hue-rotate(-3deg);
}
.fx-cool {
  filter: saturate(1.05) contrast(1.05) brightness(0.95);
}
.fx-dramatic {
  filter: saturate(1.15) contrast(1.12) brightness(0.92);
}
/* Soft vignette on hover for image cards */
.img-card { isolation: isolate; }
.img-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 50%, rgba(15,42,68,0.25) 100%);
  pointer-events: none;
  z-index: 1;
}
/* Gold corner accent for image-frame */
.image-frame {
  box-shadow: 0 30px 60px -20px rgba(15, 42, 68, 0.25);
}
.image-frame img {
  filter: saturate(1.05) contrast(1.05);
}

a { color: inherit; text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold-deep); }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--navy);
  margin: 0 0 .6em;
  letter-spacing: 0.5px;
  line-height: 1.15;
}
h1 { font-size: clamp(2.2rem, 5vw, 4rem); font-weight: 400; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); font-weight: 400; }
h3 { font-size: 1.5rem; }

p { margin: 0 0 1em; }

.eyebrow {
  font-family: var(--sans);
  font-size: .78rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-weight: 500;
  margin-bottom: 1rem;
  display: inline-block;
}

.divider {
  width: 60px;
  height: 1px;
  background: var(--gold);
  margin: 1.5rem 0;
  border: 0;
}

.divider-center {
  width: 60px;
  height: 1px;
  background: var(--gold);
  margin: 1.5rem auto;
  border: 0;
}

/* =========================================================
   NAVIGATION
   ========================================================= */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 247, 242, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--navy);
  letter-spacing: 1px;
}
.brand span {
  color: var(--gold-deep);
  font-style: italic;
  font-weight: 400;
}
.nav-links {
  display: flex;
  gap: 2.2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  font-size: .85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--navy);
  font-weight: 500;
  position: relative;
  padding: .3rem 0;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }
.nav-links a.active { color: var(--gold-deep); }

.nav-cta {
  display: inline-block;
  padding: .65rem 1.4rem;
  background: var(--navy);
  color: var(--ivory);
  font-size: .8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  border: 1px solid var(--navy);
  transition: all var(--transition);
}
.nav-cta:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy);
}

.mobile-toggle {
  display: none;
  background: none;
  border: 0;
  font-size: 1.4rem;
  color: var(--navy);
  cursor: pointer;
}

/* Language switcher */
.lang-switch {
  display: flex;
  align-items: center;
  gap: .4rem;
  margin: 0 1.4rem 0 0;
  font-size: .8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 500;
}
.lang-switch a {
  color: var(--text-soft);
  padding: .25rem .35rem;
  transition: color var(--transition);
}
.lang-switch a:hover { color: var(--gold-deep); }
.lang-switch a.active { color: var(--navy); font-weight: 600; }
.lang-switch span { color: var(--line); }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--ivory);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(15, 42, 68, 0.55) 0%,
    rgba(15, 42, 68, 0.35) 50%,
    rgba(15, 42, 68, 0.65) 100%
  );
  z-index: 1;
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 4rem 2rem;
}
.hero h1 {
  color: var(--ivory);
  font-weight: 300;
  font-size: clamp(2.6rem, 6vw, 5rem);
  margin-bottom: .5rem;
}
.hero h1 em {
  color: var(--gold-soft);
  font-style: italic;
  font-weight: 400;
}
.hero .subtitle {
  font-size: 1.05rem;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 2rem;
  font-weight: 300;
}
.hero .lead {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-style: italic;
  font-weight: 300;
  max-width: 620px;
  margin: 1.5rem auto 2.5rem;
  line-height: 1.5;
  opacity: .95;
}

.btn {
  display: inline-block;
  padding: .95rem 2.4rem;
  background: var(--gold);
  color: var(--navy);
  font-family: var(--sans);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  border: 1px solid var(--gold);
  transition: all var(--transition);
  cursor: pointer;
}
.btn:hover {
  background: transparent;
  color: var(--gold-soft);
  border-color: var(--gold-soft);
}
.btn-outline {
  background: transparent;
  color: var(--ivory);
  border-color: var(--ivory);
}
.btn-outline:hover {
  background: var(--ivory);
  color: var(--navy);
}
.btn-dark {
  background: var(--navy);
  color: var(--ivory);
  border-color: var(--navy);
}
.btn-dark:hover {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}

.btn-row { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }

/* =========================================================
   SECTIONS
   ========================================================= */
section { padding: 6rem 2rem; }
.container {
  max-width: var(--max);
  margin: 0 auto;
}
.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 4rem;
}
.section-head .eyebrow { color: var(--gold-deep); }
.section-head p {
  color: var(--text-soft);
  font-size: 1.05rem;
}

.bg-cream { background: var(--cream); }
.bg-navy { background: var(--navy); color: var(--ivory); }
.bg-navy h1, .bg-navy h2, .bg-navy h3 { color: var(--ivory); }
.bg-navy .eyebrow { color: var(--gold-soft); }

/* =========================================================
   GRID / CARDS
   ========================================================= */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.card {
  background: var(--ivory);
  border: 1px solid var(--line);
  padding: 2.5rem 2rem;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(15, 42, 68, 0.08);
  border-color: var(--gold-soft);
}
.card .icon {
  font-size: 2rem;
  color: var(--gold-deep);
  margin-bottom: 1rem;
  font-family: var(--serif);
  font-style: italic;
}
.card h3 { color: var(--navy); margin-bottom: .8rem; }
.card p { color: var(--text-soft); font-size: .95rem; margin: 0; }

/* Image card */
.img-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/5;
}
.img-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms ease;
}
.img-card:hover img { transform: scale(1.05); }
.img-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15,42,68,.85) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 2rem;
}
.img-card-overlay h3 {
  color: var(--ivory);
  margin: 0;
  font-size: 1.4rem;
}
.img-card-overlay .eyebrow { color: var(--gold-soft); margin-bottom: .3rem; }

/* =========================================================
   IMAGE BLOCKS
   ========================================================= */
.image-frame {
  position: relative;
  overflow: hidden;
}
.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4/5;
}
.image-frame::after {
  content: '';
  position: absolute;
  top: 20px; left: 20px; right: -20px; bottom: -20px;
  border: 1px solid var(--gold);
  z-index: -1;
}
.image-frame-wrap {
  position: relative;
  padding: 0 20px 20px 0;
}

/* =========================================================
   TARIFS
   ========================================================= */
.price-card {
  background: var(--ivory);
  border: 1px solid var(--line);
  padding: 3rem 2.2rem;
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
}
.price-card.featured {
  border: 2px solid var(--gold);
  background: linear-gradient(180deg, var(--ivory) 0%, var(--cream) 100%);
  transform: scale(1.03);
}
.price-card.featured::before {
  content: 'POPULAIRE';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--navy);
  padding: .35rem 1.2rem;
  font-size: .7rem;
  letter-spacing: 3px;
  font-weight: 700;
}
.price-card h3 {
  font-family: var(--serif);
  font-size: 1.6rem;
  margin-bottom: .3rem;
}
.price-card .price {
  font-family: var(--serif);
  font-size: 3rem;
  color: var(--navy);
  font-weight: 400;
  margin: 1rem 0 .2rem;
}
.price-card .price small {
  font-size: .9rem;
  color: var(--text-soft);
  font-family: var(--sans);
}
.price-card .duration {
  color: var(--gold-deep);
  font-size: .85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.price-card ul {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 2rem;
  text-align: left;
  flex-grow: 1;
}
.price-card li {
  padding: .55rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--text-soft);
  font-size: .95rem;
  position: relative;
  padding-left: 1.5rem;
}
.price-card li::before {
  content: '✦';
  position: absolute;
  left: 0;
  color: var(--gold);
}
.price-card li:last-child { border-bottom: 0; }

/* =========================================================
   CONTACT
   ========================================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}
.contact-item {
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
}
.contact-item .icon-box {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border: 1px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-deep);
  font-family: var(--serif);
  font-size: 1.2rem;
}
.contact-item h4 {
  font-family: var(--sans);
  font-size: .8rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin: 0 0 .3rem;
}
.contact-item p { margin: 0; color: var(--text); }
.contact-item a:hover { color: var(--gold-deep); }

form { display: flex; flex-direction: column; gap: 1.2rem; }
label {
  font-size: .75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--navy);
  font-weight: 500;
  margin-bottom: .3rem;
  display: block;
}
input, textarea, select {
  width: 100%;
  padding: .9rem 1rem;
  border: 1px solid var(--line);
  background: var(--ivory);
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--text);
  transition: border-color var(--transition);
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--gold);
}
textarea { resize: vertical; min-height: 130px; }

/* =========================================================
   QUOTE / TESTIMONIAL
   ========================================================= */
.quote {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}
.quote p {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-style: italic;
  font-weight: 300;
  color: var(--ivory);
  line-height: 1.5;
  margin-bottom: 1.5rem;
}
.quote .author {
  font-family: var(--sans);
  font-size: .8rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold-soft);
}

/* =========================================================
   PAGE HEADER (sub-pages)
   ========================================================= */
.page-header {
  position: relative;
  height: 50vh;
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--ivory);
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(15,42,68,.55), rgba(15,42,68,.65));
  z-index: 1;
}
.page-header img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.page-header-content {
  position: relative;
  z-index: 2;
  padding: 2rem;
}
.page-header h1 {
  color: var(--ivory);
  font-weight: 300;
}
.page-header .eyebrow { color: var(--gold-soft); }

/* =========================================================
   FEATURE LIST
   ========================================================= */
.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.feature-list li {
  padding: 1.2rem 0 1.2rem 2.5rem;
  border-bottom: 1px solid var(--line);
  position: relative;
  color: var(--text);
}
.feature-list li::before {
  content: '✦';
  position: absolute;
  left: 0;
  top: 1.2rem;
  color: var(--gold);
  font-size: 1.1rem;
}
.feature-list strong {
  display: block;
  color: var(--navy);
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: .2rem;
}

/* =========================================================
   FOOTER
   ========================================================= */
footer {
  background: var(--navy);
  color: var(--cream);
  padding: 4rem 2rem 2rem;
}
.footer-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
footer h4 {
  color: var(--gold-soft);
  font-family: var(--sans);
  font-size: .8rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}
footer .brand {
  color: var(--ivory);
  font-size: 1.8rem;
  display: inline-block;
  margin-bottom: 1rem;
}
footer .brand span { color: var(--gold-soft); }
footer p, footer li { color: rgba(242, 235, 221, 0.7); font-size: .92rem; }
footer ul { list-style: none; padding: 0; margin: 0; }
footer li { margin-bottom: .6rem; }
footer a:hover { color: var(--gold-soft); }
.footer-bottom {
  max-width: var(--max);
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid rgba(242, 235, 221, 0.15);
  display: flex;
  justify-content: space-between;
  font-size: .8rem;
  color: rgba(242, 235, 221, 0.5);
  flex-wrap: wrap;
  gap: 1rem;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 960px) {
  .grid-2, .grid-3, .grid-4, .contact-grid, .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .footer-grid { gap: 2rem; }
  section { padding: 4rem 1.5rem; }
  .nav-links {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--ivory);
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    border-bottom: 1px solid var(--line);
    transform: translateY(-110%);
    transition: transform var(--transition);
    z-index: -1;
  }
  .nav-links.open { transform: translateY(0); }
  .mobile-toggle { display: block; }
  .nav-cta { display: none; }
  .price-card.featured { transform: none; }
  .image-frame::after { display: none; }
  .image-frame-wrap { padding: 0; }
}

@media (max-width: 600px) {
  .nav-inner { padding: 1rem 1.2rem; }
  section { padding: 3rem 1.2rem; }
  .hero { min-height: 80vh; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 800ms ease, transform 800ms ease;
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================================
   FAQ
   ========================================================= */
.faq-wrap {
  max-width: 820px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 1.4rem 0;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--navy);
  outline: none;
  padding: .2rem 0;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 1.6rem;
  color: var(--gold-deep);
  font-weight: 300;
  margin-left: 1rem;
  transition: transform 250ms ease;
}
.faq-item[open] summary::after {
  content: '–';
}
.faq-item .faq-body {
  padding: .8rem 0 .2rem;
  color: var(--text-soft);
  font-size: 1rem;
  line-height: 1.7;
}
