/*
Theme Name: Nos Instants Tendresse
Theme URI: https://exemple.com/
Author: Votre Nom
Author URI: https://exemple.com/
Description: Thème WordPress one-page inspiré de la maquette "Nos Instants Tendresse".
Version: 1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: nos-instantstendresse
*/

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

body {
  margin: 0;
  font-family: "Nunito", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #fbeee7;
  color: #5c3832;
}

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

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

.container {
  width: min(1100px, 92%);
  margin: 0 auto;
}

/* HEADER */

.site-header {
  background: #fef7f3;
  padding-top: 1.5rem;
  position: sticky;
  top: 0;
  z-index: 10;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 0.75rem;
}

.logo-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 50%;
}

.logo-text {
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.9rem;
}

/* Navigation */

.main-nav {
  border-top: 1px solid #f0d5c9;
  background: #fef7f3;
}

.nav-list {
  list-style: none;
  display: flex;
  align-items: center;
  padding: 0.6rem 0;
  gap: 2.5rem;
  font-size: 0.95rem;
  justify-content: center;
}

.nav-list a,
.nav-link-dropdown {
  border: none;
  background: none;
  cursor: pointer;
  padding: 0.2rem 0;
  position: relative;
}

.nav-list a::after,
.nav-link-dropdown::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.2rem;
  width: 100%;
  height: 2px;
  background: #c66255;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease-out;
}

.nav-list a:hover::after,
.nav-link-dropdown:hover::after {
  transform: scaleX(1);
}

.has-dropdown {
  position: relative;
}

.caret {
  font-size: 0.7rem;
  margin-left: 0.2rem;
}

/* Dropdown */

.dropdown {
  list-style: none;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 2.1rem;
  background: #fff8f4;
  border-radius: 0 0 18px 18px;
  padding: 0.7rem 1.5rem 1rem;
  box-shadow: 0 10px 20px rgba(0,0,0,0.05);
  display: none;
}

.dropdown.open {
  display: block;
}

.dropdown li + li {
  margin-top: 0.4rem;
}

.dropdown a {
  font-size: 0.9rem;
}

/* Boutons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.7rem;
  border-radius: 999px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  font-size: 0.95rem;
}

.btn-primary {
  background: #b94f49;
  color: #fff;
  box-shadow: 0 6px 15px rgba(185,79,73,0.35);
}

.btn-primary:hover {
  filter: brightness(1.03);
}

.btn-secondary {
  background: #f3dfd7;
  color: #5c3832;
}

.header-cta {
  font-size: 0.9rem;
}

/* Intro */

.intro-section {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 2.5rem;
  margin: 3rem auto;
  align-items: center;
}

.intro-text-card {
  background: #fff7f3;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 8px 25px rgba(0,0,0,0.04);
}

.intro-text-card h2 {
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.intro-text-card p {
  margin: 0 0 0.8rem;
  line-height: 1.6;
  font-size: 0.96rem;
}

.text-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: #b94f49;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.intro-image-wrap {
  justify-self: center;
}

.intro-image {
  width: 270px;
  height: 270px;
  border-radius: 50% 50% 30% 30%;
  object-fit: cover;
  box-shadow: 0 18px 35px rgba(0,0,0,0.18);
}

/* Services */

.services-section {
  padding: 2rem 0 3rem;
}

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

/* Carte en arche */

.service-card {
  background: linear-gradient(180deg, #fbe5d9 0%, #ffe9dc 45%, #fdf3ec 100%);
  border-radius: 36px;
  padding: 1.5rem 1.3rem 1.3rem;
  text-align: center;
  position: relative;
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.service-image-arch {
  width: 170px;
  height: 170px;
  margin: 0 auto 0.9rem;
  border-radius: 50% 50% 40% 40%;
  overflow: hidden;
}

.service-image-arch img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-content h3 {
  margin: 0.5rem 0 0.6rem;
  font-size: 1.05rem;
}

.service-content p {
  margin: 0 0 0.5rem;
  font-size: 0.9rem;
  line-height: 1.55;
}

/* Info contact */

.info-contact-section {
  padding: 1rem 0 3.5rem;
}

.info-card {
  background: #fff7f3;
  border-radius: 20px;
  padding: 2rem 1.7rem;
  box-shadow: 0 8px 25px rgba(0,0,0,0.04);
  text-align: left;
}

.info-card h2 {
  margin-top: 0;
  font-size: 1.3rem;
}

.info-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 0.7rem;
}

.info-cta {
  margin-top: 1.3rem;
}

.contact-details {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1.7rem;
  flex-wrap: wrap;
  row-gap: 1rem;
}

.phone {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
}

.phone-icon {
  font-size: 1.3rem;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid #b94f49;
  font-size: 1.2rem;
}

/* Footer */

.site-footer {
  padding: 1.2rem 0 1.6rem;
  background: #f6e3da;
  font-size: 0.9rem;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

/* Responsive */

@media (max-width: 900px) {

  .header-inner {
    flex-direction: row;
    gap: 1rem;
  }

  .logo-text {
    display: none;
  }

  .nav-list {
    gap: 1.3rem;
    font-size: 0.85rem;
  }

  .intro-section {
    grid-template-columns: 1fr;
  }

  .intro-image-wrap {
    order: -1;
  }

  .intro-image {
    width: 230px;
    height: 230px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .header-cta {
    padding: 0.5rem 1.2rem;
    font-size: 0.8rem;
  }

  .info-card {
    padding: 1.5rem 1.2rem;
  }
}
