/* ==========================================================================
   Pattes et Compagnie, sample site built by Missing Piece Studio.
   Direction: playful, rounded, bright. People choose a groomer with their
   eyes, so the dogs are large and the shapes are soft.
   This business is fictional. Nothing here describes a real groomer.
   ========================================================================== */

@font-face {
  font-family: 'Baloo 2'; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url('/fonts/baloo2-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Baloo 2'; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url('/fonts/baloo2-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Karla'; font-style: normal; font-weight: 300 800; font-display: swap;
  src: url('/fonts/karla-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Karla'; font-style: normal; font-weight: 300 800; font-display: swap;
  src: url('/fonts/karla-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --ink:      #23124A;
  --white:    #FFFFFF;
  --cloud:    #FFF4FA;
  --pink:     #E3287B;
  --pink-soft:#FFD9EA;
  --sky:      #128FCB;
  --sky-soft: #D6EFFB;
  --sun:      #FFD23F;
  --ink-soft: rgba(35, 18, 74, .74);
  --wrap: 70rem;
  --r: 28px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--cloud); color: var(--ink);
  font-family: 'Karla', system-ui, sans-serif; font-size: 1.0625rem; line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; height: auto; }
h1, h2, h3, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: var(--pink); }

:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 1.25rem; }
@media (min-width: 46rem) { .wrap { padding-inline: 2rem; } }

.skip { position: absolute; left: -9999px; background: var(--ink); color: var(--white); padding: .8rem 1.1rem; border-radius: 999px; z-index: 60; font-weight: 700; text-decoration: none; }
.skip:focus { position: fixed; left: .75rem; top: .75rem; }

.sample { background: var(--ink); color: var(--white); font-size: .8125rem; line-height: 1.4; padding: .6rem 0; text-align: center; }
.sample a { color: var(--sun); font-weight: 700; }

h1, h2, h3, .brand {
  font-family: 'Baloo 2', system-ui, sans-serif;
  letter-spacing: -.015em; line-height: 1.12;
}

/* Header */
.head { padding-block: 1rem; }
.head-in { display: flex; flex-wrap: wrap; align-items: center; gap: .625rem 1rem; }
.brand { font-weight: 800; font-size: 1.375rem; color: var(--pink); text-decoration: none; margin-right: auto; }
.head nav { display: flex; flex-wrap: wrap; gap: .375rem; font-size: .9375rem; font-weight: 700; }
.head nav a { color: var(--ink); text-decoration: none; padding: .35rem .75rem; border-radius: 999px; }
.head nav a:hover { background: var(--pink-soft); }
.call {
  background: var(--sky); color: var(--white); text-decoration: none; font-weight: 800;
  font-size: .9375rem; padding: .55rem 1rem; border-radius: 999px; white-space: nowrap;
}
.call:hover { background: var(--ink); }
.lang { font-weight: 800; font-size: .8125rem; color: var(--ink); text-decoration: none; background: var(--sun); padding: .4rem .7rem; border-radius: 999px; }
.lang:hover { background: var(--pink); color: var(--white); }

/* Hero */
.hero { padding-block: 1rem clamp(2.5rem, 1.9rem + 2.6vw, 4rem); }
.hero-grid { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 52rem) { .hero-grid { grid-template-columns: 1fr 1fr; gap: 3rem; } }
.hero h1 { font-weight: 800; font-size: clamp(2.25rem, 1.6rem + 2.8vw, 3.75rem); max-width: 15ch; }
.hero h1 em { font-style: normal; color: var(--pink); }
.hero p { margin-top: 1rem; max-width: 42ch; font-size: 1.125rem; color: var(--ink-soft); }
.hero-img { border-radius: var(--r); overflow: hidden; box-shadow: 12px 12px 0 var(--sun); }
.hero-img img { width: 100%; aspect-ratio: 1; object-fit: cover; }

.pill-row { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.25rem; }
.pill { background: var(--sky-soft); color: var(--ink); font-weight: 700; font-size: .875rem; padding: .4rem .9rem; border-radius: 999px; }
.pill:nth-child(2) { background: var(--pink-soft); }
.pill:nth-child(3) { background: #FFF0C2; }

.btn {
  display: inline-block; background: var(--pink); color: var(--white); text-decoration: none;
  font-family: 'Baloo 2', sans-serif; font-weight: 800; font-size: 1.0625rem;
  padding: .85rem 1.6rem; border-radius: 999px; border: 0; cursor: pointer;
  box-shadow: 0 5px 0 #A81659;
}
.btn:hover { background: var(--ink); box-shadow: 0 5px 0 #120929; }
.btn:active { transform: translateY(4px); box-shadow: none; }
.btn-sky { background: var(--sky); box-shadow: 0 5px 0 #0A6797; }
.btn-sky:hover { background: var(--ink); box-shadow: 0 5px 0 #120929; }
.cta-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }

section { padding-block: clamp(2.75rem, 2.1rem + 3vw, 4.5rem); }
.sec-title { font-weight: 800; font-size: clamp(1.75rem, 1.4rem + 1.6vw, 2.5rem); max-width: 20ch; }
.sec-title + p { margin-top: .75rem; max-width: 56ch; color: var(--ink-soft); }

.band-white { background: var(--white); }
.band-sky { background: var(--sky-soft); }

/* Service cards */
.cards { display: grid; gap: 1.25rem; margin-top: 2rem; }
@media (min-width: 40rem) { .cards { grid-template-columns: 1fr 1fr; } }
@media (min-width: 62rem) { .cards { grid-template-columns: repeat(4, 1fr); } }
.card { background: var(--white); border-radius: var(--r); padding: 1.5rem; }
.band-white .card { background: var(--cloud); }
.card .icon { width: 3rem; height: 3rem; border-radius: 50%; display: grid; place-items: center; font-family: 'Baloo 2', sans-serif; font-weight: 800; font-size: 1.25rem; margin-bottom: .875rem; }
.card:nth-child(1) .icon { background: var(--pink-soft); color: var(--pink); }
.card:nth-child(2) .icon { background: var(--sky-soft); color: var(--sky); }
.card:nth-child(3) .icon { background: #FFF0C2; color: #8A6200; }
.card:nth-child(4) .icon { background: var(--pink-soft); color: var(--pink); }
.card h3 { font-weight: 800; font-size: 1.1875rem; }
.card p { margin-top: .4rem; font-size: .9375rem; color: var(--ink-soft); }
.card .price { display: block; margin-top: .875rem; font-weight: 800; color: var(--pink); font-size: 1.0625rem; }

/* Gallery */
.gallery { display: grid; gap: 1rem; margin-top: 2rem; grid-template-columns: 1fr 1fr; }
@media (min-width: 52rem) { .gallery { grid-template-columns: repeat(3, 1fr); } }
.gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--r); }

/* Booking form */
.book { display: grid; gap: 2rem; }
@media (min-width: 52rem) { .book { grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; } }
.form-card { background: var(--white); border-radius: var(--r); padding: 1.5rem; }
@media (min-width: 46rem) { .form-card { padding: 2rem; } }
.field { display: grid; gap: .35rem; margin-bottom: 1.125rem; }
.field label { font-weight: 800; font-size: .9375rem; }
.field input, .field select, .field textarea {
  font-family: 'Karla', sans-serif; font-size: 1.0625rem; color: var(--ink);
  background: var(--cloud); border: 2px solid transparent; border-radius: 14px;
  padding: .75rem .9rem; width: 100%; -webkit-appearance: none; appearance: none;
}
.field select { background-image: none; }
.field textarea { min-height: 6.5rem; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--sky); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--pink); }
.form-note { font-size: .875rem; color: var(--ink-soft); margin-top: .75rem; }

.hours { margin-top: 1.25rem; }
.hours li { display: flex; justify-content: space-between; gap: 1.5rem; padding: .55rem 0; border-bottom: 2px dotted rgba(35, 18, 74, .18); }
.hours span { font-weight: 800; color: var(--sky); }

.foot { background: var(--ink); color: rgba(255, 255, 255, .82); padding-block: 2.5rem; font-size: .9375rem; }
.foot strong { color: var(--white); }
.foot p + p { margin-top: .35rem; }
.foot a { color: var(--sun); }
.foot-note { margin-top: 1.5rem !important; font-size: .8125rem; color: rgba(255, 255, 255, .6); }

@media (prefers-reduced-motion: reduce) {
  .btn:active { transform: none; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* Below the desktop breakpoint the nav takes its own row, so the brand and the
   language toggle stay together on the first one instead of orphaning it. */
@media (max-width: 60rem) {
  .head nav { order: 3; flex: 1 0 100%; }
}
