/*
Theme Name: Les Potes en Pattes
Theme URI: https://lespotesenpattes.fr
Author: Les Potes en Pattes
Author URI: https://lespotesenpattes.fr
Description: Thème kawaii pastel cocooning pour un site de pet sitting. Ambiance douce, arrondie et rassurante.
Version: 1.1.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: les-potes-en-pattes
Tags: custom-menu, featured-images, translation-ready, one-column
*/

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:        #FFF8F2;   /* fond page */
  --band:      #FFFCF8;   /* bloc "petits plus" */
  --card:      #FDF3EC;   /* cartes crème rosé */
  --card-rose: #FBEDE6;   /* cartes avis */
  --white:     #FFFFFF;
  --rose:      #F9DED6;   /* rose poudré */
  --cta:       #F7D9CD;   /* bandeau CTA */
  --coral:     #EF8F86;   /* boutons */
  --coral-soft:#F0A8A0;   /* cœurs déco */
  --peche:     #F1C9B6;
  --beige:     #EDE6E1;
  --taupe:     #BFA79A;
  --brun:      #4A2E1F;
  --text2:     #7A6256;
  --vert:      #C8D3BE;
  --border:    #F0E2D5;   /* bordures fines beige */
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Nunito', sans-serif;
  background: var(--bg);
  color: var(--brun);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }

/* ── BOUTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: none;
  border-radius: 999px;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: .9rem;
  cursor: pointer;
  transition: filter .18s, transform .15s;
  white-space: nowrap;
}
.btn:hover { filter: brightness(.95); transform: translateY(-1px); }

.btn-coral {
  background: var(--coral);
  color: #fff;
  padding: 13px 26px;
  box-shadow: 0 6px 18px rgba(239,143,134,.32);
}
.btn-outline {
  background: transparent;
  color: var(--coral);
  border: 1.5px solid var(--coral);
  padding: 11px 24px;
}
.btn-outline:hover { background: var(--rose); filter: none; }

/* ══════════════════════════════════════
   HEADER — fond crème continu, logo empilé
══════════════════════════════════════ */
.site-header {
  position: sticky; top: 0; z-index: 999;
  background: var(--bg);
  display: flex;
  align-items: center;
  padding: 14px 52px 10px;
  border-bottom: 1px solid rgba(191,167,154,.14);
}

/* Logo : mascottes AU-DESSUS du nom (comme la maquette) */
.logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.1;
  gap: 1px;
}
.logo-svg { width: 64px; height: auto; }
.logo-name {
  font-family: 'Baloo 2', sans-serif;
  font-weight: 700;
  font-size: 1.28rem;
  color: var(--brun);
  letter-spacing: -.2px;
  white-space: nowrap;
}
.logo-tag {
  font-size: .5rem;
  font-weight: 700;
  letter-spacing: 2.6px;
  color: var(--coral);
  text-transform: uppercase;
  margin-top: 2px;
}

.main-nav { flex: 1; display: flex; justify-content: center; }
.main-nav ul { list-style: none; display: flex; gap: 42px; margin: 0; padding: 0; }
.main-nav a {
  font-size: .92rem;
  font-weight: 600;
  color: #6E5546;
  padding-bottom: 5px;
  position: relative;
  transition: color .2s;
}
.main-nav .current-menu-item > a { color: var(--brun); font-weight: 700; }
.main-nav .current-menu-item > a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: var(--brun);
  border-radius: 2px;
}
.main-nav a:hover { color: var(--brun); }

/* ══════════════════════════════════════
   HERO
══════════════════════════════════════ */
.hero-section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 40px 52px 70px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
}

.hero-title {
  font-family: 'Baloo 2', sans-serif;
  font-weight: 700;
  font-size: clamp(2.2rem, 4vw, 3.1rem);
  line-height: 1.16;
  color: var(--brun);
  letter-spacing: -.5px;
}
.hero-title .title-heart {
  display: inline-block;
  margin-left: 6px;
  transform: translateY(2px);
}

.hero-desc {
  font-size: .95rem;
  color: var(--text2);
  line-height: 1.8;
  margin: 22px 0 30px;
  max-width: 355px;
}

/* Image blob + fond pêche derrière */
.hero-img-wrap { position: relative; }

.blob-container { position: relative; max-width: 560px; margin-left: auto; }

.blob-bg {
  position: absolute;
  inset: -4% -8% -9% -6%;
  background: #F7EADD;
  border-radius: 53% 47% 46% 54% / 49% 55% 45% 51%;
  transform: rotate(-5deg);
}

.blob-photo {
  position: relative;
  width: 100%;
  aspect-ratio: 1.22 / 1;
  object-fit: cover;
  border-radius: 44% 56% 50% 50% / 58% 48% 52% 42%;
  /* réchauffe la photo pour rester dans l'ambiance beige cocooning */
  filter: sepia(.3) saturate(.8) brightness(1.06) hue-rotate(-8deg);
}

/* Cœurs déco (à gauche de l'image, comme la maquette) */
.hero-heart-1 { position: absolute; top: 17%; left: -7%; font-size: 1.35rem; color: var(--coral-soft); }
.hero-heart-2 { position: absolute; top: 6%; left: 3%; font-size: .8rem; color: var(--coral-soft); opacity: .75; }

/* Feuillage bas-gauche + petite fleur */
.leaf-bl {
  position: absolute;
  bottom: -9%;
  left: -5%;
  width: 84px;
  pointer-events: none;
}
.flower-l {
  position: absolute;
  bottom: 8%;
  left: -13%;
  width: 56px;
  opacity: .55;
  pointer-events: none;
}

/* ══════════════════════════════════════
   LES PETITS PLUS
══════════════════════════════════════ */
.pp-outer { max-width: 1180px; margin: 0 auto 34px; padding: 0 52px; }

.pp-card {
  background: var(--band);
  border: 1.5px solid var(--border);
  border-radius: 24px;
  padding: 34px 48px 30px;
}

.section-h2 {
  font-family: 'Baloo 2', sans-serif;
  font-weight: 600;
  font-size: 1.35rem;
  color: var(--brun);
  text-align: center;
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.section-h2 svg { transform: translateY(1px); }

.pp-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.pp-item { display: flex; align-items: center; gap: 14px; }

/* Cercles BLANCS bordés (maquette), pas roses */
.pp-icon {
  width: 62px; height: 62px; min-width: 62px;
  border-radius: 50%;
  background: var(--white);
  border: 1.5px solid #F3E4D8;
  box-shadow: 0 3px 10px rgba(74,46,31,.05);
  display: flex; align-items: center; justify-content: center;
}
.pp-icon svg { width: 28px; height: 28px; }

.pp-label { font-size: .88rem; font-weight: 700; color: var(--brun); line-height: 1.25; }
.pp-sub   { font-size: .8rem; color: var(--text2); margin-top: 1px; }

/* ══════════════════════════════════════
   TROIS CARTES
══════════════════════════════════════ */
.cards-outer { max-width: 1180px; margin: 0 auto 40px; padding: 0 52px; }
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

.card {
  background: var(--card);
  border: 1.5px solid #F2E2D4;
  border-radius: 24px;
  padding: 26px 22px;
}

/* Titres de cartes CENTRÉS (maquette) */
.card-h3 {
  font-family: 'Baloo 2', sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--brun);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 7px;
}
.card-heart { color: var(--coral-soft); font-size: .95rem; }

/* — carte animaux : photos PORTRAIT + étiquette intégrée — */
.ani-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
  margin-bottom: 6px;
}
.ani-item { position: relative; }
.ani-photo {
  width: 100%;
  aspect-ratio: 5 / 8;
  object-fit: cover;
  border-radius: 14px;
}
.ani-label {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(240,229,220,.95);
  color: #5D4437;
  font-size: .68rem;
  font-weight: 700;
  padding: 2px 12px;
  border-radius: 7px;
  white-space: nowrap;
}

.see-more {
  display: block;
  text-align: center;
  margin-top: 16px;
  font-size: .82rem;
  font-weight: 600;
  color: var(--text2);
  transition: color .18s;
}
.see-more:hover { color: var(--coral); }

/* — carte tarifs : lignes en boîtes blanches — */
.tarif-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 18px; }

.tarif-row {
  display: flex;
  align-items: center;
  gap: 11px;
  background: var(--white);
  border: 1.5px solid #F2E2D4;
  border-radius: 14px;
  padding: 9px 14px 9px 10px;
}
.tarif-ico {
  width: 38px; height: 38px; min-width: 38px;
  border-radius: 50%;
  background: #FFF7F0;
  border: 1px solid #F2E2D4;
  display: flex; align-items: center; justify-content: center;
}
.tarif-ico svg { width: 26px; height: 26px; }
.tarif-name { font-size: .86rem; font-weight: 700; color: var(--brun); flex: 1; }
.tarif-price { font-size: .74rem; color: var(--text2); white-space: nowrap; }
.tarif-price b { font-size: .86rem; color: var(--brun); }

/* — carte étapes : frise 4 COLONNES (maquette) — */
.steps-icons {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  justify-items: center;
  margin-bottom: 10px;
}
.steps-icons svg { width: 26px; height: 26px; }

.steps-track {
  display: flex;
  align-items: center;
  padding: 0 calc(12.5% - 11px);
  margin-bottom: 14px;
}
.st-dot {
  width: 22px; height: 22px; min-width: 22px;
  border-radius: 50%;
  background: var(--coral);
  color: #fff;
  font-family: 'Baloo 2', sans-serif;
  font-size: .65rem;
  font-weight: 600;
  display: flex; align-items: center; justify-content: center;
}
.st-line {
  flex: 1;
  border-top: 2px dotted #F0BFB5;
  margin: 0 5px;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  text-align: center;
}
.step-col strong {
  display: block;
  font-size: .73rem;
  font-weight: 700;
  color: var(--brun);
  margin-bottom: 4px;
  white-space: nowrap;
}
.step-col span {
  font-size: .63rem;
  line-height: 1.55;
  color: var(--text2);
}

/* ══════════════════════════════════════
   AVIS
══════════════════════════════════════ */
.avis-outer {
  max-width: 1180px;
  margin: 0 auto 40px;
  padding: 0 52px;
  text-align: center;
  position: relative;
}

.avis-leaf-l, .avis-leaf-r {
  position: absolute;
  top: 36px;
  width: 76px;
  opacity: .5;
  pointer-events: none;
}
.avis-leaf-l { left: -8px; }
.avis-leaf-r { right: -8px; transform: scaleX(-1); }

.avis-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 26px;
}

.avis-card {
  background: var(--card-rose);
  border: 1.5px solid #F5E0D5;
  border-radius: 20px;
  padding: 24px 22px 20px;
  text-align: left;
  position: relative;
}
.avis-deco { position: absolute; top: 18px; right: 18px; color: var(--coral-soft); font-size: 1rem; }

/* Citation NON italique (maquette) */
.avis-quote {
  font-size: .88rem;
  color: #5D4437;
  line-height: 1.75;
  margin-bottom: 20px;
}

.avis-foot { display: flex; align-items: flex-end; justify-content: space-between; }
.avis-author { font-size: .82rem; font-weight: 600; color: var(--brun); }
.avis-photo { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }

/* ══════════════════════════════════════
   CTA — texte centré, patte SVG rose
══════════════════════════════════════ */
.cta-outer { max-width: 1180px; margin: 0 auto 44px; padding: 0 52px; }

.cta-band {
  background: var(--cta);
  border-radius: 26px;
  padding: 38px 48px;
  display: flex;
  align-items: center;
  gap: 30px;
}

.cta-paw-wrap { position: relative; }
.cta-circle {
  width: 76px; height: 76px; min-width: 76px;
  border-radius: 50%;
  background: var(--white);
  display: flex; align-items: center; justify-content: center;
}
.cta-circle svg { width: 34px; height: 34px; }
.cta-mini-heart {
  position: absolute;
  top: -12px; right: -16px;
  color: var(--coral-soft);
  font-size: .85rem;
  opacity: .8;
}

.cta-body { flex: 1; text-align: center; }
.cta-title {
  font-family: 'Baloo 2', sans-serif;
  font-weight: 700;
  font-size: 1.65rem;
  color: var(--brun);
  margin-bottom: 5px;
}
.cta-desc { font-size: .88rem; color: var(--text2); }

/* ══════════════════════════════════════
   FOOTER — une ligne : logo | nav | réseaux
══════════════════════════════════════ */
.site-footer {
  background: var(--white);
  padding: 32px 52px 24px;
  position: relative;
  overflow: hidden;
}

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-center { flex: 1; text-align: center; }

.footer-nav ul {
  list-style: none;
  display: inline-flex;
  gap: 36px;
  margin: 0; padding: 0;
}
.footer-nav a { font-size: .88rem; font-weight: 600; color: #6E5546; transition: color .18s; }
.footer-nav a:hover { color: var(--brun); }

.footer-meta {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 38px;
  margin-top: 20px;
  flex-wrap: wrap;
}
.footer-meta span, .footer-meta a { font-size: .72rem; color: var(--taupe); }
.footer-meta a:hover { color: var(--text2); }

/* Réseaux : icônes simples, sans cercle (maquette) */
.footer-socials { display: flex; gap: 22px; align-items: center; }
.footer-socials a { color: var(--brun); transition: color .18s; }
.footer-socials a:hover { color: var(--coral); }
.footer-socials svg { width: 20px; height: 20px; }

.footer-deco-leaf {
  position: absolute;
  right: 40px; bottom: -6px;
  width: 70px;
  opacity: .5;
  pointer-events: none;
}

/* ══════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════ */
@media (max-width: 960px) {
  .site-header { padding: 10px 22px 8px; }
  .main-nav ul { gap: 20px; }
  .logo-svg { width: 52px; }
  .logo-name { font-size: 1.05rem; }

  .hero-section { grid-template-columns: 1fr; padding: 26px 22px 40px; gap: 34px; }
  .hero-img-wrap { order: -1; }
  .blob-container { max-width: 350px; margin: 0 auto; }
  .hero-desc { max-width: 100%; }
  .flower-l { display: none; }

  .pp-outer, .cards-outer, .avis-outer, .cta-outer { padding: 0 20px; margin-bottom: 26px; }
  .pp-card { padding: 26px 20px; }
  .pp-row { grid-template-columns: repeat(2, 1fr); gap: 18px; }

  .cards-grid { grid-template-columns: 1fr; }
  .ani-photo { aspect-ratio: 3 / 4; }

  .avis-leaf-l, .avis-leaf-r { display: none; }
  .avis-grid { grid-template-columns: 1fr; }

  .cta-band { flex-direction: column; text-align: center; padding: 28px 22px; }

  .site-footer { padding: 26px 20px 20px; }
  .footer-grid { flex-direction: column; gap: 18px; }
  .footer-nav ul { flex-wrap: wrap; justify-content: center; gap: 16px; }
  .footer-meta { gap: 14px; }
  .footer-deco-leaf { display: none; }
}

@media (max-width: 640px) {
  .main-nav { display: none; }
  .site-header { justify-content: space-between; }
  .pp-row { grid-template-columns: 1fr; }

  /* garde-fous petits écrans */
  .logo-name { font-size: .95rem; }
  .btn-coral { padding: 11px 18px; font-size: .8rem; }
  .tarif-row { padding: 8px 10px 8px 8px; }
  .tarif-name { font-size: .8rem; }
  .tarif-price { font-size: .68rem; }
  .tarif-price b { font-size: .78rem; }

  /* étapes : on passe en liste verticale lisible */
  .steps-icons, .steps-track { display: none; }
  .steps-grid { grid-template-columns: 1fr; text-align: left; gap: 12px; }
  .step-col span { font-size: .78rem; }
  .step-col strong { font-size: .85rem; }
}
