@import url("https://fonts.googleapis.com/css2?family=Caprasimo&display=swap");

:root {
  --brocante-font: "Caprasimo", "Cooper Black", "Cooper Std Black", Georgia, serif;
  --body-font: Arial, Helvetica, sans-serif;
  --serif-font: Georgia, "Times New Roman", serif;
  --brown: #5b3a24;
  --brown-dark: #24170f;
  --brown-soft: #6f482c;
  --sand: #f4eadc;
  --cream: #fffaf2;
  --gold: #c99a50;
  --gold-light: #f3d69d;
  --green: #586b44;
  --text: #2e2924;
  --muted: #74695f;
  --white: #ffffff;
  --border: #eadfce;
  --shadow: 0 18px 45px rgba(47, 31, 22, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--body-font);
  color: var(--text);
  background: var(--cream);
  line-height: 1.65;
  overflow-x: hidden;
}

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

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

.skip-link {
  position: absolute;
  left: -999px;
  top: 10px;
  background: var(--gold);
  color: var(--brown-dark);
  padding: 10px 14px;
  z-index: 999;
  border-radius: 10px;
}

.skip-link:focus {
  left: 10px;
}

.topbar {
  background: var(--brown-dark);
  color: var(--cream);
  font-size: 0.95rem;
  padding: 10px 6%;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.topbar a {
  color: var(--gold-light);
  font-weight: 700;
}

.site-header {
  background: rgba(255, 250, 242, 0.98);
  padding: 18px 6%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(234, 223, 206, 0.9);
  box-shadow: 0 8px 24px rgba(47, 31, 22, 0.08);
}

.logo {
  font-family: var(--brocante-font);
  color: var(--brown);
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 700;
  line-height: 1.1;
}

.logo span {
  display: block;
  margin-top: 4px;
  font-family: var(--brocante-font);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--muted);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-weight: 700;
  color: var(--brown-dark);
}

.main-nav a {
  padding: 8px 4px;
  border-bottom: 2px solid transparent;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--brown);
  border-bottom-color: var(--gold);
}

.nav-toggle {
  display: none;
  border: 1px solid var(--border);
  background: var(--white);
  border-radius: 12px;
  padding: 10px 12px;
  font-weight: 700;
  cursor: pointer;
}

.hero {
  min-height: 80vh;
  padding: 92px 6%;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(290px, 0.88fr);
  align-items: center;
  gap: 46px;
  color: var(--white);
  background:
    linear-gradient(110deg, rgba(36, 23, 15, 0.86), rgba(36, 23, 15, 0.45)),
    url("../img/fond-accueil-maison-cheniers.png") center / cover no-repeat;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--gold-light);
  font-size: 0.84rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
}

h1,
h2,
h3 {
  font-family: var(--brocante-font);
  line-height: 1.15;
}

h1 {
  margin: 0 0 24px;
  font-size: clamp(2.45rem, 5vw, 4.7rem);
  text-shadow: 0 3px 20px rgba(0, 0, 0, 0.45);
  overflow-wrap: break-word;
}

.hero p {
  max-width: 720px;
  margin: 0 0 30px;
  font-size: 1.16rem;
  color: #fff1dd;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 22px;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--gold);
  color: var(--brown-dark);
}

.btn-primary:hover {
  background: #dfb36b;
}

.btn-secondary {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.72);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.13);
}

.info-card {
  background: rgba(255, 250, 242, 0.97);
  color: var(--text);
  padding: 30px;
  border-radius: 28px;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.30);
}

.info-card h2 {
  color: var(--brown);
  margin: 0 0 14px;
  font-size: 1.65rem;
}

.info-card p {
  margin: 0 0 14px;
  color: var(--muted);
}

.check-list {
  margin: 18px 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 11px;
}

.check-list li {
  position: relative;
  padding-left: 28px;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 900;
}

.section {
  padding: 78px 6%;
}

.section.alt {
  background: var(--sand);
}

.section-dark {
  padding: 78px 6%;
  background: var(--brown-dark);
  color: var(--cream);
  text-align: center;
}

.section-title {
  max-width: 790px;
  margin-bottom: 38px;
}

.section-title.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-title .eyebrow {
  color: var(--gold);
}

.section h2,
.section-title h2 {
  color: var(--brown-dark);
  margin: 0 0 16px;
  font-size: clamp(2rem, 3vw, 3rem);
}

.section-dark h2 {
  color: var(--cream);
  margin: 0 0 16px;
  font-size: clamp(2rem, 3vw, 3rem);
}

.section-title p,
.section p {
  color: var(--muted);
  font-size: 1.04rem;
}

.section-dark p {
  max-width: 850px;
  color: #eadfce;
  margin-left: auto;
  margin-right: auto;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 26px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.card-icon {
  font-size: 2.1rem;
  margin-bottom: 13px;
}

.card h3 {
  margin: 0 0 10px;
  color: var(--brown);
  font-size: 1.38rem;
}

.card p {
  margin: 0;
}

.services-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 28px;
  align-items: start;
}

.business-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 18px;
  box-shadow: var(--shadow);
}

.business-card img {
  width: 100%;
  border-radius: 20px;
  border: 1px solid rgba(0,0,0,0.08);
}

.business-card p {
  margin: 14px 8px 4px;
  color: var(--muted);
  font-size: 0.96rem;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.step {
  background: var(--cream);
  border: 1px solid var(--border);
  border-left: 5px solid var(--gold);
  border-radius: 22px;
  padding: 24px;
}

.step strong {
  display: block;
  margin-bottom: 8px;
  color: var(--brown);
  font-size: 1.08rem;
}

.about-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 48px;
  align-items: center;
}

.about-visual {
  position: relative;
  min-height: 470px;
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 32px;
  background-color: #e6dac9;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.about-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../img/objets-brocante.jpg") center / cover no-repeat;
  filter: blur(22px);
  transform: scale(1.12);
  opacity: 0.42;
}

.about-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.10), rgba(91,58,36,0.06));
}

.about-visual-duo {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 18px;
  align-items: center;
}

.about-photo-card {
  position: relative;
  z-index: 1;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  border-radius: 26px;
  background: rgba(255, 250, 242, 0.35);
  border: 1px solid rgba(255,255,255,0.42);
  box-shadow: 0 18px 38px rgba(47, 31, 22, 0.18);
  backdrop-filter: blur(4px);
}

.about-photo-card--portrait {
  min-height: 400px;
}

.about-photo-card--landscape {
  min-height: 260px;
}

.about-photo-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 18px;
  display: block;
  box-shadow: 0 12px 28px rgba(47, 31, 22, 0.16);
}


.departments {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 26px;
}

.departments span {
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--cream);
  font-weight: 700;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 26px;
  align-items: start;
}

.hero > *,
.cards-grid > *,
.steps-grid > *,
.about-grid > *,
.contact-grid > *,
.vente-steps > * {
  min-width: 0;
}

.contact-line {
  margin-bottom: 12px;
  color: var(--muted);
}

.contact-line strong {
  color: var(--text);
}

.contact-line a {
  color: var(--brown);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
}



.contact-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}

.contact-link-card {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 70px;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid #d8c8b2;
  background: #fffdf8;
  text-decoration: none;
  color: var(--brown-dark);
  box-shadow: 0 10px 24px rgba(47, 31, 22, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.contact-link-card:hover {
  transform: translateY(-2px);
  border-color: var(--gold);
  box-shadow: 0 14px 32px rgba(47, 31, 22, 0.12);
}

.contact-link-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--brown-dark);
  font-weight: 900;
  font-size: 1.1rem;
}

.contact-link-card strong {
  display: block;
  font-weight: 900;
  color: var(--brown-dark);
}

.contact-link-card small {
  display: block;
  color: var(--muted);
  margin-top: 2px;
  font-size: 0.88rem;
}

.contact-link-card--facebook .contact-link-icon {
  font-family: Arial, sans-serif;
  font-size: 1.35rem;
}

.footer-brand {
  display: grid;
  gap: 10px;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 250, 242, 0.10);
  color: var(--gold-light);
  border: 1px solid rgba(255, 250, 242, 0.18);
  font-weight: 800;
  text-decoration: none;
}

.footer-social a:hover {
  background: rgba(255, 250, 242, 0.18);
}

@media (max-width: 640px) {
  .contact-actions {
    grid-template-columns: 1fr;
  }
}


.form {
  display: grid;
  gap: 14px;
}

.field label {
  display: block;
  margin-bottom: 6px;
  color: var(--brown-dark);
  font-weight: 800;
  font-size: 0.94rem;
}

input,
textarea {
  width: 100%;
  border: 1px solid #d8c8b2;
  background: #fffdf8;
  border-radius: 14px;
  padding: 13px 15px;
  color: var(--text);
  font: inherit;
}

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

.form-note {
  font-size: 0.91rem;
  color: var(--muted);
}

.consent-box {
  padding: 14px 16px;
  border: 1px solid #d8c8b2;
  background: #f7efe3;
  border-radius: 14px;
}

.consent-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  color: var(--text);
  font-size: 0.98rem;
  line-height: 1.5;
}

.consent-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex: 0 0 18px;
}

.contact-submit {
  min-width: 240px;
}

.privacy-note {
  margin: 0;
  padding: 14px 16px;
  border-left: 4px solid var(--gold);
  background: #f7efe3;
  border-radius: 12px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.privacy-note a {
  color: var(--brown);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-footer {
  background: var(--brown-dark);
  color: var(--cream);
  padding: 28px 6%;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--gold-light);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.legal-header {
  background:
    linear-gradient(110deg, rgba(36, 23, 15, 0.96), rgba(91, 58, 36, 0.86)),
    url("../img/vue-aerienne-moulin.jpg") center / cover no-repeat;
  color: var(--cream);
  padding: 58px 6%;
}

.legal-header a {
  color: var(--gold-light);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.legal-header h1 {
  color: var(--cream);
  margin: 22px 0 8px;
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.legal-main {
  max-width: 980px;
  margin: 0 auto;
  padding: 56px 6%;
}

.legal-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: clamp(24px, 4vw, 38px);
  box-shadow: var(--shadow);
}

.legal-card h2 {
  margin: 34px 0 10px;
  color: var(--brown);
  font-size: 1.55rem;
}

.legal-card h2:first-child {
  margin-top: 0;
}

.legal-card p,
.legal-card li {
  color: var(--muted);
}

.legal-card strong {
  color: var(--text);
}

.note {
  background: var(--sand);
  border-left: 5px solid var(--gold);
  padding: 16px 18px;
  border-radius: 16px;
  margin: 0 0 26px;
  color: var(--muted);
}

@media (max-width: 1100px) {
  .services-layout {
    grid-template-columns: 1fr;
  }

  .business-card {
    max-width: 520px;
  }
}

@media (max-width: 980px) {
  .hero,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .cards-grid,
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .main-nav {
    position: absolute;
    left: 6%;
    right: 6%;
    top: calc(100% + 10px);
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    background: var(--cream);
    border: 1px solid var(--border);
    border-radius: 20px;
    box-shadow: var(--shadow);
    max-height: calc(100vh - 130px);
    overflow-y: auto;
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a {
    padding: 10px 12px;
  }

  .nav-toggle {
    display: inline-flex;
  }
}

@media (max-width: 640px) {
  .topbar {
    font-size: 0.86rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .site-header {
    padding: 15px 5%;
    gap: 12px;
  }

  .logo {
    min-width: 0;
    max-width: calc(100% - 92px);
  }

  .nav-toggle {
    flex: 0 0 auto;
  }

  .hero {
    padding: 58px 5%;
    min-height: auto;
  }

  .hero > div,
  .info-card {
    max-width: 100%;
  }

  h1 {
    font-size: clamp(1.85rem, 8.4vw, 2.35rem);
  }

  .hero h1,
  .hero p {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .hero p {
    font-size: 1.04rem;
  }

  .cta-row {
    flex-direction: column;
  }

  .btn,
  .contact-submit {
    width: 100%;
  }

  input,
  textarea {
    font-size: 16px;
  }

  .section,
  .section-dark {
    padding: 58px 5%;
  }

  .cards-grid,
  .steps-grid {
    grid-template-columns: 1fr;
  }

  .about-visual {
    min-height: 360px;
    padding: 18px;
  }

  .about-visual-duo {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .about-photo-card--portrait {
    min-height: 280px;
  }

  .about-photo-card--landscape {
    min-height: 190px;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}


/* Accessibilité : focus clavier visible */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}


/* Section flyer annuel : image facile à remplacer dans assets/img/flyer-annuel.jpg */
.flyer-section {
  background: var(--sand);
}

.flyer-wrapper {
  max-width: 620px;
  margin: 0 auto;
  padding: 14px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 28px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.flyer-wrapper img {
  width: 100%;
  height: auto;
  border-radius: 18px;
  display: block;
}

@media (max-width: 640px) {
  .flyer-wrapper {
    max-width: 100%;
    padding: 10px;
    border-radius: 22px;
  }

  .flyer-wrapper img {
    border-radius: 14px;
  }
}




/* Équilibrage lisibilité : police brocante sur les titres, police lisible sur les textes courants */
.logo,
.logo span,
h1,
h2,
h3,
.eyebrow,
.info-card h2,
.section h2,
.section-title h2,
.section-dark h2,
.legal-header h1,
.main-nav a,
.btn,
.card h3,
.step strong {
  font-family: var(--brocante-font);
}

p,
li,
span,
small,
label,
input,
textarea,
.contact-line,
.form-note,
.privacy-note,
.note,
.topbar,
.info-card p,
.section-title p,
.section p,
.section-dark p,
.card p,
.legal-card p,
.legal-card li,
.footer-inner,
.footer-links a,
.check-list li,
.departments span {
  font-family: var(--body-font);
}

/* Les très gros titres restent plus lisibles avec un interlettrage un peu neutre */
h1,
h2,
h3,
.logo,
.btn,
.main-nav a {
  letter-spacing: 0.005em;
}

/* Texte courant plus confortable */
p,
li,
label,
input,
textarea,
.contact-line,
.form-note,
.privacy-note {
  line-height: 1.75;
}


/* Animations légères - sans bibliothèque externe */
@keyframes fadeUpSoft {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroZoomSoft {
  from {
    background-size: auto, cover;
  }
  to {
    background-size: auto, cover;
  }
}

@keyframes pulseSoft {
  0%, 100% {
    box-shadow: 0 18px 45px rgba(47, 31, 22, 0.12);
  }
  50% {
    box-shadow: 0 22px 55px rgba(47, 31, 22, 0.18);
  }
}

.hero {
  animation: heroZoomSoft 18s ease-in-out infinite alternate;
}

.hero > div,
.info-card {
  animation: fadeUpSoft 0.8s ease both;
}

.info-card {
  animation-delay: 0.15s;
}

.section-title,
.card,
.step,
.about-visual,
.about-grid > div:last-child,
.contact-grid .card,
.flyer-wrapper,
.legal-card {
  animation: fadeUpSoft 0.75s ease both;
}

.card,
.step,
.business-card,
.about-photo-card,
.flyer-wrapper,
.contact-grid .card {
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.card:hover,
.step:hover,
.business-card:hover,
.about-photo-card:hover,
.flyer-wrapper:hover,
.contact-grid .card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 58px rgba(47, 31, 22, 0.16);
  border-color: rgba(201, 154, 80, 0.45);
}

.btn {
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.28), transparent);
  transform: translateX(-120%);
  transition: transform 0.45s ease;
}

.btn:hover::after {
  transform: translateX(120%);
}

.logo {
  transition: color 0.25s ease, transform 0.25s ease;
}

.logo:hover {
  color: var(--gold);
  transform: translateY(-1px);
}

.about-visual {
  animation: pulseSoft 5s ease-in-out infinite;
}

/* Respect des utilisateurs sensibles aux animations */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }

  .hero {
    background-size: cover !important;
  }
}


/* Animations renforcées mais légères */
@keyframes fadeScaleSoft {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes floatSoft {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-7px);
  }
}

@keyframes shineSoft {
  0% {
    transform: translateX(-140%) skewX(-18deg);
  }
  100% {
    transform: translateX(140%) skewX(-18deg);
  }
}

@keyframes flyerEntrance {
  from {
    opacity: 0;
    transform: translateY(28px) scale(0.96) rotate(-1deg);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1) rotate(0);
  }
}

.hero h1,
.hero p,
.cta-row {
  animation: fadeScaleSoft 0.9s ease both;
}

.hero p {
  animation-delay: 0.12s;
}

.cta-row {
  animation-delay: 0.22s;
}

.info-card {
  animation: fadeScaleSoft 0.95s ease both;
  animation-delay: 0.28s;
}

.card:nth-child(1) { animation-delay: 0.02s; }
.card:nth-child(2) { animation-delay: 0.08s; }
.card:nth-child(3) { animation-delay: 0.14s; }
.card:nth-child(4) { animation-delay: 0.20s; }
.card:nth-child(5) { animation-delay: 0.26s; }
.card:nth-child(6) { animation-delay: 0.32s; }

.card:hover,
.step:hover {
  transform: translateY(-8px) scale(1.018);
}

.card-icon {
  transition: transform 0.25s ease;
}

.card:hover .card-icon {
  transform: scale(1.16) rotate(-4deg);
}

.about-photo-card {
  transition: transform 0.30s ease, box-shadow 0.30s ease, filter 0.30s ease;
}

.about-photo-card:hover {
  transform: translateY(-7px) scale(1.025);
  filter: saturate(1.08);
}

.about-photo-card--portrait {
  animation: floatSoft 6s ease-in-out infinite;
}

.about-photo-card--landscape {
  animation: floatSoft 6.5s ease-in-out infinite;
  animation-delay: 0.7s;
}

.business-card:hover img,
.flyer-wrapper:hover img {
  transform: scale(1.018);
}

.business-card img,
.flyer-wrapper img {
  transition: transform 0.35s ease, filter 0.35s ease;
}

.flyer-wrapper {
  animation: flyerEntrance 0.9s ease both;
}

.btn {
  box-shadow: 0 10px 24px rgba(47, 31, 22, 0.13);
}

.btn:hover {
  transform: translateY(-4px) scale(1.02);
}

.btn::after {
  animation: none;
}

.btn:hover::after {
  animation: shineSoft 0.75s ease;
}

.main-nav a {
  position: relative;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 4px;
  right: 4px;
  bottom: 2px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.main-nav a:hover::after {
  transform: scaleX(1);
}

.logo:hover {
  transform: translateY(-2px) scale(1.01);
}

.contact-grid .card:hover {
  transform: translateY(-6px);
}

.consent-box,
.privacy-note {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.consent-box:hover,
.privacy-note:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(47, 31, 22, 0.08);
}


/* Sections SEO contenu local */
.seo-info-section .card {
  min-height: 100%;
}

.seo-cards-grid {
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1100px) {
  .seo-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .seo-cards-grid {
    grid-template-columns: 1fr;
  }
}


/* Aération des textes : retours à la ligne maîtrisés */
p br,
.card p br,
.legal-card p br,
.privacy-note br {
  content: "";
}



/* Section confiance : avant/après et avis Google */

.seo-info-section .card-icon {
  color: #f4b400;
  letter-spacing: 2px;
}

.section-subtitle .eyebrow {
  color: var(--gold);
}

.section-subtitle {
  max-width: 790px;
  margin: 30px 0 24px;
}

.section-subtitle h3 {
  margin: 0 0 10px;
  color: var(--brown-dark);
  font-size: clamp(1.7rem, 2.4vw, 2.4rem);
}

.section-subtitle p {
  margin: 0;
  color: var(--muted);
  font-size: 1.04rem;
}

.before-after-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-bottom: 42px;
}

.before-after-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 26px;
  padding: 18px;
  box-shadow: var(--shadow);
}

.before-after-placeholder {
  min-height: 230px;
  border: 2px dashed #d8c8b2;
  border-radius: 20px;
  background: #fffdf8;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  color: var(--muted);
}

.before-after-placeholder span {
  font-weight: 800;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 0.82rem;
}

.before-after-placeholder strong {
  font-family: var(--brocante-font);
  color: var(--brown);
  font-size: 1.35rem;
}

.reviews-title {
  margin-top: 8px;
}


.before-after-grid--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.before-after-card--image {
  position: relative;
  padding: 0;
  overflow: hidden;
}

.before-after-card--image img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 26px;
}

.before-after-label {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(36, 23, 15, 0.82);
  color: var(--cream);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.78rem;
}

@media (max-width: 900px) {
  .before-after-grid {
    grid-template-columns: 1fr;
  }
}



.before-after-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-bottom: 42px;
}

.before-after-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 14px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 26px;
  box-shadow: var(--shadow);
}

.before-after-photo {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  background: #fffdf8;
}

.before-after-photo img {
  display: block;
  width: 100%;
  height: 190px;
  object-fit: cover;
  border-radius: 18px;
}

@media (max-width: 980px) {
  .before-after-gallery {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .before-after-pair {
    grid-template-columns: 1fr;
  }

  .before-after-photo img {
    height: 220px;
  }
}


/* Section débarras jusqu'à la vente */

.vente-section .section-title {
  max-width: 1080px;
}

.vente-section .section-title h2 {
  font-size: clamp(1.95rem, 2.65vw, 2.7rem);
  max-width: 100%;
}

.vente-section .section-title p {
  max-width: 1080px;
}

.vente-section {
  background: linear-gradient(180deg, var(--cream), var(--sand));
}

.vente-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: start;
}


.vente-agent-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  padding: 26px 24px 30px;
}

.vente-agent-card .eyebrow {
  margin-bottom: 0;
}

.vente-agent-card h3 {
  margin: 0;
}

.vente-agent-card__text {
  margin: 0 0 4px;
  color: var(--muted);
}

.vente-agent-card img {
  width: 100%;
  max-width: 280px;
  margin: 8px auto 0;
  border-radius: 18px;
  border: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 10px 28px rgba(47, 31, 22, 0.10);
}

.vente-property-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 18px 18px 22px;
}

.vente-property-card img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  object-position: center bottom;
  border-radius: 18px;
  border: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 10px 28px rgba(47, 31, 22, 0.10);
}

.vente-property-card h3 {
  margin: 0;
  text-align: center;
}

.vente-property-card p {
  text-align: center;
  color: var(--muted);
  line-height: 1.6;
}

.vente-note {
  max-width: 920px;
  margin: 28px auto 0;
  padding: 18px 22px;
  border-left: 5px solid var(--gold);
  background: rgba(255, 250, 242, 0.78);
  border-radius: 18px;
  color: var(--muted);
  box-shadow: 0 12px 30px rgba(47, 31, 22, 0.08);
}

@media (max-width: 900px) {
  .vente-steps {
    grid-template-columns: 1fr;
  }
}
