/* ========================
   Claudia Gagné — toilettage
   Styles de base (responsive + mode clair/sombre)
   ======================== */

html { scroll-behavior: smooth; }

:root {
  --bg: #ffffff;
  --ink: #141414;
  --muted-ink: #5b5b5b;
  --cream: #faf7f3;
  --accent: #c8a66a;
  --accent-ink: #6f5430;
  --line: #e9e3db;
  --shadow: 0 10px 30px rgba(0,0,0,.08);
  --radius: 18px;
  --hero-crop: clamp(60px, 10vw, 110px);
  --container: 1120px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f0f0f;
    --ink: #f6f6f6;
    --muted-ink: #b7b7b7;
    --cream: #141414;
    --line: #242424;
    --shadow: 0 12px 34px rgba(0,0,0,.45);
  }
}

* { box-sizing: border-box; }
html, body { height: 100%; }

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", sans-serif;
  color: var(--ink);
  background-color: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3 {
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  line-height: 1.2;
  margin: 0 0 .5rem;
  color: var(--ink);
}

h1 { font-size: clamp(2.2rem, 3.5vw + 1rem, 4rem); }
h2 { font-size: clamp(1.6rem, 1.5vw + 1rem, 2.4rem); }
h3 { font-size: clamp(1.2rem, .9vw + .9rem, 1.4rem); }

p { margin: 0 0 1rem; color: var(--muted-ink); }

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

.container { width: min(100%, var(--container)); margin-inline: auto; padding: 0 20px; }
.container.narrow { width: min(100%, 860px); }

.section { padding: clamp(48px, 8vw, 96px) 0; }
.section__header { text-align: center; margin-bottom: 2rem; }
.section__lead { color: var(--muted-ink); }

/* Accessibilité */
.skip-link {
  position: absolute; left: -999px; top: -999px;
}
.skip-link:focus { left: 16px; top: 16px; background: #fff; color: #000; padding: .5rem .75rem; border-radius: 6px; }

/* ---------- Header + Nav ---------- */

.site-header {
  background:#111;
  color: #fff;
  padding-bottom: 0;
}
.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; color: inherit; }
.brand__mark {
  width: 130px;
  height: auto;
  object-fit: contain;
}

.brand__name { font-weight: 700; letter-spacing: .3px; }
.accent { color: var(--accent); }

.primary-nav { display: flex; gap: clamp(1rem, 2.5vw, 3rem); align-items: center;  }
.primary-nav a { color: #eaeaea; text-decoration: none; font-weight: 700; font-size: 1.2rem }
.primary-nav a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

/* Boutons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  font-weight: 700;
  padding: .8rem 1.1rem;
  border-radius: 999px;
  border: 2px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: transform .08s ease, box-shadow .2s ease, background-color .2s ease;
  box-shadow: var(--shadow);
}
.btn--small { padding: .55rem .9rem; font-size: .95rem; }
.btn--primary { background: var(--accent); color: #1a120a; }
.btn--primary:hover { transform: translateY(-1px); }
.btn--ghost { background: transparent; color: #fff; border-color: #3a3a3a; }
.btn--ghost:hover { background: #1c1c1c; }

/* ---------- Hero ---------- */

.hero {
  padding: 36px 0 0;
  color: #fff;
  background: #111;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: clamp(20px, 5vw, 40px);
}
.hero__content { padding: 0px 0 40px; }
.hero .eyebrow { text-transform: uppercase; letter-spacing: .18em; font-size: 1rem; color: #cfcfcf; }
.hero h1 { color: #fff; font-weight: 700; padding-bottom: 20px; padding-top: 20px;}
.hero .thin { font-weight: 400; opacity: .85; }
.hero .lead { color: #d0d0d0; font-size: clamp(1rem, .8vw + .9rem, 1.25rem); margin-bottom: 1.2rem; padding-bottom: 20px; }
.hero__actions{
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
  align-items: center;
}

.hero__actions .btn{
  flex: 0 0 auto;
  width: auto;
  white-space: nowrap;
  min-height: 44px;
}

.hero__image {
  position: relative;
  z-index: 2;
}


/* ---------- Wrapper main section ---------- */

.services-gallery-wrapper {
  position: relative;
  background: url('assets/paws.jpg') repeat center center;
  background-size: 120px;
  padding-top: 30px;
}

.services-gallery-wrapper::before{
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.89);
  z-index: 1;
  pointer-events: none;
}

.services-gallery-wrapper::after{
  content: "";
  position: absolute;
  opacity: .75;
  left: 0; right: 0; top: 0;
  height: 36px;
  background: linear-gradient(
    #fff 0%,
    rgba(255,255,255,0.92) 60%,
    rgba(255,255,255,0) 100%
  );
  z-index: 1;
  pointer-events: none;
}

.services-gallery-wrapper > *{
  position: relative;
  z-index: 2;
}

/* ---------- Services ---------- */

.services { 
  position: relative;
  z-index: 1;
  text-align: center;
  padding: clamp(20px, 4vw, 40px) 0 clamp(40px, 5vw, 64px);
}

.services h2 {
  text-align: center;
  font-family: "Prata", serif;
  font-size: 2rem;
  color: #c8a66a;
}

.services h3 {
  font-family: "Prata", serif;
  font-size: 1.4rem;
  color: #c8a66a;
}

.services__wrapper {
  background: #c8a66a;
  border-radius: 20px;

  box-shadow: var(--shadow);
}

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

/* Chaque carte dorée */
.service {
  background: #c8a66a;
  border-radius: 20px;
  padding: 10px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(0,0,0,.06);

  display: flex;
}

/* Carte blanche intérieure */
.service__card {
  font-family: 'Nunito Sans', sans-serif;
  font-size:  1.2rem;
  background: #fff;
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  border: 1px solid #e9e3db;
  box-shadow: 0 6px 16px rgba(0,0,0,.06);
  width: 100%;
  text-align: left;
}

.service__card h3 {
  color: #c8a66a;
  margin: 0 0 .35rem;
}
.service__card p {
  color: #5b5b5b;
  margin: 0;
}

/* ---------- Galerie ---------- */

#galerie .container {
  padding-left: 0;
  padding-right: 0;
}

.gallery.section {
  padding-top: 20px;
}

#galerie .swiper-wrapper { margin-right: 0; }

.swiper {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding-bottom: 40px;
  position: relative; 
  overflow: hidden;
}

.section__header h2 {
  color: #c8a66a;
  font-family: "Prata", serif;
  font-size: 2rem;
}
.swiper-slide img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 18px rgba(0,0,0,0.15);
}

.swiper-pagination-bullet {
  background: #c8a66a;
  opacity: .25;
}
.swiper-pagination-bullet-active {
  opacity: 1;
}

/* Flèches Swiper */

#galerie .swiper-slide {
  display: flex;
}

#galerie .swiper-slide img {
  width: 100%;
  height: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center;
  border-radius: 12px;
  box-shadow: 0 8px 18px rgba(0,0,0,0.15);
}
.swiper-button-next::after,
.swiper-button-prev::after {
  display: none;
}

.custom-arrow {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 35px;
  background: rgba(0,0,0,0.60);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  cursor: pointer;
  transition: background .2s ease;
}

.swiper-button-prev {
  border-radius: 0 6px 6px 0;
  left:0 !important; 
}

.swiper-button-next {
  border-radius: 6px 0 0 6px;
  right: 0 !important;
}

.custom-arrow svg {
  stroke: #c8a66a;
  width: 30px;
  height: 30px;
  fill: none;
}

.custom-arrow,
.custom-arrow *,
.swiper-slide img {
  user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  -webkit-user-drag: none;
  -webkit-touch-callout: none;
  -webkit-tap-highlight-color: transparent;
}

.custom-arrow:hover {
  background: rgba(0, 0, 0, 0.85);
}

.btn,
.primary-nav a,
.swiper-button-next,
.swiper-button-prev,
.contact__form button {
  user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  -webkit-touch-callout: none;
  -webkit-tap-highlight-color: transparent;
}

a, button, .swiper-button-next, .swiper-button-prev {
  -webkit-user-drag: none;
}

.btn:focus-visible,
.primary-nav a:focus-visible,
.swiper-button-next:focus-visible,
.swiper-button-prev:focus-visible {
  outline: 3px solid #c8a66a;
  outline-offset: 2px;
  border-radius: 8px;
}

::selection {
  background: rgba(200,166,106,0.25);
  color: inherit;
}

#galerie, #galerie * {
  user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  -webkit-touch-callout: none;
  -webkit-tap-highlight-color: transparent;
}

#galerie .custom-arrow svg { pointer-events: none; }



/* ---------- À propos ---------- */
.about {
  padding: 0 0 clamp(20px, 3vw, 40px);
}

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.about__content h2 {
  font-family: "Prata", serif;
  font-size: 2rem;
  color: #c8a66a;
  margin-bottom: 1rem;
}

.about__content p {
  color: #444;
  font-size: 1.1rem;
  line-height: 1.6;
}

.about__image-wrapper {
  position: relative;
}

.about__image {
  position: relative;
  width: 1500px;
}


/* ---------- Tarifs ---------- */

#tarifs.pricing.section{
  padding-top: clamp(12px, 2vw, 24px);
}
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.pricing .grid { gap: 25px; }

.price-card {
  position: relative;
  display: grid;
  gap: .6rem;
  align-content: start;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem 1.25rem 1rem;
  box-shadow: var(--shadow);
  transition: transform .08s ease, box-shadow .2s ease;
  text-align: center;
  justify-items: center; 
}
.price-card:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(0,0,0,.12); }

.price-card img { 
  width: 50%; 
  height: 100%; 
  position: center ;
}


.price-card .price {
  margin: .25rem 0 .5rem;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent-ink);
}

.price-card ul { margin: 0 0 .6rem; padding-left: 1.1rem; color: var(--muted-ink); }

.price-card {
  background: #c8a66a;
  border-color: #efdcb3;
  box-shadow: 0 18px 36px rgba(200,166,106,.28);
}

.price-card .price strong {
  display: block;
  font-size: 2.2rem;
  color: rgba(49, 38, 9, 0.88);
  font-weight: 700;
}

.price-card h3 {
  font-family: "Prata", serif;
  color: #efdcb3 !important;
  font-size: clamp(1.4rem, 1.2vw + 1.1rem, 1.9rem);
  letter-spacing: .2px;
  color: var(--accent);
}
.price-card--highlight .price { color: #efdcb3;}

/* Responsif pour la grille des prix */
@media (max-width: 980px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .grid--4 { grid-template-columns: 1fr; }
}

/* ---------- Contact ---------- */
#contact{
  position: relative;
  overflow: visible;
  background: #000;
}

#contact::before,
#contact::after{
  
  content: "";
  position: absolute;
  top: 55%;
  width: clamp(480px, 16vw, 240px);
  height: clamp(520px, 16vw, 240px);
  background: center / contain no-repeat;
  pointer-events: none;
  z-index: 0;
  filter: drop-shadow(0 18px 28px rgba(0,0,0,.55));
  opacity: 1;
}

#contact::before{
  left: calc(50% - (var(--container) / 2) - 260px);
  transform: translateY(-60%) rotate(-8deg);
  background-image: url("assets/dog-left.png");
}

#contact::after{
  right: calc(50% - (var(--container) / 2) - 300px);
  transform: translateY(-50%) rotate(10deg);
  background-image: url("assets/poodle-with-open-mouth.png");
}

.contact__grid{ position: relative; z-index: 2; }

@media (max-width: 1280px){
  #contact::before, #contact::after{
    opacity: .5;
    transform: translateY(-50%) scale(.9); /* l’angle reste acceptable */
  }
}
@media (max-width: 980px){
  #contact::before, #contact::after{ display: none; }
}

.contact__grid{
  display: grid;
  gap: 24px;
  grid-template-columns: 1.2fr .8fr;
}
.contact__form{
  font-family: 'Nunito Sans', sans-serif;
  display: grid; gap: .8rem;
  background: #c8a66a;
  color: #efdcb3;
  border: 1px solid var(--line);
  padding: 1rem;
  border-radius: var(--radius);
}
.contact__form h2{
  font-family: "Prata", serif;
  color: #efdcb3;
  font-size: 2rem;
}

.contact__form input::placeholder,
.contact__form textarea::placeholder{
  color:rgba(20,20,20,.45);
}

.contact__form input:focus,
.contact__form textarea:focus{
  border-color:#c8a66a;
}

.contact__form input,
.contact__form textarea{
  width: 100%;
  padding: .7rem .8rem;
  font: inherit;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #c8a66a;
}
.contact__form button{ width: fit-content; }

.contact__info{
  color: #efdcb3;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem;
  background: #c8a66a;
  box-shadow: var(--shadow);
}

.contact__info h2{
  font-family: "Prata", serif;
  color: #efdcb3;
  font-size: 2rem;
  margin-bottom: 25px;
}

.contact__info li{
  color: #efdcb3;
  font-size: 1.1rem;
  margin-top: 15px;
}

.contact__info{
  font-family: 'Nunito Sans', sans-serif;
  position: relative;
  overflow: hidden;
  --contact-dog-size: clamp(420px, 40%, 340px);
}

.list article{
  color: rgba(49, 38, 9, 0.88);
}

.contact__info a{
  color: rgba(49, 38, 9, 0.88);
  text-decoration: underline;
}

.contact__image{
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 75%;
  height: auto;
  pointer-events: none;

}

.contact__info .list{
  padding-bottom: 0.5rem;
}

@media (max-width: 980px){
  .contact__info{ --contact-dog-size: clamp(160px, 36%, 260px); }
}
.list{ margin: 0; padding-left: 1rem; color: var(--muted-ink); }

@media (max-width: 1280px){
  #contact::before, #contact::after{
    opacity: .5;
    transform: translateY(-50%) scale(.9);
  }
}
@media (max-width: 980px){
  #contact::before, #contact::after{ display: none; }
}

/* ---------- Footer ---------- */
/* -------- Footer en colonnes -------- */
.site-footer { background: var(--cream); color: var(--ink); }

.footer__grid{
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: clamp(16px, 3vw, 40px);
  padding: clamp(28px, 5vw, 56px) 0;
}

.footer__hero{
  position: relative;
  width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  overflow: hidden;
}
.footer__hero .map-embed{
  display: block;
  width: 100vw;
  max-width: none;
  height: clamp(280px, 32vw, 420px);
  border: 0;
}

.footer__hero::after{
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.05), rgba(0,0,0,0.18));
  pointer-events: none;
}

.footer__bottom{
  background: transparent;
  border-top: 1px solid #242424;
}

.footer__col h4{
  font-family: "Prata", serif;
  font-size: clamp(1.05rem, .6vw + 1rem, 1.3rem);
  color: var(--accent-ink);
  margin: 0 0 .6rem;
}

.footer__about p{ color: var(--muted-ink); max-width: 420px; }
.footer__logo{ width: 150px; height: auto; margin-bottom: .8rem; }

.footer__list{ list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.footer__list a{ color: #cfcfcf; text-decoration: none;}
.footer__list a:hover{ color: #fff; text-decoration: underline; text-underline-offset: 3px; }

/* Réseaux sociaux */
.socials{ display: flex; gap: 10px; }
.social{
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--muted-ink);
  box-shadow: var(--shadow);
  text-decoration: none;
  transition: transform .08s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.social:hover{
  background: var(--accent);
  border-color: var(--accent);
  color: #1a120a;
  transform: translateY(-1px);
}

/* Ligne du bas */

.footer__bottom p{
  margin: 0;
  text-align: center;
  color: var(--muted-ink);
}

/* Responsive */
@media (max-width: 980px){
  .footer__grid{ grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px){
  .footer__grid{ grid-template-columns: 1fr; }
  .footer__about p{ max-width: none; }
}


.map-link {
  text-align: right;
  margin: 6px 20px 0;
}
.map-link a { color: #cfcfcf; text-decoration: underline; }

/* ---------- Responsif ---------- */
@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__image img { width: min(480px, 100%); margin: 10px auto 0; }
  .cards--three, .grid--3 { grid-template-columns: 1fr 1fr; }
  .contact__grid { grid-template-columns: 1fr; }
  .gallery__grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 620px) {
  .primary-nav { display: none; }
  .cards--three, .grid--3 { grid-template-columns: 1fr; }
  .gallery__grid { grid-template-columns: 1fr 1fr; }
  .footer__inner { flex-direction: column; text-align: center; }
}

@media (min-width: 981px){
  .hero__image img{
    margin-bottom: -50px; 
  }
}

@media (max-width: 980px){
  .hero{
    overflow: hidden;
  }
  .hero__image img{
    margin-bottom: -50px; 
  }
}

@media (max-width: 640px){
  .hero__image img{
    margin-bottom: -50px;
  }
}

@media (max-width: 380px){
  .hero__image img{
    margin-bottom: -50px;
  }
}

@media (max-width: 400px){
  .hero__actions{
    grid-auto-flow: row;
    grid-auto-columns: 100%;
  }
  .hero__actions .btn{ width: 100%; }
}

@media (max-width: 980px){
  .about__grid{
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .about__content{ order: 1; }
  .about__image-wrapper{ order: 2; }
  .about__image{ width: 100%; max-width: 520px; }
}

@media (max-width: 980px){
  .contact__image{ 
    display: none !important;
  }
  .contact__info{ 
    padding-bottom: 1rem;
  }
}

@media (max-width: 620px){
  .footer__grid{
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    gap: 18px;
  }

  .footer__about { max-width: 38ch; }
  .footer__about p{ margin: 0 auto; }
  .footer__logo{ margin: 0 auto .8rem; display:block; }

  .footer__col h4{ margin-top: .5rem; } 

  .footer__list{
    display: grid;
    gap: .35rem;
    justify-items: center; 
  }
  .footer__list a{ display: inline-block; }

  .socials{ justify-content: center; } 
  .footer__bottom p{ text-align: center; }
}

/* ---- Cartes de prix : mobile compact ---- */
@media (max-width: 768px) {

  .pricing .grid {
    grid-template-columns: 1fr;
    justify-items: center; 
    align-items: start; 
    gap: 16px;
  }


  .price-card {
    width: 100%;
    max-width: 260px;
    margin: 0 auto;
    padding: 0.9rem 1rem;
    border-radius: 14px;
  }
}



@media (max-width: 420px) {
  .price-card { max-width: 230px; padding: 0.8rem; }
  .price-card img { width: 50%; max-height: 100px; }
  .price-card h3 { font-size: 1rem; }
  .price-card .price strong { font-size: 2.1rem; }
}

.mobile-only {
  display: none;
}

@media (max-width: 768px) {
  .mobile-only {
    display: block;
  }
}
