/*
Theme Name: La Voix des Ani'maux Paramétrable
Theme URI: https://example.com/la-voix-des-animaux
Author: ChatGPT
Description: Thème WordPress sur mesure et facilement paramétrable pour La Voix des Ani'maux : Customizer, blocs/widgets WordPress, formulaire de rendez-vous et identité aquarelle.
Version: 2.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: la-voix-des-animaux
*/

:root {
  --lvda-cream: #fffaf0;
  --lvda-paper: #fffdf7;
  --lvda-ink: #382416;
  --lvda-muted: #755c4d;
  --lvda-green: #2f7c3f;
  --lvda-green-soft: #e4f5e7;
  --lvda-teal: #0f8294;
  --lvda-teal-soft: #dff4f7;
  --lvda-orange: #e97816;
  --lvda-orange-soft: #fff0da;
  --lvda-rose: #c64c5e;
  --lvda-gold: #d99a1a;
  --lvda-border: rgba(217, 154, 26, .32);
  --lvda-shadow: 0 22px 70px rgba(56, 36, 22, .13);
  --lvda-radius: 28px;
  --lvda-max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--lvda-ink);
  background:
    radial-gradient(circle at top left, rgba(46, 124, 63, .13), transparent 34rem),
    radial-gradient(circle at top right, rgba(233, 120, 22, .14), transparent 36rem),
    radial-gradient(circle at bottom left, rgba(15, 130, 148, .13), transparent 36rem),
    var(--lvda-cream);
  font-family: "Nunito", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .36;
  background-image:
    linear-gradient(120deg, rgba(255,255,255,.42), rgba(255,255,255,0)),
    url("data:image/svg+xml,%3Csvg width='180' height='180' viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.12'/%3E%3C/svg%3E");
  z-index: -1;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 1rem;
  z-index: 999;
  padding: .75rem 1rem;
  background: var(--lvda-ink);
  color: #fff;
  border-radius: .75rem;
}
.skip-link:focus { left: 1rem; }

.lvda-container {
  width: min(calc(100% - 2rem), var(--lvda-max));
  margin-inline: auto;
}

.lvda-site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 250, 240, .78);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(217, 154, 26, .18);
}

.admin-bar .lvda-site-header { top: 32px; }

.lvda-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .9rem 0;
}

.lvda-brand {
  display: flex;
  align-items: center;
  gap: .78rem;
  text-decoration: none;
  font-weight: 900;
  letter-spacing: .02em;
}

.lvda-brand-logo {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(217, 154, 26, .42);
  box-shadow: 0 10px 28px rgba(56, 36, 22, .12);
  background: #fff;
}

.lvda-brand-name {
  display: grid;
  line-height: 1.02;
}

.lvda-brand-name strong {
  font-family: "Dancing Script", cursive;
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  color: var(--lvda-orange);
  font-weight: 700;
}

.lvda-brand-name span {
  color: var(--lvda-green);
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .18em;
}

.lvda-nav {
  display: flex;
  align-items: center;
  gap: .35rem;
}

.lvda-nav a {
  padding: .55rem .82rem;
  text-decoration: none;
  border-radius: 999px;
  color: var(--lvda-muted);
  font-weight: 800;
  font-size: .95rem;
}

.lvda-nav a:hover,
.lvda-nav a:focus-visible {
  color: var(--lvda-teal);
  background: rgba(15, 130, 148, .09);
  outline: none;
}

.lvda-menu-toggle { display: none; }

.lvda-button,
.lvda-form button,
.wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  min-height: 3rem;
  padding: .82rem 1.18rem;
  border: 0;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 900;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.lvda-button:hover,
.lvda-form button:hover,
.wp-block-button__link:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(56, 36, 22, .16);
}

.lvda-button-primary,
.lvda-form button,
.wp-block-button__link {
  color: #fff;
  background: linear-gradient(135deg, var(--lvda-orange), var(--lvda-rose));
  box-shadow: 0 12px 32px rgba(233, 120, 22, .22);
}

.lvda-button-secondary {
  color: var(--lvda-teal);
  background: #fff;
  border: 1px solid rgba(15, 130, 148, .22);
}

.lvda-hero {
  position: relative;
  padding: clamp(4.4rem, 8vw, 8.5rem) 0 clamp(3rem, 6vw, 5rem);
}

.lvda-hero::after {
  content: "✦";
  position: absolute;
  right: 8vw;
  top: 8rem;
  color: var(--lvda-gold);
  font-size: 3rem;
  opacity: .55;
}

.lvda-hero-grid {
  display: grid;
  grid-template-columns: 1.03fr .97fr;
  gap: clamp(2rem, 5vw, 4.8rem);
  align-items: center;
}

.lvda-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: var(--lvda-green);
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(47, 124, 63, .17);
  border-radius: 999px;
  padding: .45rem .8rem;
  font-weight: 900;
  box-shadow: 0 10px 30px rgba(56, 36, 22, .06);
}

.lvda-kicker {
  font-family: "Dancing Script", cursive;
  color: var(--lvda-orange);
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  line-height: .95;
  margin: .95rem 0 .3rem;
}

.lvda-hero h1,
.lvda-section-title,
.lvda-page-title {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.02;
}

.lvda-hero h1 {
  font-size: clamp(2.7rem, 7vw, 5.8rem);
  max-width: 10ch;
  margin: .1rem 0 1.1rem;
  color: var(--lvda-teal);
}

.lvda-hero p {
  max-width: 42rem;
  font-size: clamp(1.06rem, 2vw, 1.24rem);
  color: var(--lvda-muted);
}

.lvda-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .85rem;
  margin-top: 1.8rem;
}

.lvda-hero-note {
  margin-top: 1.2rem;
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
  color: var(--lvda-muted);
  font-weight: 800;
  font-size: .92rem;
}

.lvda-hero-note span {
  display: inline-flex;
  align-items: center;
  gap: .34rem;
}

.lvda-hero-visual {
  position: relative;
  min-height: 600px;
}

.lvda-logo-orb {
  position: relative;
  width: min(84%, 455px);
  margin-left: auto;
  padding: clamp(1rem, 2vw, 1.5rem);
  border-radius: 50%;
  background: rgba(255,255,255,.82);
  border: 1px solid rgba(217, 154, 26, .28);
  box-shadow: var(--lvda-shadow);
}

.lvda-logo-orb::before {
  content: "";
  position: absolute;
  inset: -14px;
  border-radius: inherit;
  border: 2px dashed rgba(217, 154, 26, .34);
  animation: lvda-spin 30s linear infinite;
}

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

.lvda-logo-orb img {
  aspect-ratio: 1;
  width: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.lvda-pets-card {
  position: absolute;
  left: 0;
  bottom: 0;
  width: min(58%, 330px);
  border-radius: 34px;
  overflow: hidden;
  border: 9px solid rgba(255,255,255,.82);
  box-shadow: 0 24px 70px rgba(56, 36, 22, .2);
  transform: rotate(-4deg);
}

.lvda-mini-card {
  position: absolute;
  right: 0;
  bottom: 5.4rem;
  max-width: 230px;
  padding: 1rem 1.1rem;
  border-radius: 24px;
  background: rgba(255,255,255,.86);
  box-shadow: var(--lvda-shadow);
  border: 1px solid rgba(15, 130, 148, .18);
  backdrop-filter: blur(12px);
}

.lvda-mini-card strong {
  display: block;
  color: var(--lvda-green);
}

.lvda-section {
  padding: clamp(3.2rem, 6vw, 6.2rem) 0;
}

.lvda-section-soft {
  background: rgba(255,255,255,.38);
  border-block: 1px solid rgba(217, 154, 26, .14);
}

.lvda-section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 2.2rem;
}

.lvda-section-title {
  font-size: clamp(2.3rem, 5vw, 4.1rem);
  margin: 0 0 .65rem;
  color: var(--lvda-teal);
}

.lvda-script-title {
  font-family: "Dancing Script", cursive;
  font-size: clamp(2.3rem, 5vw, 4rem);
  color: var(--lvda-orange);
  line-height: 1;
  margin: 0 0 .35rem;
}

.lvda-section-head p,
.lvda-lead {
  color: var(--lvda-muted);
  font-size: 1.07rem;
}

.lvda-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
}

.lvda-service-card,
.lvda-info-card,
.lvda-step,
.lvda-form-card,
.lvda-page-content {
  position: relative;
  background: rgba(255,255,255,.76);
  border: 1px solid rgba(217, 154, 26, .23);
  border-radius: var(--lvda-radius);
  box-shadow: 0 18px 56px rgba(56, 36, 22, .09);
}

.lvda-service-card {
  padding: 1.55rem;
  overflow: hidden;
}

.lvda-service-card::after {
  content: "";
  position: absolute;
  width: 150px;
  height: 150px;
  right: -55px;
  bottom: -70px;
  border-radius: 50%;
  background: var(--card-soft, var(--lvda-orange-soft));
  z-index: 0;
}

.lvda-service-card > * { position: relative; z-index: 1; }
.lvda-service-icon {
  display: inline-grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 20px;
  background: var(--card-soft, var(--lvda-orange-soft));
  color: var(--card-color, var(--lvda-orange));
  font-size: 1.75rem;
  margin-bottom: .8rem;
}

.lvda-service-card h3,
.lvda-info-card h3,
.lvda-step h3 {
  margin: .25rem 0 .45rem;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.65rem;
  line-height: 1.1;
}

.lvda-service-card p,
.lvda-info-card p,
.lvda-step p { color: var(--lvda-muted); margin-bottom: 0; }

.lvda-two-col {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: center;
}

.lvda-image-frame {
  position: relative;
  border-radius: 36px;
  overflow: hidden;
  border: 10px solid rgba(255,255,255,.75);
  box-shadow: var(--lvda-shadow);
}

.lvda-image-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 0 1px rgba(217, 154, 26, .28);
  border-radius: 26px;
  pointer-events: none;
}

.lvda-info-list {
  display: grid;
  gap: 1rem;
}

.lvda-info-card {
  padding: 1.2rem 1.3rem;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: .9rem;
  align-items: start;
}

.lvda-info-card .mark {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--lvda-teal-soft);
  color: var(--lvda-teal);
  font-weight: 900;
}

.lvda-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  counter-reset: steps;
}

.lvda-step {
  padding: 1.4rem;
  counter-increment: steps;
}

.lvda-step::before {
  content: counter(steps);
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--lvda-orange), var(--lvda-gold));
  color: #fff;
  font-weight: 900;
  margin-bottom: .8rem;
}

.lvda-form-layout {
  display: grid;
  grid-template-columns: .74fr 1.26fr;
  gap: 1.2rem;
  align-items: start;
}

.lvda-form-aside {
  position: sticky;
  top: 110px;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(47, 124, 63, .19);
  border-radius: var(--lvda-radius);
  padding: 1.25rem;
  box-shadow: 0 18px 56px rgba(56,36,22,.08);
}

.lvda-form-aside h3 {
  font-family: "Dancing Script", cursive;
  font-size: 2.5rem;
  color: var(--lvda-green);
  line-height: 1;
  margin: 0 0 .85rem;
}

.lvda-form-aside ul {
  padding-left: 1.1rem;
  margin: .85rem 0 0;
  color: var(--lvda-muted);
}

.lvda-form-card {
  padding: clamp(1.1rem, 2.5vw, 1.9rem);
}

.lvda-alert {
  padding: .9rem 1rem;
  border-radius: 20px;
  margin-bottom: 1rem;
  font-weight: 800;
}

.lvda-alert-success { background: var(--lvda-green-soft); color: #23642f; border: 1px solid rgba(47,124,63,.22); }
.lvda-alert-error { background: #fff0f2; color: #9c3344; border: 1px solid rgba(198,76,94,.24); }

.lvda-form {
  display: grid;
  gap: 1.2rem;
}

.lvda-fieldset {
  margin: 0;
  padding: 1rem;
  border: 1px solid rgba(15, 130, 148, .18);
  border-radius: 24px;
  background: rgba(255,255,255,.54);
}

.lvda-fieldset legend {
  padding: 0 .45rem;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--lvda-teal);
}

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

.lvda-full { grid-column: 1 / -1; }

.lvda-field label,
.lvda-check label,
.lvda-radio-label {
  display: block;
  font-weight: 850;
  color: var(--lvda-ink);
  margin-bottom: .35rem;
}

.lvda-field input,
.lvda-field textarea,
.lvda-field select {
  width: 100%;
  border: 1px solid rgba(56,36,22,.18);
  border-radius: 16px;
  background: #fff;
  min-height: 3rem;
  padding: .75rem .9rem;
  color: var(--lvda-ink);
  font: inherit;
  outline: none;
}

.lvda-field textarea { min-height: 8.5rem; resize: vertical; }

.lvda-field input:focus,
.lvda-field textarea:focus,
.lvda-field select:focus {
  border-color: var(--lvda-teal);
  box-shadow: 0 0 0 4px rgba(15,130,148,.12);
}

.lvda-check-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .65rem .9rem;
}

.lvda-check {
  display: flex;
  align-items: flex-start;
  gap: .55rem;
  padding: .72rem .78rem;
  border-radius: 18px;
  background: rgba(255,255,255,.62);
  border: 1px solid rgba(217,154,26,.18);
}

.lvda-check input {
  width: 1.15rem;
  height: 1.15rem;
  accent-color: var(--lvda-orange);
  margin-top: .24rem;
}

.lvda-inline-options {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  align-items: center;
  padding-top: .25rem;
}

.lvda-small { color: var(--lvda-muted); font-size: .92rem; }

.lvda-footer {
  padding: 3rem 0 1.5rem;
  color: var(--lvda-muted);
  background: rgba(255,255,255,.42);
  border-top: 1px solid rgba(217,154,26,.16);
}

.lvda-footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.2rem;
  align-items: center;
}

.lvda-footer .lvda-brand-name strong { font-size: 2rem; }

.lvda-page-main { padding: 3.5rem 0 5rem; }
.lvda-page-content { padding: clamp(1.2rem, 3vw, 2rem); }
.lvda-page-title { font-size: clamp(2.5rem, 5vw, 4rem); color: var(--lvda-teal); margin: 0 0 1rem; }
.lvda-page-content h2,
.lvda-page-content h3 { font-family: "Cormorant Garamond", Georgia, serif; color: var(--lvda-teal); }
.lvda-page-content a { color: var(--lvda-teal); font-weight: 800; }

@media (max-width: 980px) {
  .lvda-hero-grid,
  .lvda-two-col,
  .lvda-form-layout { grid-template-columns: 1fr; }
  .lvda-hero-visual { min-height: 530px; }
  .lvda-form-aside { position: static; }
  .lvda-card-grid,
  .lvda-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .admin-bar .lvda-site-header { top: 0; }
  .lvda-menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(15,130,148,.18);
    border-radius: 50%;
    background: #fff;
    color: var(--lvda-teal);
    font-size: 1.4rem;
  }
  .lvda-nav {
    position: absolute;
    left: 1rem;
    right: 1rem;
    top: calc(100% + .6rem);
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: .8rem;
    background: rgba(255,255,255,.95);
    border: 1px solid rgba(217,154,26,.22);
    border-radius: 24px;
    box-shadow: var(--lvda-shadow);
  }
  .lvda-nav.is-open { display: flex; }
  .lvda-nav a { width: 100%; }
  .lvda-brand-name span { display: none; }
  .lvda-hero { padding-top: 3.2rem; }
  .lvda-hero-visual { min-height: auto; display: grid; gap: 1rem; }
  .lvda-logo-orb,
  .lvda-pets-card,
  .lvda-mini-card { position: relative; width: 100%; max-width: none; inset: auto; margin: 0; transform: none; }
  .lvda-logo-orb { border-radius: 34px; }
  .lvda-logo-orb::before { display: none; }
  .lvda-logo-orb img { border-radius: 24px; }
  .lvda-card-grid,
  .lvda-steps,
  .lvda-form-grid,
  .lvda-check-grid { grid-template-columns: 1fr; }
  .lvda-kicker { font-size: 3rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
}


/* Paramétrage WordPress natif */
.lvda-nav .lvda-menu-list {
  display: flex;
  align-items: center;
  gap: .35rem;
  padding: 0;
  margin: 0;
  list-style: none;
}
.lvda-nav .lvda-menu-list a { text-decoration: none; }
.lvda-nav-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .78rem 1rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--lvda-orange), var(--lvda-gold));
  color: #fff;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(233, 120, 22, .22);
}
.lvda-hero-text p,
.lvda-section-head p,
.lvda-lead p,
.lvda-form-aside p { margin-top: 0; }
.lvda-module-section { padding-block: clamp(2rem, 4vw, 4rem); }
.lvda-widgets-area {
  display: grid;
  gap: 1rem;
}
.lvda-widget,
.lvda-block-card {
  background: rgba(255, 253, 247, .84);
  border: 1px solid var(--lvda-border);
  border-radius: var(--lvda-radius);
  padding: clamp(1.2rem, 3vw, 2rem);
  box-shadow: var(--lvda-shadow);
}
.lvda-widget-title {
  margin: 0 0 .65rem;
  font-family: "Dancing Script", cursive;
  color: var(--lvda-teal);
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1;
}
.lvda-widget :where(p, ul, ol) { margin-top: .5rem; }
.lvda-entry-content :where(.wp-block-button__link, .wp-element-button),
.lvda-widget :where(.wp-block-button__link, .wp-element-button),
.lvda-block-card :where(.wp-block-button__link, .wp-element-button) {
  border-radius: 999px;
  background: linear-gradient(135deg, var(--lvda-teal), var(--lvda-green));
  color: #fff;
  font-weight: 900;
  padding: .8rem 1.2rem;
  text-decoration: none;
}
.lvda-entry-content :where(h1, h2, h3),
.lvda-widget :where(h1, h2, h3),
.lvda-block-card :where(h1, h2, h3) {
  color: var(--lvda-ink);
}
.lvda-page-form-section { padding-top: 1rem; }
.lvda-footer-contact { text-align: right; }
.lvda-footer-links {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: .8rem;
}
.lvda-footer-links a { color: var(--lvda-teal); font-weight: 800; }
.custom-logo-link { display: block; }
.lvda-logo-orb .custom-logo-link img { width: 100%; height: auto; border-radius: 999px; }

@media (max-width: 850px) {
  .lvda-nav .lvda-menu-list {
    display: grid;
    gap: .35rem;
    width: 100%;
  }
  .lvda-nav-button { width: 100%; }
  .lvda-footer-contact { text-align: left; }
  .lvda-footer-links { justify-content: flex-start; }
}

/* Ajustement bouton principal */
.lvda-button {
  color: #fff;
  background: linear-gradient(135deg, var(--lvda-orange), var(--lvda-rose));
  box-shadow: 0 12px 32px rgba(233, 120, 22, .22);
}
.lvda-button-secondary {
  color: var(--lvda-teal);
  background: #fff;
  box-shadow: none;
}
