:root {
  /* Palette alignée sur Maxime.R Photographie */
  --bg: #f6f6f6; /* gris clair premium, visible sans être lourd */
  --bg-card: #ffffff;         /* cartes / blocs blancs */
  --accent: #ad8a31;          /* or principal */
  --accent-soft: rgba(173, 138, 49, 0.12);  /* or très léger pour fonds/hover */
  --text-main: #0d0d0d;       /* texte principal (ink) */
  --text-muted: #6f6f6f;      /* texte secondaire (muted) */
  --border-soft: #eeeeee;     /* traits légers */
  --bg-green: #fafafa;        /* ancien bg bleu → fond neutre clair */
  --radius-lg: 13px;
  --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.08); /* même type d’ombre que l’autre site */
}


*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  background: #ffffff;
  color: var(--text-main);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 60px;
}

/* UTILITIES */

.container {
  width: min(1210px, 100% - 3rem);
  margin-inline: auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.3rem;
  padding: 0.8rem 1.5rem;
  border-radius: 999px;
  border: none;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    background 0.15s,
    color 0.15s;
}

.btn.primary {
  background: var(--accent);
  color: white;
  box-shadow: var(--shadow-soft);
}

.btn.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.18);
}

.btn.ghost {
  background: transparent;
  color: var(--text-main);
  border: 1px solid var(--border-soft);
}

.btn.ghost:hover {
  background: #ffffff;
}

.btn.small {
  padding: 0.5rem 1.1rem;
  font-size: 0.8rem;
}

.btn.small.outline {
  background: #ffffff;
  border: 1px solid var(--accent);
  color: var(--accent);
}

.btn.full-width {
  width: 100%;
}

::selection {
  background: var(--accent-soft);
}

/* REVEAL ANIMATION */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* HEADER */

.site-header {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-soft);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 0.9rem;
  position: relative;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-decoration: none;
  color: var(--text-main);
}

.logo-text {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  text-decoration-color: var(--accent);
}

/* Ancien logo-mark (laissé mais plus utilisé dans le HTML) */
.logo-mark {
  width: 28px;
  height: 28px;
  border-radius: 10px;
  background: radial-gradient(circle at 20% 0, #ffffff 0, #a9bdf5 40%, #3452c8 100%);
  animation: logoPulse 3s ease-in-out infinite;
}

@keyframes logoPulse {

  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(63, 111, 216, 0.4);
  }

  50% {
    transform: scale(1.06);
    box-shadow: 0 0 0 10px rgba(63, 111, 216, 0);
  }
}

.main-nav {
  display: flex;
  gap: 1.5rem;
  font-size: 0.9rem;
}

.main-nav a {
  text-decoration: none;
  color: var(--text-muted);
  position: relative;
  padding-bottom: 0.1rem;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.35rem;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.18s ease;
}

.main-nav a:hover {
  color: var(--text-main);
}

.main-nav a:hover::after {
  width: 100%;
}

/* Header CTA */

.header-cta {
  border-radius: 999px;
  border: 1px solid var(--accent);
  padding: 0.5rem 1.1rem;
  background: var(--accent-soft);
  font-size: 0.8rem;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, transform 0.15s, color 0.15s;
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
}

.header-cta:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #ffffff;
  transform: translateY(-1px);
}

/* Burger */

.nav-toggle {
  display: none;
  width: 40px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid var(--border-soft);
  background: #ffffff;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex-direction: column;
  padding: 4px 8px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: #111827;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* HERO */

.hero {
  padding-block: 3.5rem 2.5rem;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.3fr);
  gap: 2.5rem;
  align-items: center;
}

.hero-kicker {
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.6rem;
}

.hero-text h1 {
  font-size: clamp(2rem, 3vw + 1.2rem, 3.3rem);
  line-height: 1.1;
  margin: 0 0 0.9rem;
  font-size:45px;
}

.hero-subtitle {
  color: var(--text-muted);
  font-size: 0.95rem;
  max-width: 30rem;
  margin-bottom: 1.4rem;
}

.hero-actions {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
}

.hero-image img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  display: block;
  transform-origin: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hero-image img:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.22);
}

/* FEATURED / PROJETS */

.featured {
  padding-block: 1.5rem 2.5rem;
}

.section-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.8rem;
  margin-bottom: 1.8rem;
}

.section-header h2 {
  margin: 0;
  font-size: 1.2rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.section-subtitle {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  max-width: 520px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  border: 1px solid transparent;
}

.card-link-wrapper {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
  border-color: rgba(173, 138, 49, 0.4);  /* or */
}

.card-image img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  display: block;
}

.card-body {
  padding: 1rem 1.1rem 1.1rem;
  display: flex;
  flex-direction: column;
  height: 100%;
  gap: 0.4rem;
}

.card-tag {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin: 0 0 0.3rem;
}

.card h3 {
  font-size: 0.95rem;
  margin: 0 0 0.4rem;
}

.card-meta {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin: 0.1rem 0 0.8rem;
  line-height: 1.5;
}

/* Bouton "Voir le projet" dans la carte */
.card-link {
  margin-top: auto;
  align-self: center;
}

/* ABOUT */

.about-me {
  padding-block: 3rem 3.2rem;
  background: var(--bg);
}

.about-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 2.2rem;
}

.about-header h2 {
  font-size: 1.4rem;
  margin: 0 0 0.4rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.about-header p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1.35fr);
  gap: 2.4rem;
  align-items: center;
}

.about-photo img {
  width: 100%;
  border-radius: 26px;
  box-shadow: var(--shadow-soft);
  object-fit: cover;
}

.about-content {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.about-badge {
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0;
}

.about-content h3 {
  margin: 0;
  font-size: 1.4rem;
}

.about-text {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-main);
  line-height: 1.7;
}

/* Carte d'infos */

.about-info-card {
  margin-top: 0.6rem;
  background: #ffffff;
  border-radius: 20px;
  padding: 1.4rem 1.6rem;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.about-info-row {
  margin: 0;
}

.about-info-row + .about-info-row {
  border-top: 1px solid var(--border-soft);
  padding-top: 0.8rem;
}

.about-info-label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: 0.2rem;
}

.about-info-value {
  font-size: 0.9rem;
  font-weight: 500;
}

/* Stats chiffres clés */

.about-stats {
  margin-top: 1.4rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.about-stat {
  background: var(--bg-card);
  border-radius: 16px;
  padding: 1rem 1.1rem;
  box-shadow: var(--shadow-soft);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.about-stat-number {
  display: block;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 0.3rem;
}

.about-stat-label {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* Responsive about */

@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .about-stats {
    grid-template-columns: 1fr;
  }
}

/* CTA SECTION */

.cta-section {
  padding-block: 2.5rem 3rem;
}

.cta-inner {
  border-radius: 22px;
  padding: 1.8rem 2.2rem;
  background: linear-gradient(135deg, #f5eedb, #ffffff);  /* dégradé chaud or */
  box-shadow: var(--shadow-soft);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.cta-inner h2 {
  margin: 0 0 0.4rem;
  font-size: 1.3rem;
}

.cta-inner p {
  margin: 0;
  color: var(--text-muted);
}

/* CONTACT – SIMPLIFIÉ */

.contact-section {
  padding-block: 2.8rem 3.4rem;
  background: var(--bg);
  color: var(--text-main);
}

.contact-header {
  max-width: 640px;
  margin: 0 auto 2.2rem;
  text-align: center;
}

.contact-kicker {
  margin: 0 0 0.3rem;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
}

.contact-header h2 {
  margin: 0 0 0.5rem;
  font-size: 1.4rem;
}

.contact-intro {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.2rem;
  align-items: stretch;
}

.contact-panel {
  background: #ffffff;
  border-radius: 22px;
  padding: 1.7rem 1.9rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border-soft);
}

.contact-panel-title {
  margin: 0 0 0.7rem;
  font-size: 0.95rem;
  font-weight: 600;
}

/* Infos */

.contact-panel-info {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

/* Tags rapides (photo, graphisme, réseaux) */

.contact-tags {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.contact-tags li {
  font-size: 0.8rem;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  background: var(--accent-soft);
  border: 1px solid #e5e5e5;
}

/* Meta infos (lieu, dispo, réponse) */

.contact-meta {
  display: grid;
  gap: 0.7rem;
  font-size: 0.85rem;
}

.contact-meta-item {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.contact-meta-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: var(--text-muted);
}

.contact-meta-value {
  font-weight: 500;
}

/* Contact direct bloc */

.contact-direct {
  padding-top: 0.9rem;
  border-top: 1px solid var(--border-soft);
  font-size: 0.86rem;
}

.contact-direct-label {
  margin: 0 0 0.35rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}

.contact-direct-mail {
  display: inline-block;
  margin-bottom: 0.3rem;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-main);
}

.contact-direct-mail:hover {
  text-decoration: underline;
  text-decoration-color: var(--accent);
}

.contact-direct-note {
  margin: 0.3rem 0 0;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Formulaire */

.contact-panel-form .form-row {
  margin-bottom: 1.1rem;
}

.form-row label {
  display: block;
  font-size: 0.78rem;
  margin-bottom: 0.3rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.form-row input,
.form-row textarea {
  width: 100%;
  border-radius: 0;
  border: none;
  border-bottom: 1px solid var(--border-soft);
  background: transparent;
  color: var(--text-main);
  padding: 0.45rem 0.1rem;
  font-family: inherit;
  font-size: 0.9rem;
}

.form-row textarea {
  border-radius: 10px;
  border: 1px solid var(--border-soft);
  padding: 0.7rem 0.8rem;
  min-height: 130px;
  resize: vertical;
}

.form-row input::placeholder,
.form-row textarea::placeholder {
  color: #9ca3af;
}

.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(63, 111, 216, 0.08);
}

.form-row select {
  width: 100%;
  border-radius: 0;
  border: none;
  border-bottom: 1px solid var(--border-soft);
  background: transparent;
  color: var(--text-main);
  padding: 0.45rem 0.1rem;
  font-family: inherit;
  font-size: 0.9rem;
  cursor: pointer;
}

.form-row select:focus {
  outline: none;
  border-color: var(--accent);
}


.contact-note {
  margin: 0 0 0.8rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* RESPONSIVE */

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-image {
    order: -1;
  }

  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-grid,
  .project-grid,
  .project-meta-grid {
    grid-template-columns: 1fr;
  }

  .cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }

  .footer-main {
    grid-template-columns: 1.3fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {

  /* Burger visible */
  .nav-toggle {
    display: flex;
  }

  .main-nav {
    position: absolute;
    right: 1.5rem;
    top: 3.4rem;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.18);
    padding: 0.8rem 1rem;
    flex-direction: column;
    min-width: 190px;
    display: none;
    z-index: 120;
  }

  .main-nav a {
    padding-block: 0.2rem;
  }

  .site-header.nav-open .main-nav {
    display: flex;
  }

  .site-header.nav-open .nav-toggle span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .site-header.nav-open .nav-toggle span:nth-child(2) {
    opacity: 0;
  }

  .site-header.nav-open .nav-toggle span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .card-grid {
    grid-template-columns: 1fr 1fr;
  }

  .project-meta-grid,
  .project-grid {
    grid-template-columns: 1fr;
  }

  .cta-inner {
    align-items: flex-start;
  }
  
}

@media (max-width: 600px) {
  .card-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-block: 2.2rem 1.5rem;
  }

  .cta-inner {
    padding: 1.6rem 1.7rem;
  }

  .footer-main {
    grid-template-columns: 1fr;
  }

  .footer-brand {
    max-width: none;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}



/* FOOTER – NOUVEAU CLEAN */

.site-footer {
  background: var(--accent-soft);
  color: var(--text-main);
  padding-top: 1.8rem;
  font-size: 0.85rem;
  position: relative;
  border-top: 1px solid var(--border-soft);
}

/* Ligne du haut : logo / nav / copyright */

.footer-top {
  padding-bottom: 0.8rem;
}

.footer-top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

/* Logo footer = même style que header */

.footer-logo {
  text-decoration: none;
  color: var(--text-main);
}

.footer-logo .logo-text {
  color: var(--text-main);
}

/* Nav principale du footer */

.footer-nav-main {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  font-size: 0.86rem;
}

.footer-nav-main a {
  text-decoration: none;
  color: var(--text-main);
  opacity: 0.9;
  transition: color 0.15s ease, opacity 0.15s ease;
}

.footer-nav-main a:hover {
  opacity: 1;
  color: var(--accent);   /* or au survol */
}

/* Copyright */

.footer-copy {
  margin: 0;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Ligne du milieu : tagline */

.footer-middle {
  padding-block: 0.6rem 0.4rem;
  text-align: center;
}

.footer-tagline {
  margin: 0;
  font-size: 0.83rem;
  color: var(--text-main);
}

/* Bas de footer : petits liens centrés */

.footer-bottom {
  padding-bottom: 1.4rem;
  border-top: none;
}

.footer-bottom-inner {
  display: flex;
  justify-content: center;
}

.footer-bottom-links {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.footer-bottom-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.15s ease;
}

.footer-bottom-links a:hover {
  color: var(--accent);
  text-decoration: underline;
}

/* Bouton retour en haut */

.back-to-top {
  position: fixed;
  right: 1.6rem;
  bottom: 1.6rem;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 2px solid #ffffff33;
  background: var(--accent);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    background 0.15s ease,
    border-color 0.15s ease;
  z-index: 120;
}

.back-to-top:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
  background: #8b6c25;   /* or plus foncé */
  border-color: #ffffff55;
}

/* Responsive footer */

@media (max-width: 900px) {
  .footer-top-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-top-inner .footer-copy {
    margin-top: 0.3rem;
  }
}

@media (max-width: 600px) {

  /* FOOTER global : moins haut, plus clean */
  .site-footer{
    padding-top: 1.1rem;
  }

  /* -------- LIGNE 1 : logo + copyright -------- */
  .footer-top{
    padding-bottom: 0.6rem;
  }

  .footer-top-inner{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
  }

  .footer-top-inner .footer-logo{
    font-size: 0.95rem;
  }

  .footer-top-inner .footer-copy{
    margin: 0;
    font-size: 0.72rem;
    color: var(--text-muted);
    white-space: nowrap;
  }

  /* -------- LIGNE 2 : nav centrée -------- */
  .footer-nav-main{
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.7rem 1.1rem;
    margin-top: 0.7rem;
    padding-top: 0.7rem;
    border-top: 1px solid rgba(0,0,0,0.06);
  }

  .footer-nav-main a{
    font-size: 0.85rem;
  }

  /* -------- LIGNE 3 : tagline + liens légaux -------- */
  .footer-middle{
    padding: 0.9rem 0 0.4rem;
    text-align: center;
  }

  .footer-tagline{
    font-size: 0.82rem;
    line-height: 1.35;
    color: var(--text-main);
    opacity: 0.9;
    margin: 0;
  }

  .footer-bottom{
    padding: 0.4rem 0 1.1rem;
  }

  .footer-bottom-links{
    justify-content: center;
    width: 100%;
    flex-wrap: wrap;
    gap: 0.35rem 0.6rem;
    font-size: 0.78rem;
    color: var(--text-muted);
  }

  .footer-bottom-links a{
    color: var(--text-muted);
  }

  /* Bonus : le bouton ↑ gêne sur mobile → plus petit */
  .back-to-top{
    width: 40px;
    height: 40px;
    right: 1rem;
    bottom: 1rem;
  }
}



.select-custom {
  position: relative;
}

.select-trigger {
  width: 100%;
  text-align: left;
  border: none;
  border-bottom: 1px solid var(--border-soft);
  padding: 0.45rem 0.1rem;
  background: transparent;
  font-family: inherit;
  font-size: 0.9rem;
  cursor: pointer;
}

.select-options {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: #fff;
  border-radius: 10px;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border-soft);
  margin-top: 6px;
  display: none;
  z-index: 50;
}

.select-options div {
  padding: 0.45rem 0.8rem;
  font-size: 0.9rem;
  cursor: pointer;
}

.select-options div:hover {
  background: var(--accent-soft);   /* hover or */
  color: var(--accent);
}

/* quand ouvert */
.select-custom[data-open="true"] .select-options {
  display: block;
}






/* FIX iOS : bouton header bleu */
.header-cta {
  color: var(--text-main) !important;
  -webkit-text-fill-color: var(--text-main);
}

.header-cta:hover {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff;
}




/* FIX iOS : select bleu */
.form-row select {
  color: var(--text-main);
  -webkit-text-fill-color: var(--text-main);
  appearance: none;
  -webkit-appearance: none;
  background-color: transparent;
}

/* Option sélectionnée */
.form-row select option {
  color: var(--text-main);
}




.form-row {
  position: relative;
}

.form-row select {
  padding-right: 2rem;
}

/*.form-row::after {
  content: "▾";
  position: absolute;
  right: 0.4rem;
  bottom: 0.6rem;
  font-size: 0.7rem;
  color: var(--accent);
  pointer-events: none;
}*/

.select-trigger{
  position: relative;
  padding-right: 2rem; /* laisse de la place à la flèche */
}

.select-trigger::after{
  content: "▾";
  position: absolute;
  right: 0.4rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.7rem;
  color: var(--accent);
  pointer-events: none;
}





.faq-section{
  padding-block: 2.6rem 3.2rem;
  background: var(--bg);
}

.faq-title{
  margin: 0 0 .4rem;
  text-align: center;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: 1.1rem;
}

.faq-intro{
  margin: 0 auto 1.4rem;
  text-align: center;
  max-width: 650px;
  color: var(--text-muted);
  font-size: .92rem;
}

.faq-list{
  margin: 0 auto;
  display: grid;
  gap: .8rem;
}

.faq-list details{
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
  padding: .9rem 1rem;
}

.faq-list summary{
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}

.faq-list summary::-webkit-details-marker{ display:none; }

.faq-list summary::after{
  content:"＋";
  float: right;
  color: var(--accent);
  font-weight: 700;
}

.faq-list details[open] summary::after{
  content:"－";
}

.faq-list details p{
  margin: .7rem 0 0;
  color: var(--text-muted);
  line-height: 1.6;
  font-size: .92rem;
}



.about-me a, .legal-content a, .faq-section a{
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

.about-me a:hover, .legal-content a:hover, .faq-section a:hover{
  opacity: .85;
}
