/* Floating burger menu (top-right) */
.burger-menu {
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 2000;
}

.menu-icon {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  cursor: pointer;
  background: rgba(255, 248, 246, 0.95);
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(184, 0, 92, 0.13);
}

.menu-icon span {
  display: block;
  width: 26px;
  height: 4px;
  margin: 0 auto;
  margin-bottom: 6px;
  background: linear-gradient(90deg, #725d4c 60%, #725d4c 100%);
  border-radius: 2px;
  transition: transform 0.3s cubic-bezier(.77, 0, .175, 1), opacity 0.3s, background 0.3s;
}

#menu-toggle:checked+.menu-icon span:nth-child(1) {
  transform: translateY(10px) rotate(45deg);
}

#menu-toggle:checked+.menu-icon span:nth-child(2) {
  opacity: 0;
}

#menu-toggle:checked+.menu-icon span:nth-child(3) {
  transform: translateY(-10px) rotate(-45deg);
}

#menu-toggle {
  display: none;

}

.menu-list {
  position: absolute;
  top: 48px;
  right: 0;
  background: rgba(255, 248, 246, 0.98);
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(184, 0, 92, 0.13);
  padding: 1rem 1.2rem;
  min-width: 180px;
  display: none;
  flex-direction: column;
  gap: 0.7rem;
}

#menu-toggle:checked+.menu-icon+.menu-list {
  display: flex;
}

.menu-list li {
  list-style: none;
}

.menu-list a {
  color: #725d4c;
  font-weight: bold;
  text-decoration: none;
  font-size: 1.08rem;
  padding: 0.3em 0.7em;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
}

.menu-list a:hover {
  background: #f7c6d9;
  color: #725d4c;
}

@media (max-width: 900px) {
  .burger-menu {
    top: 8px;
    right: 8px;
  }

  .menu-list {
    min-width: 140px;
    padding: 0.7rem 0.5rem;
    gap: 0.5rem;
  }

  .menu-list a {
    font-size: 0.98rem;
    padding: 0.2em 0.5em;
  }
}

.amiea-presentation {
  width: 100%;
  height: auto;
  max-width: 320px;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 4px 16px rgba(184, 0, 92, 0.13);
  margin-right: 1.2rem;
  margin-bottom: 1rem;
}

/* Formation section layout */
.formation-flex {
  display: grid;
  grid-template-columns: minmax(160px, 280px) 1fr;
  gap: 1rem 1.5rem;
  align-items: start;
}

.formation-flex .amiea-presentation {
  margin-right: 0;
}

@media (max-width: 600px) {

  h1,
  .subtitle,
  .header-content,
  h2,
  .card>p,
  .card>ul,
  .card>ol,
  .card>div {
    text-align: center;
  }

  /* Highlights list */
  .highlights {
    text-align: center;
    padding-left: 1.2rem;
    list-style-type: disc;
    list-style-position: outside;
  }

  /* Values: tighter spacing */
  .valeurs-flex {
    gap: 0.5rem;
  }

  .valeur {
    margin-bottom: 0;
    text-align: center;
  }

  /* Process: align list left */
  .processus-list {
    text-align: left;
    padding-left: 1.2rem;
  }

  /* Training: align list left */
  .formation-flex .highlights,
  .formations-list {
    text-align: left;
    padding-left: 1.2rem;
  }

  /* Presentation mobile readability */
  #presentation .highlights {
    font-size: 0.98rem;
    line-height: 1.45;
    margin-top: 0.6rem;
  }

  #presentation p {
    font-size: 1rem;
    line-height: 1.55;
    margin-bottom: 0.6rem;
  }

  #presentation h2 {
    font-size: 1.25rem;
    line-height: 1.3;
  }

  #presentation h3 {
    font-size: 1.05rem;
    margin-top: 0.8rem;
  }

  .header-content {
    text-align: center;
  }

  .header-content .cta {
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-top: 1rem;
    margin-bottom: 1rem;
    width: fit-content;
  }

  .amiea-presentation {
    display: block;
    margin: 0 auto 1rem auto !important;
    width: 100%;
    max-width: 420px;
    max-height: none;
  }

  .formation-flex {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .formation-flex>div {
    text-align: left;
  }

  .card {
    padding: 1.2rem 0.5rem;
  }

  h2 {
    font-size: 1.3rem;
    margin-top: 0.2rem;
  }

  h1 {
    font-size: 2rem;
  }

  .cta {
    font-size: 1rem;
    padding: 0.6rem 1rem;
  }

  .footer-flex {
    padding: 1rem 0.5rem;
    font-size: 0.95rem;
    border-top-left-radius: 30px;
    border-top-right-radius: 30px;
  }

  main {
    padding: 0.5rem 0.1rem;
  }
}

/* RGPD/GDPR note under form */
.form-privacy {
  font-size: 0.9rem;
  color: #725d4c;
  background: #fff8f6;
  border-left: 4px solid #725d4c;
  border-radius: 8px;
  padding: 0.7em 1em;
  margin-top: 1em;
  box-shadow: 0 2px 8px rgba(108, 74, 92, 0.05);
  display: flex;
  align-items: flex-start;
  gap: 0.5em;
  text-align: left;
}

.form-success i {
  color: #009966;
  font-size: 1.6rem;
  vertical-align: middle;
  margin: 0;
  line-height: 1;
}

.form-error i {
  color: #cb0018;
  font-size: 1.6rem;
  vertical-align: middle;
  margin: 0;
  line-height: 1;
}

/* Loader animation */
.loader {
  display: inline-block;
  width: 32px;
  height: 32px;
  border: 4px solid #725d4c;
  border-radius: 50%;
  border-top-color: #fff;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Shake animation for invalid fields */
.shake {
  animation: shake 0.4s cubic-bezier(.36, .07, .19, .97) both;
}

@keyframes shake {

  10%,
  90% {
    transform: translateX(-2px);
  }

  20%,
  80% {
    transform: translateX(4px);
  }

  30%,
  50%,
  70% {
    transform: translateX(-8px);
  }

  40%,
  60% {
    transform: translateX(8px);
  }
}

.contact-instagram .cta i.fa-instagram {
  color: #f7e0ec;
  transition: color 0.2s;
}

.contact-instagram .cta:focus i.fa-instagram,
.contact-instagram .cta:active i.fa-instagram {
  color: #725d4c;
}

.contact-instagram .cta span {
  color: #f7e0ec;
  transition: color 0.2s;
}

.contact-instagram .cta:focus span,
.contact-instagram .cta:active span {
  color: #725d4c;
}

/* Contact section */
.contact-flex {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: space-between;
}

.contact-instagram,
.contact-formulaire {
  background: #f7e0ec;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(184, 0, 92, 0.05);
  padding: 1.5rem 1rem;
  margin-bottom: 1rem;
}

.contact-instagram h3 {
  color: #725d4c;
  margin-bottom: 0.7rem;
  margin-top: 0.2rem;
  font-size: 1.2rem;
}

.contact-formulaire h3 {
  color: #725d4c;
  margin-bottom: 0.7rem;
  margin-top: 0.2rem;
  font-size: 1.2rem;
}

.contact-instagram .cta {
  margin-top: 1rem;
  font-size: 1.1rem;
}

@media (max-width: 900px) {
  .contact-flex {
    flex-direction: column;
    gap: 1rem;
  }
}

/* Animations */
.animate-fade-in {
  animation: fadeIn 1.2s ease;
}

.animate-slide-down {
  animation: slideDown 1s cubic-bezier(.77, 0, .175, 1);
}

.animate-slide-left {
  animation: slideLeft 1s cubic-bezier(.77, 0, .175, 1);
}

.animate-pop {
  animation: popIn 0.7s cubic-bezier(.77, 0, .175, 1);
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-40px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes popIn {
  0% {
    opacity: 0;
    transform: scale(0.7);
  }

  80% {
    opacity: 1;
    transform: scale(1.05);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

body {
  font-family: 'Segoe UI', Arial, sans-serif;
  margin: 0;
  padding: 0;
  background:
    linear-gradient(120deg, rgba(255, 248, 246, 0.28) 60%, rgba(247, 198, 217, 0.85) 100%),
    linear-gradient(300deg, rgba(255, 248, 246, 0.28) 60%, rgba(247, 198, 217, 0.85) 100%),
    url('../public/images/fond.jpeg') center/cover no-repeat fixed;
  color: #333;
  min-height: 100vh;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
  background: url('../public/images/fond.jpeg') center/cover no-repeat;
  filter: blur(8px) brightness(1.08);
  opacity: 0.08;
}

/* Improve perceived performance on mobile: avoid fixed backgrounds which can be costly */
@media (max-width: 600px) {
  body {
    background-attachment: scroll;
  }
}


.header-bg {
  background: linear-gradient(90deg, rgba(247, 198, 217, 0.85) 60%, rgba(255, 248, 246, 0.7) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem 1rem 1rem;
  border-bottom-left-radius: 40px;
  border-bottom-right-radius: 40px;
  box-shadow: 0 4px 16px rgba(184, 0, 92, 0.08);
  position: relative;
}

.portrait {
  width: 150px;
  height: 200px; /* rectangular */
  object-fit: cover;
  object-position: top center; /* start image at top */
  border-radius: 20px; /* rounded rectangle */
  border: 4px solid #fff;
  box-shadow: 0 4px 16px rgba(184, 0, 92, 0.15);
  margin-right: 2.5rem;
  background: #fff8f6;
}

.header-content {
  text-align: left;
}

h1 {
  margin: 0;
  font-size: 3rem;
  color: #725d4c;
  font-family: 'Playfair Display', serif;
  letter-spacing: 2px;
  text-shadow: 0 2px 8px rgba(108, 74, 92, 0.10);
}

.subtitle {
  font-size: 1.2rem;
  color: #333;
  margin-bottom: 1rem;
}

.cta {
  display: inline-block;
  background: #725d4c;
  color: #fff;
  padding: 0.7rem 1.5rem;
  border-radius: 24px;
  text-decoration: none;
  font-weight: bold;
  box-shadow: 0 2px 8px rgba(184, 0, 92, 0.10);
  transition: background 0.2s;
}

.cta {
  display: inline-block;
  background: linear-gradient(90deg, #725d4c 60%, #725d4c 100%);
  color: #fff;
  padding: 0.8rem 1.7rem;
  border-radius: 32px;
  text-decoration: none;
  font-weight: bold;
  box-shadow: 0 4px 16px rgba(184, 0, 92, 0.12);
  transition: background 0.2s, box-shadow 0.2s;
  font-size: 1.1rem;
  border: none;
}

.cta:hover {
  background: linear-gradient(90deg, #725d4c 60%, #725d4c 100%);
  box-shadow: 0 8px 32px rgba(108, 74, 92, 0.18);
}

main {
  padding: 1.5rem 1rem;
  max-width: 900px;
  margin: auto;
}

.card {
  margin-bottom: 2rem;
  background: rgba(255, 250, 254, 0.79);
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(184, 0, 92, 0.07);
  padding: 2rem 1.5rem;
  position: relative;
}

.about-flex {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

@media (min-width: 601px) {
  .highlights {
    list-style-type: disc;
  }

  .formation-flex {
    align-items: center;
  }

  .amiea-presentation {
    align-self: center;
    margin-top: 0;
    margin-bottom: 0;
  }
}

.about-img {
  width: 180px;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(184, 0, 92, 0.10);
}

.highlights {
  margin-top: 1rem;
  padding-left: 1.2rem;
  color: #725d4c;
}

.valeurs-flex {
  display: flex;
  gap: 2rem;
  justify-content: space-between;
  flex-wrap: wrap;
}

.valeur {
  flex: 1 1;
  background: #f7e0ec;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(184, 0, 92, 0.05);
  padding: 1rem;
  text-align: center;
}

.valeur img {
  width: 48px;
  margin-bottom: 0.5rem;
}

.valeur h3 {
  color: #725d4c;
  margin-bottom: 0.7rem;
  margin-top: 0.2rem;
}

.formation-flex {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.amiea-logo {
  width: 100px;
  margin-right: 1rem;
}

.temoignages-flex {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

blockquote {
  background: #f7c6d9;
  color: #725d4c;
  border-left: 6px solid #725d4c;
  padding: 1rem;
  border-radius: 8px;
  font-style: italic;
  margin: 0;
  flex: 1 1 200px;
}

blockquote span {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.95rem;
  color: #333;
}

#contact-form {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  margin-top: 1.2rem;
}

#contact-form input,
#contact-form textarea {
  padding: 0.8rem;
  border: 1px solid #725d4c;
  border-radius: 8px;
  font-size: 1.05rem;
  background: #fff;
  box-shadow: 0 2px 8px rgba(184, 0, 92, 0.07);
}

#contact-form textarea#message {
  min-height: 140px;
  line-height: 1.5;
  resize: vertical;
}

#contact-form button {
  background: linear-gradient(90deg, #725d4c 60%, #d9006c 100%);
  color: #fff;
  border: none;
  padding: 0.8rem 1.7rem;
  /* align with .cta */
  border-radius: 32px;
  cursor: pointer;
  font-size: 1.1rem;
  /* align with .cta */
  font-weight: bold;
  box-shadow: 0 4px 16px rgba(184, 0, 92, 0.12);
  transition: background 0.2s, box-shadow 0.2s;
}

#contact-form button:hover {
  background: linear-gradient(90deg, #725d4c 60%, #725d4c 100%);
  box-shadow: 0 8px 32px rgba(184, 0, 92, 0.18);
}

/* Center CTAs consistently */
.header-content .cta {
  display: block;
  width: fit-content;
  margin: 1rem auto;
}

/* Desktop: keep the first header CTA aligned left */
@media (min-width: 901px) {
  .header-content .cta {
    display: inline-block;
    margin-left: 0;
    margin-right: 0;
  }
}

.contact-instagram {
  /* center only the button visually */
  text-align: center;
}

.contact-instagram .cta {
  display: inline-flex;
  /* keep icon/text alignment */
  justify-content: center;
  margin-top: 1rem;
}

#contact-form button {
  display: block;
  width: fit-content;
  margin: 0.8rem auto 0;
}

#instagram {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  color: #725d4c;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
}

.icon {
  width: 24px;
  height: 24px;
}

/* removed duplicate footer-flex block (overridden below) */

/* Footer: center all content */
.footer-flex {
  display: flex;
  justify-content: center; /* center items horizontally */
  align-items: center;
  flex-direction: column; /* stack vertically for consistent centering */
  flex-wrap: wrap;
  text-align: center; /* center text inside */
  background: linear-gradient(90deg, rgba(247, 198, 217, 0.85) 60%, rgba(255, 248, 246, 0.7) 100%);
  color: #725d4c;
  padding: 2rem 1.2rem;
  border-top-left-radius: 60px;
  border-top-right-radius: 60px;
  box-shadow: 0 -8px 32px rgba(184, 0, 92, 0.10);
}

.footer-flex a {
  color: #725d4c;
  text-decoration: none;
  margin: 0 0.7rem;
  font-weight: bold;
  font-size: 1.08rem;
  transition: color 0.2s;
}

.footer-flex a:hover {
  text-decoration: underline;
  color: #725d4c;
}

@media (max-width: 900px) {
  main {
    padding: 1rem 0.2rem;
  }

  .about-flex,
  .formation-flex,
  .valeurs-flex,
  .temoignages-flex {
    flex-direction: column;
    gap: 1rem;
    align-items: stretch;
  }

  .header-bg {
    flex-direction: column;
    text-align: center;
  }

  .portrait {
    margin: 0 0 1rem 0;
    width: 140px;
    height: 190px; /* rectangular on mobile too */
    border-radius: 18px;
  }

  .footer-flex {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-flex a {
    margin: 0.5rem 0;
    display: inline-block;
  }
}

/* Pricing */
#tarifs h3 {
  color: #725d4c;
  margin-bottom: 0.2rem;
  margin-top: 0.2rem;
}

.tarif-subtitle {
  margin: 0 0 0.5rem 0;
  color: #725d4c;
  font-size: 0.95rem;
}

.tarif-note {
  margin: 0.3rem 0;
  color: #725d4c;
  font-size: 0.95rem;
}

.tarifs-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 1.5rem;
}

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

.tarif-category {
  background: #f7e0ec;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(184, 0, 92, 0.05);
  padding: 1rem;
}

.tarif-list {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 0 0;
  text-align: left;
}

.tarif-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0.45rem 0.2rem;
  border-bottom: 1px dashed rgba(184, 0, 92, 0.25);
}

.tarif-item:last-child {
  border-bottom: none;
}

.tarif-item .price {
  color: #725d4c;
  font-weight: bold;
}

.tarif-item small.muted {
  color: #725d4c;
  font-weight: normal;
}

.tarif-cta {
  text-align: center;
  margin-top: 1.2rem;
}

/* Accessibility: screen-reader-only */
.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.tarif-info {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  background: #fff8f6;
  border-left: 4px solid #725d4c;
  border-radius: 10px;
  padding: 0.8rem 1rem;
  margin-top: 1rem;
  margin-bottom: 1rem;
  box-shadow: 0 2px 8px rgba(184, 0, 92, 0.05);
}

.tarif-info i {
  color: #725d4c;
  margin-top: 0.1rem;
}

.tarif-info p {
  margin: 0;
  color: #725d4c;
  font-size: 0.9rem;
  text-align: left;
}

/* Taupe/Beige theme overrides */
:root {
  --color-primary: #6E5A4A;
  /* deep taupe */
  --color-primary-2: #8A6F5A;
  /* warm taupe */
  --color-text: #2E2A27;
  /* near-black brown */
  --color-bg-1: #F2E9DF;
  /* light beige */
  --color-bg-2: #E7DBCE;
  /* soft beige */
  --color-card: #F8F2EC;
  /* off-white card */
  --color-panel: #EFE6DD;
  /* panel background */
  --color-border: #8C6F62;
  /* border taupe */
  --color-accent: #CDB9A7;
  /* accent */
}

/* Base */
body {
  color: var(--color-text);
  background:
    linear-gradient(120deg, rgba(242, 233, 223, 0.78) 60%, rgba(231, 219, 206, 0.85) 100%),
    linear-gradient(300deg, rgba(242, 233, 223, 0.5) 60%, rgba(205, 185, 167, 0.55) 100%),
    url('../public/images/fond.jpeg') center/cover no-repeat fixed;
}

body::before {
  filter: blur(8px) brightness(1.03);
}

.header-bg {
  background: linear-gradient(90deg, rgba(231, 219, 206, 0.9) 60%, rgba(248, 242, 236, 0.8) 100%);
  box-shadow: 0 4px 16px rgba(94, 71, 62, 0.12);
}

h1 {
  color: var(--color-primary);
  text-shadow: 0 2px 8px rgba(94, 71, 62, 0.10);
}

.subtitle {
  color: var(--color-text);
}

/* Cards and panels */
.card {
  background: var(--color-card);
  box-shadow: 0 4px 16px rgba(94, 71, 62, 0.08);
}

.valeur {
  background: #E9DED3;
  box-shadow: 0 2px 8px rgba(94, 71, 62, 0.05);
}

.valeur h3 {
  color: var(--color-primary);
}

blockquote {
  background: #E7DBCE;
  color: var(--color-primary);
  border-left-color: var(--color-primary);
}

/* CTAs & buttons */
.cta {
  background: linear-gradient(90deg, var(--color-primary) 60%, var(--color-primary-2) 100%);
  box-shadow: 0 4px 16px rgba(94, 71, 62, 0.18);
  color: #ffffff;
}

.cta:hover {
  background: linear-gradient(90deg, var(--color-primary-2) 60%, var(--color-primary) 100%);
  box-shadow: 0 8px 32px rgba(94, 71, 62, 0.25);
}

#contact-form button {
  background: linear-gradient(90deg, var(--color-primary) 60%, var(--color-primary-2) 100%);
  box-shadow: 0 4px 16px rgba(94, 71, 62, 0.18);
  color: #ffffff;
}

#contact-form button:hover {
  background: linear-gradient(90deg, var(--color-primary-2) 60%, var(--color-primary) 100%);
  box-shadow: 0 8px 32px rgba(94, 71, 62, 0.25);
}

.loader {
  border-color: var(--color-primary);
  border-top-color: #fff;
}

/* Inputs */
#contact-form input,
#contact-form textarea {
  border-color: var(--color-border);
  box-shadow: 0 2px 8px rgba(94, 71, 62, 0.07);
}

/* Navigation */
.menu-icon {
  background: rgba(248, 242, 236, 0.95);
  box-shadow: 0 4px 16px rgba(94, 71, 62, 0.13);
}

.menu-icon span {
  background: linear-gradient(90deg, var(--color-primary) 60%, var(--color-primary-2) 100%);
}

.menu-list {
  background: rgba(248, 242, 236, 0.98);
  box-shadow: 0 4px 16px rgba(94, 71, 62, 0.13);
}

.menu-list a {
  color: var(--color-primary);
}

.menu-list a:hover {
  background: #E9DED3;
  color: var(--color-primary-2);
}

/* Footer */
.footer-flex {
  background: linear-gradient(90deg, rgba(231, 219, 206, 0.9) 60%, rgba(248, 242, 236, 0.8) 100%);
  color: var(--color-primary);
  box-shadow: 0 -8px 32px rgba(94, 71, 62, 0.10);
  
}

.footer-flex a {
  color: var(--color-primary);
}

.footer-flex a:hover {
  color: var(--color-primary-2);
}

/* Sections contact */
.contact-instagram,
.contact-formulaire {
  background: var(--color-panel);
  box-shadow: 0 2px 8px rgba(94, 71, 62, 0.05);
}

.contact-instagram h3,
.contact-formulaire h3 {
  color: var(--color-primary);
}

.contact-instagram .cta i.fa-instagram,
.contact-instagram .cta span {
  color: #fff;
}

/* Tarifs */
#tarifs h3 {
  color: var(--color-primary);
}

.tarif-category {
  background: var(--color-panel);
  box-shadow: 0 2px 8px rgba(94, 71, 62, 0.05);
}

.tarif-item {
  border-bottom: 1px dashed rgba(140, 111, 98, 0.35);
}

.tarif-item .price {
  color: var(--color-primary);
}

.tarif-info {
  background: var(--color-panel);
  border-left-color: var(--color-primary);
  box-shadow: 0 2px 8px rgba(94, 71, 62, 0.05);
}

.tarif-info i {
  color: var(--color-primary);
}

/* Instagram link color */
#instagram {
  color: var(--color-primary);
}

/* Privacy note */
.form-privacy {
  color: #5a4a42;
  background: var(--color-panel);
  border-left-color: var(--color-primary);
  box-shadow: 0 2px 8px rgba(94, 71, 62, 0.05);
}

.form-privacy i {
  color: var(--color-primary) !important;
}

/* Utilities for themed links and feedback */
.link-accent {
  color: var(--color-primary);
  font-weight: 600;
}

.link-accent:hover {
  color: var(--color-primary-2);
}

.text-success {
  color: #0f7a4e;
}

.text-error {
  color: #cb0018;
}

.form-success i {
  color: #0f7a4e;
}

.form-error i {
  color: #cb0018;
}

/* Cookie banner (RGPD/GDPR) */
.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 3000;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  background: var(--color-card);
  border: 1px solid rgba(140, 111, 98, 0.35);
  border-left: 6px solid var(--color-primary);
  box-shadow: 0 8px 32px rgba(94, 71, 62, 0.16);
  border-radius: 14px;
  padding: 0.9rem 1rem;
}

.cookie-banner .cookie-text {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--color-text);
}

.cookie-banner .cookie-text i {
  color: var(--color-primary);
}

.cookie-banner .cookie-actions {
  margin-left: auto;
  display: flex;
  gap: 0.6rem;
}

.cookie-banner .btn-reject {
  background: transparent;
  color: var(--color-primary);
  border: 1px solid rgba(140, 111, 98, 0.5);
  padding: 0.6rem 1rem;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
}

.cookie-banner .btn-reject:hover {
  background: rgba(140, 111, 98, 0.08);
}

.cookie-banner .btn-accept.cta {
  padding: 0.6rem 1.2rem;
}

.cookie-banner .btn-customize {
  background: transparent;
  color: var(--color-primary);
  border: 1px dashed rgba(140,111,98,0.5);
  padding: 0.6rem 1rem;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
}
.cookie-banner .btn-customize:hover { background: rgba(140,111,98,0.08); }

/* Disable form until consent */
.contact-formulaire {
  position: relative;
}

.contact-formulaire.blocked form {
  filter: grayscale(0.7) opacity(0.55);
  pointer-events: none;
}

.form-consent-notice {
  display: none;
  align-items: center;
  gap: 0.6rem;
  background: var(--color-panel);
  border: 1px dashed rgba(140, 111, 98, 0.6);
  border-left: 6px solid var(--color-primary);
  color: var(--color-text);
  padding: 0.7rem 0.9rem;
  border-radius: 12px;
  margin-bottom: 0.8rem;
}

.form-consent-notice i {
  color: var(--color-primary);
}

/* Center reCAPTCHA */
#contact-form .recaptcha-wrap {
  display: flex;
  justify-content: center;
  margin: 1rem 0;
}

/* Center form feedback messages */
#contact-form #form-feedback {
  display: flex;
  /* déjà défini côté JS, renforcement ici */
  justify-content: center;
  /* centre horizontalement l’icône + le texte */
  align-items: center;
  gap: 0.5rem;
  text-align: center;
  /* centre le texte multi-ligne */
  margin-top: 0.8rem;
  width: 100%;
}

/* Loader container */
#contact-form #form-loader {
  display: none;
  /* sera géré par JS */
  margin-top: 1rem;
  text-align: center;
}

/* Align Instagram CTA content without inline styles */
.contact-instagram .cta {
  align-items: center;
  gap: 0.5rem;
}

/* Push accept button to the right in consent notice */
.form-consent-notice .btn-accept-cookies {
  margin-left: auto;
}

/* Form privacy icon spacing */
/* Headings wrapping and legal pages adjustments */
h1,
h2,
h3 {
  overflow-wrap: anywhere;
  word-wrap: break-word;
  hyphens: auto;
}

.legal-page h1 {
  font-size: 2rem;
  line-height: 1.2;
  letter-spacing: 1px;
  text-align: center;
}

@media (max-width: 600px) {
  .legal-page h1 {
    font-size: 1.7rem;
    letter-spacing: 0.5px;
  }
}
.form-privacy i {
  margin-right: 0.5em;
}

/* Cookie preferences modal */
.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.35);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 4000;
  padding: 1rem;
}
.cookie-modal {
  background: var(--color-card);
  color: var(--color-text);
  width: 100%;
  max-width: 640px;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.2);
  border: 1px solid rgba(140,111,98,0.35);
  outline: none;
}
.cookie-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.2rem;
  border-bottom: 1px solid rgba(140,111,98,0.25);
}
.cookie-modal-header h3 { margin: 0; color: var(--color-primary); }
.cookie-modal-header i { color: var(--color-primary); margin-right: .4rem; }
.cookie-modal-close {
  background: transparent;
  border: none;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  color: var(--color-primary);
}
.cookie-modal-body {
  padding: 1rem 1.2rem;
}
.cookie-toggle { background: var(--color-panel); border-radius: 12px; padding: .8rem 1rem; margin: .8rem 0; border: 1px solid rgba(140,111,98,.25); }
.cookie-toggle label { display: flex; align-items: center; gap: .6rem; font-weight: 600; }
.cookie-toggle small { display: block; margin-top: .4rem; color: #5a4a42; }
.cookie-modal-footer { display: flex; gap: .6rem; justify-content: flex-end; padding: 1rem 1.2rem; border-top: 1px solid rgba(140,111,98,0.25); }
.cookie-modal-footer .btn-reject-all { background: transparent; color: var(--color-primary); border: 1px solid rgba(140,111,98,0.5); padding: .6rem 1rem; border-radius: 999px; font-weight: 600; cursor: pointer; }
.cookie-modal-footer .btn-reject-all:hover { background: rgba(140,111,98,.08); }
.cookie-modal-footer .btn-accept-all.cta { padding: .6rem 1.2rem; }
.cookie-modal-footer .btn-save.cta { padding: .6rem 1.2rem; background: linear-gradient(90deg, var(--color-primary-2) 60%, var(--color-primary) 100%); }

/* Mobile adjustments for banner and modal */
@media (max-width: 600px) {
  .cookie-banner {
    left: 8px;
    right: 8px;
    bottom: calc(8px + env(safe-area-inset-bottom));
    padding: 0.8rem 0.9rem;
    gap: 0.6rem;
    flex-direction: column;
    align-items: stretch;
  }
  .cookie-banner .cookie-text {
    align-items: flex-start;
  }
  .cookie-banner .cookie-actions {
    margin-left: 0;
    flex-wrap: wrap;
    justify-content: stretch;
    gap: 0.5rem;
  }
  .cookie-banner .cookie-actions button {
    flex: 1 1 48%;
    min-height: 44px; /* touch target */
  }
  .cookie-banner .btn-accept.cta {
    flex-basis: 100%;
  }

  .cookie-modal-overlay {
    padding: 0.5rem;
    padding-bottom: calc(0.5rem + env(safe-area-inset-bottom));
  }
  .cookie-modal {
    max-width: 100%;
    max-height: calc(100vh - env(safe-area-inset-bottom) - 1rem);
    width: 100%;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
  }
  .cookie-modal-header {
    position: sticky;
    top: 0;
    background: var(--color-card);
    z-index: 1;
  }
  .cookie-modal-body {
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    flex: 1 1 auto;
  }
  .cookie-modal-footer {
    position: sticky;
    bottom: 0;
    background: var(--color-card);
    gap: 0.5rem;
    flex-wrap: wrap;
  }
  .cookie-modal-footer .btn-reject-all,
  .cookie-modal-footer .btn-accept-all.cta,
  .cookie-modal-footer .btn-save.cta {
    width: 100%;
    min-height: 44px;
  }
}