:root {
  --cream: #f8f1e8;
  --beige: #ead9ca;
  --rose: #c88f84;
  --terracotta: #9f5f55;
  --brown: #4a302b;
  --dark-brown: #2d1b17;
  --gold: #b98a4b;
  --white: #ffffff;
  --soft-white: #fffaf5;
  --shadow: 0 18px 35px rgba(74, 48, 43, 0.15);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Montserrat", sans-serif;
  background: var(--cream);
  color: var(--brown);
  line-height: 1.7;
}

link img {
  width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

.header {
  width: 100%;
  background: rgba(248, 241, 232, 0.96);
  position: fixed;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(74, 48, 43, 0.08);
}

.navbar {
  max-width: 1300px;
  height: 85px;
  margin: auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo,
.footer-logo {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  height: 3.2rem;
  width: 11rem;
  display: block;
  transition: 0.35s;
  border-radius: 2rem;
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 1.1rem;
  font-weight: 500;
}

.nav-links a:hover {
  color: var(--terracotta);
}

.nav-btn,
.btn-primary,
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 12px 24px;
  font-size: 0.85rem;
  font-weight: 700;
  transition: 0.3s ease;
  cursor: pointer;
}

.nav-btn,
.btn-primary {
  background: var(--terracotta);
  color: var(--white);
  border: 1px solid var(--terracotta);
}

.btn-outline {
  background: transparent;
  color: var(--terracotta);
  border: 1px solid var(--terracotta);
}

.light-outline {
  color: var(--white);
  border-color: var(--white);
}

.nav-btn:hover,
.btn-primary:hover {
  background: var(--brown);
  border-color: var(--brown);
}

.btn-outline:hover {
  background: var(--terracotta);
  color: var(--white);
}

.light-outline:hover {
  background: var(--white);
  color: var(--brown);
}

.hero {
  min-height: 100vh;
  padding: 120px 24px 70px;
  background:
    linear-gradient(rgba(40, 22, 18, 0.45), rgba(40, 22, 18, 0.55)),
    url("/médias\ images/image-hero_resultat.webp") center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
}

.hero-content {
  max-width: 850px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.name-of-website {
  color: var(--gold);
  font-size: 6rem;
  font-weight: 500;
}

.hero-tag,
.section-label,
.section-title p {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.hero h1 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.6rem, 6vw, 3.5rem);
  line-height: 1.05;
  margin-bottom: 22px;
}

.hero h2 {
  max-width: 720px;
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 300;
  margin-bottom: 34px;
}

.hero-buttons,
.cta-center,
.cta-left {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-buttons {
  justify-content: center;
}

.cta-center {
  justify-content: center;
  margin-top: 42px;
}

.cta-left {
  justify-content: flex-start;
  margin-top: 28px;
}

.section {
  padding: 95px 24px;
}

.light {
  background: var(--cream);
}

.beige {
  background: var(--beige);
}

.section-title {
  max-width: 760px;
  margin: 0 auto 60px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section-title h2,
.split-text h2,
.about-text h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.1;
}

.cards-flex {
  max-width: 1200px;
  margin: auto;
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.card {
  max-width: 250px;
  flex: 1 1 220px;
  background: var(--white);
  padding: 32px 26px;
  border-radius: 18px;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--rose);
  text-align: center;
}

.card-icon {
  color: var(--terracotta);
  font-size: 2rem;
  margin-bottom: 16px;
}

.card h3 {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.6rem;
  margin-bottom: 14px;
}

.card p {
  font-size: 0.92rem;
}

.tarifs-section {
  background: linear-gradient(180deg, var(--cream), #f2e5d9);
}

.tarifs-flex {
  max-width: 1050px;
  margin: auto;
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 32px;
  flex-wrap: wrap;
}

.tarif-card {
  max-width: 320px;
  flex: 1 1 280px;
  background: var(--white);
  padding: 34px 28px;
  border-radius: 22px;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--rose);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.featured-tarif {
  border-top-color: var(--terracotta);
  transform: translateY(-8px);
}

.tarif-icon {
  width: 54px;
  height: 54px;
  background: var(--cream);
  color: var(--terracotta);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 1.6rem;
  font-weight: 700;
}

.tarif-card h3 {
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  margin-bottom: 20px;
}

.tarif-main {
  width: 100%;
  background: var(--soft-white);
  border-radius: 16px;
  padding: 18px;
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tarif-main span {
  font-size: 0.95rem;
  font-weight: 500;
}

.tarif-main strong {
  font-family: "Cormorant Garamond", serif;
  color: var(--terracotta);
  font-size: 2.6rem;
  line-height: 1;
}

.tarif-card p {
  font-size: 0.95rem;
  margin-bottom: 18px;
}

.tarif-card ul {
  width: 100%;
  list-style: none;
  border-top: 1px solid #ead9ca;
  padding-top: 18px;
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tarif-card li {
  font-size: 0.92rem;
}

.tarif-card li strong {
  color: var(--terracotta);
}

@media (max-width: 950px) {
  .featured-tarif {
    transform: none;
  }
}

.gallery-flex {
  max-width: 1200px;
  margin: auto;
  display: flex;
  justify-content: center;
  gap: 4rem;
  flex-wrap: wrap;
}

.gallery-flex figure {
  max-width: 250px;
  flex: 1 1 220px;
  background: var(--white);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.gallery-flex img {
  height: 280px;
  object-fit: cover;
  width: 100%;
}

.gallery-flex figcaption {
  padding: 16px;
  text-align: center;
  font-weight: 600;
}

.split-section {
  max-width: 1120px;
  margin: auto;
  display: flex;
  align-items: center;
  gap: 55px;
}

.split-image,
.split-text {
  flex: 1;
}

.split-image img {
  height: 480px;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.split-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.split-text p {
  margin-top: 18px;
}

.about-card {
  max-width: 900px;
  margin: auto;
  background: var(--white);
  padding: 48px;
  border-radius: 24px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 38px;
}

.about-card img {
  width: 180px;
  height: 180px;
  object-fit: cover;
  object-position: center 25%;
  border-radius: 50%;
  border: 6px solid var(--beige);
  flex-shrink: 0;
}

.about-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.about-text p:last-of-type {
  margin-top: 18px;
}

.testimonials {
  background: linear-gradient(180deg, var(--cream), #f2e5d9);
}

.testimonial-flex {
  max-width: 1000px;
  margin: auto;
  display: flex;
  justify-content: center;
  gap: 22px;
  flex-wrap: wrap;
}

.testimonial-flex article {
  max-width: 320px;
  flex: 1 1 260px;
  background: var(--white);
  padding: 30px;
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.testimonial-flex strong {
  display: block;
  margin-top: 18px;
  color: var(--terracotta);
}

.contact-section {
  background: var(--cream);
}

.contact-wrapper {
  max-width: 780px;
  margin: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.contact-form {
  width: 100%;
  background: var(--white);
  border-radius: 22px;
  padding: 38px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 2rem;
  border: 1px solid #dfc9ba;
  border-radius: 10px;
  font-family: inherit;
  background: var(--soft-white);
  color: var(--brown);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--terracotta);
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-form button {
  border: none;
  background: var(--terracotta);
  color: var(--white);
  padding: 15px;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.3s ease;
  font-size: 1.1rem;
}

.contact-form button:hover {
  background: var(--brown);
}

.contact-call-btn {
  margin-top: -4px;
}

.contact-info {
  width: 100%;
  background: var(--white);
  border-radius: 22px;
  padding: 28px;
  box-shadow: var(--shadow);
  display: flex;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  text-align: center;
}

.contact-item {
  flex: 1 1 180px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-item span {
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.contact-item p {
  font-size: 0.95rem;
  font-weight: 500;
}

.footer {
  background: var(--dark-brown);
  color: var(--cream);
  padding: 34px 24px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-logo {
  font-size: 1.5rem;
  background-color: white;
  border-radius: 18px;
}

.footer-logo img {
  height: 90px;
  width: 18rem;
  display: block;
  border-radius: 30px;
}

.footer-cta {
  text-align: center;
  font-size: 0.9rem;
}

.footer-phone {
  display: inline-flex;
  margin-top: 8px;
  color: var(--gold);
  font-weight: 700;
}

.footer-cta a:hover {
  color: white;
}

.footer-copyright {
  margin-top: 14px;
  font-size: 0.78rem;
  color: rgba(248, 241, 232, 0.72);
  letter-spacing: 0.3px;
  line-height: 1.6;
}

.footer-copyright strong {
  color: var(--gold);
  font-weight: 600;
}

.footer-links {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  font-size: 0.85rem;
}

.footer-links a:hover {
  color: var(--gold);
}

/* Apparition douce au scroll */

.reveal {
  opacity: 0;
  transform: translateY(35px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 950px) {
  .nav-btn {
    display: none;
  }
  .split-section,
  .about-card {
    flex-direction: column;
    text-align: center;
  }
  .split-section,
  .about-card {
    flex-direction: column;
    text-align: center;
  }

  .split-text,
  .about-text {
    align-items: center;
  }

  .cta-left {
    justify-content: center;
  }

  .about-card img {
    margin: auto;
  }

  .gallery-flex img {
    height: 340px;
  }

  .footer {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 600px) {
  .navbar {
    height: 68px;
  }

  .logo {
    font-size: 1.45rem;
  }

  .hero {
    min-height: 86vh;
    padding-top: 110px;
  }

  .section {
    padding: 70px 18px;
  }

  .card,
  .contact-form,
  .about-card {
    padding: 26px;
  }

  .gallery-flex img {
    height: 280px;
  }

  .hero-buttons,
  .cta-center,
  .cta-left {
    flex-direction: column;
    width: 100%;
  }

  .btn-primary,
  .btn-outline {
    width: 100%;
    max-width: 320px;
  }

  .contact-info {
    flex-direction: column;
  }

  .footer-links {
    flex-direction: column;
    gap: 10px;
  }
}

/* --page mentions-legales */

.legal-header {
  width: 100%;
  padding: 24px;
  background: var(--cream);
  display: flex;
  justify-content: center;
  border-bottom: 1px solid #ead9ca;
}

.legal-back {
  color: var(--terracotta);
  font-weight: 700;
}

.legal-back:hover {
  color: var(--brown);
}

.legal-page {
  background: var(--cream);
  min-height: 100vh;
}

.legal-hero {
  padding: 90px 24px 50px;
  text-align: center;
  background: linear-gradient(180deg, var(--cream), #f2e5d9);
}

.legal-hero p {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.legal-hero h1 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.6rem, 6vw, 4.8rem);
  color: var(--brown);
  line-height: 1;
}

.legal-content {
  max-width: 920px;
  margin: auto;
  padding: 60px 24px 90px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.legal-content article {
  background: var(--white);
  padding: 34px;
  border-radius: 20px;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--terracotta);
}

.legal-content h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  margin-bottom: 14px;
  color: var(--brown);
}

.legal-content p {
  margin-bottom: 12px;
}

.legal-content p:last-child {
  margin-bottom: 0;
}

.legal-content strong {
  color: var(--terracotta);
}

@media (max-width: 600px) {
  .legal-content article {
    padding: 26px;
  }

  .legal-hero {
    padding: 70px 18px 40px;
  }
}

/* --page de politique-confidentialite */

.legal-content ul {
  margin: 12px 0 12px 22px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.legal-content li {
  line-height: 1.7;
}

/* --menu burger  */

.burger {
  display: none;
  width: 42px;
  height: 42px;
  border: none;
  background: var(--terracotta);
  border-radius: 50%;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  z-index: 1200;
}

.burger span {
  width: 20px;
  height: 2px;
  background: var(--white);
  border-radius: 999px;
  transition: 0.3s ease;
}

.burger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.burger.active span:nth-child(2) {
  opacity: 0;
}

.burger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 1100px) {
  .burger {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 76px;
    right: -100%;
    width: 100%;
    max-width: 360px;
    height: calc(100vh - 76px);
    background: var(--cream);
    padding: 40px 28px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    box-shadow: -10px 0 35px rgba(74, 48, 43, 0.18);
    transition: right 0.35s ease;
    z-index: 1100;
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    display: block;
    width: 100%;
    font-size: 1.1rem;
    padding: 10px 0;
    color: var(--brown);
  }

  .nav-btn {
    display: none;
  }

  body.menu-open {
    overflow: hidden;
  }
}

@media (max-width: 600px) {
  .nav-links {
    top: 68px;
    height: calc(100vh - 68px);
    max-width: 100%;
  }
}

/* ================================
   RESPONSIVE FINAL MARTINE & COIFF
================================ */

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

img {
  max-width: 100%;
}

/* Laptop / petit desktop */
@media (max-width: 1280px) {
  .navbar {
    max-width: 1180px;
    padding: 0 20px;
  }

  .nav-links {
    gap: 18px;
    font-size: 0.95rem;
  }

  .nav-btn {
    padding: 10px 18px;
    font-size: 0.8rem;
  }

  .logo img {
    width: 10rem;
    height: 3rem;
  }

  .name-of-website {
    font-size: 5rem;
  }

  .gallery-flex {
    gap: 2.5rem;
  }

  .footer {
    flex-direction: column;
    text-align: center;
  }
}

/* Passage menu burger */
@media (max-width: 1100px) {
  .burger {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 85px;
    right: -100%;
    width: 100%;
    max-width: 360px;
    height: calc(100vh - 85px);
    background: var(--cream);
    padding: 40px 28px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    box-shadow: -10px 0 35px rgba(74, 48, 43, 0.18);
    transition: right 0.35s ease;
    z-index: 1100;
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    display: block;
    width: 100%;
    font-size: 1.1rem;
    padding: 10px 0;
    color: var(--brown);
  }

  .nav-btn {
    display: none;
  }

  body.menu-open {
    overflow: hidden;
  }

  .hero {
    padding-top: 130px;
  }

  .name-of-website {
    font-size: clamp(3.8rem, 8vw, 5rem);
  }

  .hero h1 {
    font-size: clamp(2.3rem, 5vw, 3.2rem);
  }

  .split-section {
    max-width: 920px;
    gap: 40px;
  }
}

/* Tablette */
@media (max-width: 950px) {
  .section {
    padding: 80px 22px;
  }

  .section-title {
    margin-bottom: 48px;
  }

  .split-section,
  .about-card {
    flex-direction: column;
    text-align: center;
  }

  .split-text,
  .about-text {
    align-items: center;
  }

  .split-image,
  .split-text {
    width: 100%;
  }

  .split-image img {
    height: 420px;
  }

  .about-card {
    max-width: 720px;
  }

  .about-card img {
    width: 170px;
    height: 170px;
  }

  .cta-left {
    justify-content: center;
  }

  .gallery-flex img {
    height: 340px;
  }

  .footer {
    flex-direction: column;
    text-align: center;
  }

  .footer-logo {
    font-size: 1.5rem;
    background-color: white;
    border-radius: 18px;
    width: 200px;
  }

  .footer-logo img {
    height: 60px;
    display: block;
    border-radius: 30px;
  }

  .featured-tarif {
    transform: none;
  }
}

/* Tablette portrait / grands mobiles */
@media (max-width: 768px) {
  .hero {
    min-height: 92vh;
    padding: 120px 20px 60px;
  }

  .name-of-website {
    font-size: clamp(3rem, 10vw, 4.2rem);
  }

  .hero-tag,
  .section-label,
  .section-title p {
    font-size: 0.85rem;
  }

  .hero h1 {
    font-size: clamp(2.2rem, 8vw, 3rem);
  }

  .hero h2 {
    font-size: 1rem;
  }

  .card,
  .tarif-card,
  .gallery-flex figure,
  .testimonial-flex article {
    max-width: 340px;
    flex: 1 1 300px;
  }

  .gallery-flex {
    gap: 2rem;
  }

  .gallery-flex img {
    height: 320px;
  }

  .contact-wrapper {
    max-width: 680px;
  }

  .contact-form input,
  .contact-form textarea {
    padding: 1.4rem;
  }

  .footer-logo img {
    width: 16rem;
    height: auto;
  }
}

/* Mobile */
@media (max-width: 600px) {
  .navbar {
    height: 68px;
    padding: 0 16px;
  }

  .logo img {
    width: 9rem;
    height: 3rem;
    border-radius: 1.5rem;
  }

  .nav-links {
    top: 68px;
    height: calc(100vh - 68px);
    max-width: 100%;
    padding: 34px 24px;
  }

  .hero {
    min-height: 100svh;
    padding: 100px 18px 50px;
    background-position: center;
  }

  .name-of-website {
    font-size: clamp(2.6rem, 13vw, 3.5rem);
    line-height: 1;
    margin-bottom: 10px;
  }

  .hero-tag {
    font-size: 0.78rem;
    line-height: 1.5;
  }

  .hero h1 {
    font-size: clamp(2rem, 10vw, 2.7rem);
    margin-bottom: 18px;
  }

  .hero h2 {
    font-size: 0.95rem;
    margin-bottom: 28px;
  }

  .section {
    padding: 68px 18px;
  }

  .section-title {
    margin-bottom: 38px;
  }

  .section-title h2,
  .split-text h2,
  .about-text h2 {
    font-size: clamp(2rem, 10vw, 2.6rem);
  }

  .hero-buttons,
  .cta-center,
  .cta-left {
    flex-direction: column;
    width: 100%;
  }

  .btn-primary,
  .btn-outline {
    width: 100%;
    max-width: 320px;
  }

  .card,
  .tarif-card,
  .gallery-flex figure,
  .testimonial-flex article {
    max-width: 100%;
    flex: 1 1 100%;
  }

  .cards-flex,
  .tarifs-flex,
  .gallery-flex,
  .testimonial-flex {
    gap: 24px;
  }

  .gallery-flex img {
    height: 280px;
  }

  .split-image img {
    height: 320px;
  }

  .about-card {
    padding: 28px 22px;
  }

  .about-card img {
    width: 150px;
    height: 150px;
  }

  .contact-form {
    padding: 28px 22px;
  }

  .contact-form input,
  .contact-form textarea {
    padding: 1.1rem;
  }

  .contact-info {
    flex-direction: column;
  }

  .footer {
    padding: 34px 18px;
  }

  .footer-logo img {
    width: 14rem;
    height: auto;
  }

  .footer-links {
    flex-direction: column;
    gap: 10px;
  }

  .legal-content article {
    padding: 26px;
  }

  .legal-hero {
    padding: 70px 18px 40px;
  }
}

/* Très petits mobiles */
@media (max-width: 380px) {
  .logo img {
    width: 7.8rem;
  }

  .name-of-website {
    font-size: 2.4rem;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .section {
    padding: 60px 14px;
  }

  .contact-form {
    padding: 24px 18px;
  }

  .footer-logo img {
    width: 12.5rem;
  }
}

/* Accessibilité animations */
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  html {
    scroll-behavior: auto;
  }
}
