/* ==========================================================
   VARIABLES
========================================================== */

:root {
    --color-background: #f4f0e8;
    --color-title: #735741;
    --color-text: #000000;
    --color-accent: #ff5757;
    --color-white: #ffffff;

    --font-title: "Baloo 2", cursive;
    --font-text: "Poppins", sans-serif;

    --container-width: 1200px;

    --border-radius-small: 12px;
    --border-radius-medium: 24px;
    --border-radius-large: 40px;

    --transition: 0.25s ease;
}


/* ==========================================================
   RESET
========================================================== */

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    margin: 0;

    background: var(--color-background);

    color: var(--color-text);

    font-family: var(--font-text);
    font-size: 16px;

    line-height: 1.6;
}

img {
    display: block;

    max-width: 100%;
}

img {
    -webkit-user-select: none;
    user-select: none;
    -webkit-user-drag: none; /* Empêche le glisser-déposer des images sur Safari - Pas reconnu sur Android Firefox */
}

a {
    color: inherit;

    text-decoration: none;
}

button,
input,
textarea,
select {
    font: inherit;
}

button {
    cursor: pointer;
}


/* ==========================================================
   GENERAL
========================================================== */

.container {
    width: min(90%, var(--container-width));

    margin-inline: auto;
}

.section {
    padding: 30px 0;
}

h1,
h2,
h3 {
    margin-top: 0;

    color: var(--color-title);

    font-family: var(--font-title);
}

h1 {
    margin-bottom: 5px;

    font-size: clamp(3rem, 8vw, 5.5rem);

    line-height: 1;
}

h2 {
    margin-bottom: 15px;

    font-size: clamp(2.3rem, 5vw, 3.4rem);
}

h3 {
    font-size: 1.7rem;

    margin-bottom: 15px;
}

.hero-subtitle {
    margin-bottom: 10px;

    color: var(--color-accent);

    font-family: var(--font-title);
    font-size: 1.5rem;
    font-weight: 600;
}

strong {
    font-weight: 600;
    color: #735741;
}

.cursor {
    cursor: pointer;
}

.text-bold{
    font-weight: bold;
}
/* ==========================================================
   MARGIN - PADDING - SIZE .....    
========================================================== */
/* MARGIN-LEFT */
.ml-20 {
    margin-left: 20px;
}

/* MARGIN-TOP */
.mt--10 {
    margin-top: -10px;
}
.mt-60 {
    margin-top: 60px;
}
.texte-carrot{
    color: #ff5757 !important;
}

/* ==========================================================
   BUTTONS
========================================================== */

.button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 52px;

    padding: 12px 25px;

    border: 2px solid var(--color-title);
    border-radius: var(--border-radius-small);

    font-weight: 600;

    transition:
        background var(--transition),
        color var(--transition),
        transform var(--transition),
        box-shadow var(--transition);
}

.button:hover {
    transform: translateY(-2px);
}

.button-primary {
    background: var(--color-title);

    color: var(--color-white);
}

.button-primary:hover {
    box-shadow: 0 8px 20px rgb(115 87 65 / 20%);
}

.button-outline {
    background: transparent;

    color: var(--color-text);
}

.button-outline:hover {
    background: var(--color-title);

    color: var(--color-white);
}


/* ==========================================================
   HEADER
========================================================== */

.header {
    position: sticky;
    z-index: 1000;
    top: 0;

    /* 
    Fond crème

    background: rgba(244, 240, 232, 0.96);

    border-bottom: 1px solid rgba(115, 87, 65, 0.08);

    box-shadow:
        0 4px 14px rgba(115, 87, 65, 0.05); */

    background: #8A6D55;

    border-bottom: 1px solid rgba(244, 240, 232, 0.10);

    box-shadow:
        0 4px 14px rgba(63, 43, 30, 0.12);

    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.header-container {
    display: flex;

    min-height: 88px;

    align-items: center;
    justify-content: space-between;
}


/* ==========================================================
   BRAND
========================================================== */

.brand {
    display: inline-flex;

    align-items: center;

    gap: 14px;

    /* color: var(--color-title); */
    
    color: #F4F0E8;

    font-family: "Baloo 2", cursive;
    font-size: 40px;
    font-weight: 600;

    letter-spacing: 0.01em;

    text-decoration: none;

    transition:
        transform 0.2s ease,
        text-shadow 0.2s ease,
        opacity 0.2s ease;
}

.brand:hover {
    /* color: var(--color-title); */
    color: #F4F0E8;

    opacity: 0.92;

    transform: translateY(-1px);

    text-shadow:
        0 4px 10px rgba(115, 87, 65, 0.14);
}

.brand:visited,
.brand:active,
.brand:focus {
    /* color: var(--color-title); */
    color: #F4F0E8;
}

.brand::before,
.brand::after {
    display: none;
}


/* ==========================================================
   LOGO
========================================================== */

.brand-logo {
    width: 100px;
    height: 100px;

    object-fit: contain;

    flex-shrink: 0;
}


/* ==========================================================
   SUPPRESSION DU BOUTON MOBILE
========================================================== */

.mobile-menu-button {
    display: none !important;
}


/* ==========================================================
   NAVIGATION
========================================================== */

.main-nav {
    display: flex;

    align-items: center;

    gap: 12px;
}

.main-nav a {
    position: relative;

    padding: 9px 14px;

    /* color: #000000; */
    color: #F4F0E8;

    border-radius: 12px;

    font-weight: 500;

    text-decoration: none;

    transition:
        background 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease,
        text-shadow 0.2s ease;
}

.main-nav a::after {
    position: absolute;

    right: 14px;
    bottom: 4px;
    left: 14px;

    height: 2px;

    background: var(--color-accent);

    border-radius: 10px;

    content: "";

    opacity: 0;

    transform: scaleX(0.4);

    transition:
        opacity 0.2s ease,
        transform 0.2s ease;
}

.main-nav a:hover {
    /* color: #000000; */
    color: #F4F0E8;

    /* background: rgba(115, 87, 65, 0.06); */
     background: rgba(244, 240, 232, 0.14);

    transform: translateY(-1px);

    text-shadow:
        0 0 8px rgba(255, 87, 87, 0.15);
}

.main-nav a:hover::after {
    opacity: 1;

    transform: scaleX(1);
}

@media (max-width: 700px) {

    .header-container {
        min-height: 78px;

        justify-content: flex-start;
    }

    .brand {
        font-size: 1.7rem;

        gap: 10px;
    }

    .brand-logo {
        width: 52px;
        height: 52px;
    }

    .main-nav {
        display: none !important;
    }

    .mobile-menu-button {
        display: none !important;
    }

}

/* ==========================================================
   HERO
========================================================== */

/* .hero {
    padding-top: 0px;
} */

.hero-container {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 70px;

    align-items: center;
}

.hero-description {
    max-width: 560px;

    margin-bottom: 30px;

    font-size: 1.1rem;
}

.button-primary {
    background: #735741;
    border: 2px solid #735741;

    color: #F4F0E8;

    text-decoration: none;

    transition:
        background 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.button-primary:hover {
    background: #F4F0E8;
    border-color: #735741;

    color: #735741;

    transform: translateY(-2px);

    box-shadow:
        0 8px 18px rgba(115, 87, 65, 0.15);
}

/* Empêche le bleu des états natifs du lien */
.button-primary:visited {
    color: #F4F0E8;
}

.button-primary:hover,
.button-primary:focus {
    color: #735741;
}

.button-primary:active {
    color: #735741;
}

.hero-image-wrapper {
    overflow: hidden;

    border-radius: var(--border-radius-large);
}

.hero-image {
    width: 100%;
    height: min(620px, 70vh);

    object-fit: cover;
}

.hero-image-wrapper img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}

/* Dès que ça commence à manquer de place */
/* @media (max-width: 1100px) {

    .hero-image-wrapper {
        width: 60px;
        height: 60px;
    }

} */

/* Si ça manque encore de place : on passe en dessous */
@media (max-width: 850px) {

    .hero-container {
        grid-template-columns: 1fr;
    }

    .hero-image-wrapper {
        width: 100%;
        height: auto;

        margin-top: 25px;
    }

}


/* ==========================================================
   ABOUT
========================================================== */

/* .about-content {
    display: flex;
    justify-content: center;
} */
.about-intro{
    color: #ff5757 !important;
    /* font-weight: bold; */
    font-style: italic;
}

.about-text {
    /* width: min(100%, 950px);

    margin: 0 auto; */

    text-align: justify;

    line-height: 1.75;
}

.about-text p {
    margin-bottom: 10px;
}

/* .about-text p:last-child {
    text-align: center;
} */

.about-text strong {
    color: var(--color-title);
}

/* ==========================================================
   INFO TOOLTIP
========================================================== */

.info-tooltip {
    position: relative;

    display: inline-block;

    cursor: help;

    color: var(--color-title);

    border-bottom: 1px dotted var(--color-title);
}

.info-tooltip-content {
    position: absolute;
    z-index: 200;

    bottom: calc(100% + 12px);
    left: 50%;

    width: 300px;

    padding: 16px 18px;

    background: #735741;

    border-radius: 14px;

    box-shadow:
        0 12px 30px rgba(63, 43, 30, 0.18);

    color: #F4F0E8;

    font-size: 0.82rem;
    font-style: normal;

    line-height: 1.5;

    opacity: 0;

    visibility: hidden;

    pointer-events: none;

    transform:
        translateX(-50%)
        translateY(8px);

    transition:
        opacity 0.2s ease,
        transform 0.2s ease,
        visibility 0.2s ease;
}


/* Petite flèche */

.info-tooltip-content::after {
    position: absolute;

    top: 100%;
    left: 50%;

    width: 12px;
    height: 12px;

    background: #735741;

    content: "";

    transform:
        translateX(-50%)
        rotate(45deg);

    margin-top: -6px;
}


/* On force le strong crème dans la bulle */

.info-tooltip-content strong {
    color: #F4F0E8;
}


/* Desktop hover + clavier */

.info-tooltip:hover .info-tooltip-content,
.info-tooltip:focus .info-tooltip-content {
    opacity: 1;

    visibility: visible;

    transform:
        translateX(-50%)
        translateY(0);
}

@media (max-width: 700px) {

    .info-tooltip-content {
        position: fixed;

        right: 20px;
        bottom: 30px;
        left: 20px;

        width: auto;

        transform: translateY(10px);
    }

    .info-tooltip-content::after {
        display: none;
    }

    .info-tooltip:hover .info-tooltip-content,
    .info-tooltip:focus .info-tooltip-content {
        transform: translateY(0);
    }

}

/* ==========================================================
   CAROUSEL
========================================================== */

.carousel-container {
    position: relative;

    margin-top: 60px;
}

.carousel {
    display: flex;

    overflow-x: auto;

    gap: 24px;

    padding: 10px;

    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;

}

.carousel::-webkit-scrollbar {
    display: none;
}

.carousel-card {
    position: relative;

    flex: 0 0 calc(33.333% - 16px);

    overflow: hidden;

    min-width: 280px;

    border-radius: var(--border-radius-medium);

    cursor: pointer;

    scroll-snap-align: start;
}

.carousel-card img {
    width: 100%;
    height: 360px;

    object-fit: cover;

    transition: transform 0.4s ease;
}

.carousel-card:hover img,
.carousel-card:focus img {
    transform: scale(1.04);
}


/* ==========================================================
   CAROUSEL TOOLTIP
========================================================== */

.photo-tooltip {
    position: absolute;
    right: 15px;
    bottom: 15px;
    left: 15px;

    padding: 18px;

    background: rgb(115 87 65 / 94%);

    border: 1px solid rgb(255 255 255 / 20%);
    border-radius: 18px;

    box-shadow: 0 12px 35px rgb(0 0 0 / 25%);

    color: var(--color-white);

    opacity: 0;

    pointer-events: none;

    transform: translateY(15px);

    transition:
        opacity var(--transition),
        transform var(--transition);

    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

.photo-tooltip::after {
    position: absolute;

    bottom: -8px;
    left: 30px;

    width: 16px;
    height: 16px;

    background: var(--color-title);

    content: "";

    transform: rotate(45deg);
}

.photo-tooltip strong {
    display: block;

    margin-bottom: 5px;

    color: var(--color-white);

    font-family: var(--font-title);
    font-size: 1.2rem;
}

.photo-tooltip p {
    margin: 0;

    font-size: 0.9rem;
}

.carousel-card:hover .photo-tooltip,
.carousel-card:focus .photo-tooltip,
.carousel-card.tooltip-open .photo-tooltip {
    opacity: 1;

    transform: translateY(0);
}

.carousel-button {
    position: absolute;
    z-index: 10;
    top: 50%;

    display: flex;

    width: 48px;
    height: 48px;

    align-items: center;
    justify-content: center;

    background: var(--color-title);

    border: none;
    border-radius: 50%;

    box-shadow: 0 5px 15px rgb(0 0 0 / 18%);

    color: var(--color-white);

    font-size: 1.4rem;

    transform: translateY(-50%);
}

.carousel-button-prev {
    left: -24px;
}

.carousel-button-next {
    right: -24px;
}


/* ==========================================================
   SERVICES
========================================================== */

.services-intro {
    max-width: 1000px;

    margin-bottom: 45px;
}

.services-intro a {
    color: var(--color-title);

    font-weight: 600;

    text-decoration: underline;
}

.services-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 20px;
}

/* .service-card {
    display: flex;

    min-height: 440px;

    flex-direction: column;

    padding: 30px;

    border: 3px solid var(--color-title);
    border-radius: var(--border-radius-large);
} */
/* ==========================================================
   SERVICES GRID
========================================================== */

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


/* ==========================================================
   SERVICE CARD - VERSION PLUS LÉGÈRE
========================================================== */

.service-card {
    position: relative;

    display: flex;
    min-height: 440px;
    flex-direction: column;

    padding: 30px;

    background: rgba(255, 255, 255, 0.22);

    border: 1px solid rgba(115, 87, 65, 0.12);
    border-radius: 28px;

    box-shadow:
        0 12px 30px rgba(115, 87, 65, 0.08),
        0 3px 10px rgba(115, 87, 65, 0.05);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease;
}

.service-card:hover {
    transform: translateY(-5px);

    background: rgba(255, 255, 255, 0.35);

    box-shadow:
        0 20px 40px rgba(115, 87, 65, 0.12),
        0 6px 16px rgba(115, 87, 65, 0.06);
}


/* ==========================================================
   TITRE CARD
========================================================== */

.service-card > h3 {
    margin-bottom: 24px;

    text-align: center;

    color: var(--color-title);

    font-size: 1.6rem;
    font-weight: 600;
}


/* ==========================================================
   SERVICE ITEM
========================================================== */

.service-item {
    position: relative;

    margin-bottom: 12px;
    padding: 6px 0;
}


/* ==========================================================
   HEADER / PRIX
========================================================== */

.service-header {
    display: flex;

    gap: 15px;

    align-items: flex-start;
    justify-content: space-between;
}

.service-header h4 {
    margin: 0;

    font-size: 1rem;
    font-weight: 500;
}

.service-price {
    flex-shrink: 0;

    color: var(--color-title);

    font-weight: 600;
}


/* ==========================================================
   DESCRIPTION
========================================================== */

.service-description {
    display: -webkit-box;

    overflow: hidden;

    margin: 8px 0;

    color: rgba(0, 0, 0, 0.78);

    font-size: 0.9rem;
    font-style: italic;

    line-height: 1.55;

    -webkit-box-orient: vertical; 
    -webkit-line-clamp: 4;
    line-clamp: 4;
}


/* ==========================================================
   SOUS-TITRE
========================================================== */

.service-subtitle {
    color: rgba(0, 0, 0, 0.65);

    font-size: 0.75rem;
    font-style: italic;
}


/* ==========================================================
   LISTE PRIX
========================================================== */

.price-list {
    padding: 0;

    margin: 8px 0 25px;

    list-style: none;
}

.price-list li {
    display: flex;

    padding: 7px 0;

    justify-content: space-between;

    border-bottom: 1px solid rgba(115, 87, 65, 0.08);
}

.price-list li:last-child {
    border-bottom: none;
}

.price-list strong {
    color: var(--color-title);
}


/* ==========================================================
   BOUTON
========================================================== */

.service-card .button {
    margin-top: auto;

    align-self: flex-end;

    background: rgba(244, 240, 232, 0.8);

    border: 1px solid rgba(115, 87, 65, 0.5);

    box-shadow:
        0 6px 14px rgba(115, 87, 65, 0.08);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

.service-card .button:hover {
    background: #735741;

    color: #F4F0E8;

    transform: translateY(-2px);

    box-shadow:
        0 10px 20px rgba(115, 87, 65, 0.15);
}

.service-card > h3 {
    text-align: center;
}

.service-subtitle{
    font-style: italic;
    font-size: 12px;
}

.service-item {
    position: relative;

    margin-bottom: 10px;
}

.service-header {
    display: flex;

    gap: 15px;

    align-items: flex-start;
    justify-content: space-between;
}

.service-header h4 {
    margin: 0;

    font-size: 1.05rem;
    font-weight: 500;
}

.service-price {
    flex-shrink: 0;

    font-weight: 500;
}


/* ==========================================================
   DESCRIPTION TRONQUÉE 3 LIGNES
========================================================== */

.service-description {
    display: -webkit-box;

    overflow: hidden;

    margin: 5px 0;

    font-size: 0.9rem;
    font-style: italic;

    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
}


/* ==========================================================
   TOOLTIP SERVICE
========================================================== */

.service-item::after {
    position: absolute;
    z-index: 100;

    right: 0;
    bottom: calc(100% + 12px);
    left: 0;

    padding: 16px;

    background: rgba(115, 87, 65, 0.96);

    border: 1px solid rgba(244, 240, 232, 0.15);
    border-radius: 14px;

    box-shadow:
        0 14px 30px rgba(0, 0, 0, 0.16);

    color: #F4F0E8;

    content: attr(data-tooltip);

    font-size: 0.85rem;
    font-style: normal;

    line-height: 1.5;

    opacity: 0;

    pointer-events: none;

    transform: translateY(8px);

    transition:
        opacity 0.2s ease,
        transform 0.2s ease;

    -webkit-backdrop-filter: blur(6px); /*  prise en charge safari */
    backdrop-filter: blur(6px);
}

.service-item::before {
    position: absolute;
    z-index: 101;

    bottom: calc(100% + 5px);
    left: 30px;

    width: 14px;
    height: 14px;

    background: var(--color-title);

    content: "";

    opacity: 0;

    transform: rotate(45deg);

    transition: opacity var(--transition);
}

.service-item:hover::after,
.service-item:hover::before,
.service-item:focus-within::after,
.service-item:focus-within::before {
    opacity: 1;
}

.service-item:hover::after {
    transform: translateY(0);
}

.price-list {
    padding: 0;

    margin: 0 0 25px;

    list-style: none;
}

.price-list li {
    display: flex;

    padding: 5px 0;

    justify-content: space-between;
}

.service-card .button {
    margin-top: auto;

    align-self: flex-end;
}


/* ==========================================================
   CONTACT CARD
========================================================== */

.contact-card {
    width: min(100%, 760px);

    margin: 0 auto;

    padding: 42px 48px;

    background: #8A6D55;

    border: none;
    border-radius: 32px;

    box-shadow:
        0 18px 45px rgba(63, 43, 30, 0.16),
        0 4px 12px rgba(63, 43, 30, 0.08);

    color: #F4F0E8;
}


/* ==========================================================
   HEADER
========================================================== */

.contact-header {
    display: flex;

    align-items: center;

    gap: 20px;

    /* margin-bottom: 32px; */
}

.contact-logo {
    width: 150px;
    height: 150px;

    object-fit: contain;
}

.contact-header h3 {
    margin: 0;

    color: #F4F0E8;

    font-family: "Baloo 2", cursive;
    font-size: 2rem;
    font-weight: 600;
}


/* ==========================================================
   ITEMS
========================================================== */

.contact-item {
    margin-bottom: 26px;
}

.contact-label {
    display: block;

    margin-bottom: 8px;

    color: #F4F0E8;

    font-weight: 600;
}

.contact-line {
    display: flex;

    align-items: center;

    gap: 12px;

    margin: 7px 0;

    color: #F4F0E8;
}

.contact-line i {
    width: 22px;

    flex-shrink: 0;

    color: #F4F0E8;

    font-size: 1.05rem;

    text-align: center;
}

.contact-line a {
    color: #F4F0E8;

    text-decoration: none;

    transition:
        opacity 0.2s ease,
        transform 0.2s ease;
}

.contact-line a:hover {
    opacity: 0.75;
}


/* ==========================================================
   SOCIAL ICONS
========================================================== */

.social-icon {
    width: 22px;
    height: 22px;

    flex-shrink: 0;

    object-fit: contain;
}


/* ==========================================================
   FOOTER CTA
========================================================== */

.contact-footer {
    display: flex;

    align-items: center;

    gap: 24px;

    margin-top: 38px;
    padding-top: 30px;

    border-top: 1px solid rgba(244, 240, 232, 0.22);
}

.contact-email-button {
    display: inline-flex;

    min-height: 52px;

    align-items: center;
    justify-content: center;

    gap: 10px;

    padding: 13px 24px;

    background: #F4F0E8;

    border: 1px solid transparent;
    border-radius: 14px;

    box-shadow:
        0 8px 22px rgba(0, 0, 0, 0.13);

    color: #735741;

    font-weight: 600;

    cursor: pointer;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

.contact-email-button:hover {
    background: #fffaf2;

    transform: translateY(-2px);

    box-shadow:
        0 12px 28px rgba(0, 0, 0, 0.16);
}

.contact-email-button:active {
    transform: translateY(0);
}

.contact-email-info {
    max-width: 310px;

    margin: 0;

    color: rgba(244, 240, 232, 0.86);

    font-size: 0.9rem;
    font-style: italic;

    line-height: 1.45;
}

/* ==========================================================
   SWEETALERT - DOG DE LA BAIE
========================================================== */

.dog-swal-popup {
    padding: 35px !important;

    background: #F4F0E8 !important;

    border-radius: 26px !important;

    box-shadow:
        0 20px 50px rgba(63, 43, 30, 0.20) !important;

    font-family: "Poppins", sans-serif !important;
}


.dog-swal-title {
    color: #735741 !important;

    font-family: "Baloo 2", cursive !important;
    font-size: 2rem !important;
    font-weight: 600 !important;
}


.dog-swal-text {
    color: #000000 !important;

    font-size: 0.95rem !important;

    text-align: left !important;
}


.dog-swal-text strong {
    color: #735741 !important;
}


/* CONFIRM */

.dog-swal-confirm {
    min-width: 145px;

    padding: 12px 22px;

    background: #735741;

    border: none;
    border-radius: 12px;

    color: #F4F0E8;

    font-weight: 600;

    cursor: pointer;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}


.dog-swal-confirm:hover {
    background: #8A6D55;

    transform: translateY(-2px);

    box-shadow:
        0 8px 20px rgba(115, 87, 65, 0.20);
}


/* ANNULER */

.dog-swal-cancel {
    min-width: 110px;

    padding: 12px 22px;

    background: transparent;

    border: 1px solid rgba(115, 87, 65, 0.35);
    border-radius: 12px;

    color: #735741;

    font-weight: 500;

    cursor: pointer;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}


.dog-swal-cancel:hover {
    background: rgba(115, 87, 65, 0.07);

    transform: translateY(-1px);
}

.swal2-actions {
    gap: 12px;
}

.swal2-actions button {
    margin: 0 !important;
}

/* ==========================================================
   MOBILE
========================================================== */

@media (max-width: 700px) {

    .contact-card {
        width: 100%;

        padding: 30px 24px;

        border-radius: 26px;
    }

    .contact-header {
        gap: 14px;

        margin-bottom: 26px;
    }

    .contact-logo {
        width: 58px;
        height: 58px;
    }

    .contact-header h3 {
        font-size: 1.65rem;
    }

    .contact-footer {
        flex-direction: column;

        align-items: stretch;

        gap: 14px;
    }

    .contact-email-button {
        width: 100%;
    }

    .contact-email-info {
        max-width: none;

        text-align: center;
    }

}


/* ==========================================================
   PHOTO FINALE
========================================================== */

/* .final-photo-section {
    padding-top: 80px;
    padding-bottom: 80px;
} */


/* ==========================================================
   CADRE
========================================================== */

.final-photo-wrapper {
    position: relative;

    overflow: hidden;

    width: 100%;

    border-radius: 30px;

    box-shadow:
        0 18px 45px rgba(115, 87, 65, 0.12),
        0 5px 15px rgba(115, 87, 65, 0.06);

    opacity: 0;

    transform: translateY(35px);

    transition:
        opacity 0.8s ease,
        transform 0.8s ease;
}


/* apparition au scroll */

.final-photo-wrapper.is-visible {
    opacity: 1;

    transform: translateY(0);
}


/* ==========================================================
   IMAGE
========================================================== */

.final-photo {
    display: block;

    width: 100%;
    height: 700px;

    object-fit: cover;

    /*
     * IMPORTANT :
     * on descend l'image dans son cadre.
     *
     * Si la tête est encore coupée :
     * test à 45%, 40%, 35%...
     */
    object-position: center 45%;

    /*
     * Éclaircit légèrement la photo
     */
    filter:
        brightness(1.13)
        contrast(0.96)
        saturate(1.02);

    transition:
        transform 1.2s ease,
        filter 0.5s ease;
}


/* zoom très léger */

.final-photo-wrapper:hover .final-photo {
    transform: scale(1.02);

    filter:
        brightness(1.16)
        contrast(0.97)
        saturate(1.04);
}


/* ==========================================================
   OVERLAY
========================================================== */

.final-photo-overlay {
    position: absolute;

    inset: 0;

    display: flex;

    align-items: flex-end;
    justify-content: center;

    padding: 45px 35px;

    background:
        linear-gradient(
            to top,
            rgba(25, 20, 16, 0.55) 0%,
            rgba(25, 20, 16, 0.23) 28%,
            rgba(25, 20, 16, 0) 58%
        );

    pointer-events: none;
}


/* ==========================================================
   TEXTE
========================================================== */

.final-photo-overlay p {
    display: flex;

    margin: 0;

    flex-direction: column;

    align-items: center;

    color: #F4F0E8;

    text-align: center;

    text-shadow:
        0 2px 8px rgba(0, 0, 0, 0.35);
}


/* première ligne

.final-photo-small-text {
    display: block;

    margin-bottom: 12px;

    font-family: "Poppins", sans-serif;
    font-size: clamp(1rem, 1.5vw, 1.3rem);
    font-weight: 300;

    line-height: 1.6;
    letter-spacing: 0.06em;
}


/* deuxième ligne 

.final-photo-main-text {
    display: block;

    font-family: "Poppins", sans-serif;
    font-size: clamp(1.4rem, 2.5vw, 2.1rem);
    font-weight: 500;

    line-height: 1.5;
    letter-spacing: 0.035em;

} */
 .final-photo-small-text {
    display: block;

    margin-bottom: 8px;

    font-family: "Cormorant Garamond", serif;
    font-size: clamp(1.35rem, 2vw, 1.8rem);
    font-weight: 400;
    font-style: italic;

    line-height: 1.4;
    letter-spacing: 0.03em;
}

.final-photo-main-text {
    display: block;

    font-family: "Cormorant Garamond", serif;
    font-size: clamp(2rem, 3.4vw, 3.1rem);
    font-weight: 500;

    line-height: 1.15;
    letter-spacing: 0.015em;
}
/* ==========================================================
   TABLETTE
========================================================== */

@media (max-width: 950px) {

    .final-photo {
        height: 600px;

        /*
         * On montre davantage le haut de la photo
         */
        object-position: center 38%;
    }

}


/* ==========================================================
   MOBILE
========================================================== */

@media (max-width: 700px) {

    .final-photo-section {
        padding-top: 60px;
        padding-bottom: 60px;
    }

    .final-photo-wrapper {
        border-radius: 24px;
    }

    .final-photo {
        height: 520px;

        /*
         * Sur mobile : attention au visage.
         * Cette valeur est volontairement différente
         * du desktop.
         */
        object-position: center 35%;
    }

    .final-photo-overlay {
        padding: 30px 20px;
    }

    .final-photo-small-text {
        font-size: 0.95rem;
    }

    .final-photo-main-text {
        font-size: 1.45rem;
    }

}


/* ==========================================================
   PETITS MOBILES
========================================================== */

@media (max-width: 420px) {

    .final-photo {
        height: 460px;

        object-position: center 32%;
    }

    .final-photo-overlay {
        padding: 24px 16px;
    }

    .final-photo-small-text {
        font-size: 0.85rem;
    }

    .final-photo-main-text {
        font-size: 1.25rem;
    }

}

/* ==========================================================
   LEGAL
========================================================== */

.legal-section {
    border-top: 1px solid rgb(115 87 65 / 30%);
}


/* ==========================================================
   FOOTER
========================================================== */

.footer {
    margin-top: 70px;

    padding: 38px 0 28px;

    background: #8A6D55;

    color: #F4F0E8;

    box-shadow:
        0 -8px 24px rgba(115, 87, 65, 0.08);
}


.footer-container {
    text-align: center;
}


/* ==========================================================
   LIENS
========================================================== */

.footer-links {
    display: flex;

    align-items: center;
    justify-content: center;

    gap: 32px;

    flex-wrap: wrap;
}

.footer-links a {
    position: relative;

    color: #F4F0E8;

    font-size: 0.95rem;
    font-weight: 400;

    text-decoration: none;

    transition:
        opacity 0.2s ease,
        text-shadow 0.2s ease;
}

.footer-links a:hover {
    color: #F4F0E8;

    opacity: 0.9;

    text-shadow:
        0 0 8px rgba(244, 240, 232, 0.25);
}


/* Petit trait au hover */

.footer-links a::after {
    position: absolute;

    right: 0;
    bottom: -6px;
    left: 0;

    width: 0;
    height: 1px;

    margin: auto;

    background: #FF9A8D;

    content: "";

    transition: width 0.2s ease;
}

.footer-links a:hover::after {
    width: 100%;
}


/* ==========================================================
   SÉPARATEUR
========================================================== */

.footer-separator {
    width: min(100%, 900px);
    height: 1px;

    margin: 28px auto 22px;

    background: rgba(244, 240, 232, 0.28);
}


/* ==========================================================
   COPYRIGHT
========================================================== */

.footer-copyright {
    margin: 0;

    color: rgba(244, 240, 232, 0.88);

    font-size: 0.82rem;
    font-weight: 300;

    line-height: 1.6;

    letter-spacing: 0.01em;
}


/* ==========================================================
   MOBILE
========================================================== */

@media (max-width: 700px) {

    .footer {
        margin-top: 50px;

        padding: 32px 0 24px;
    }

    .footer-links {
        flex-direction: column;

        gap: 16px;
    }

    .footer-separator {
        margin: 24px auto 20px;
    }

    .footer-copyright {
        font-size: 0.76rem;

        line-height: 1.7;
    }

}


/* ==========================================================
   TABLET
========================================================== */

@media (max-width: 950px) {

    .hero-container {
        grid-template-columns: 1fr;
    }

    .hero-image {
        height: 500px;
    }

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

    .service-card {
        min-height: initial;
    }

    .contact-layout {
        grid-template-columns: 1fr;
    }

    .carousel-card {
        flex-basis: calc(50% - 12px);
    }
}


/* ==========================================================
   MOBILE
========================================================== */

@media (max-width: 700px) {

    .section {
        padding: 60px 0;
    }


    /* HERO */

    .hero {
        padding-top: 25px;
    }

    .hero-container {
        gap: 35px;
    }

    .hero-image {
        height: 380px;
    }


    /* CAROUSEL */

    .carousel {
        padding-inline: 0;
    }

    .carousel-card {
        flex: 0 0 85%;
    }

    .carousel-card img {
        height: 320px;
    }

    .carousel-button {
        display: none;
    }


    /* SERVICES */

    .services-grid {
        display: flex;

        flex-direction: column;
    }

    .service-card {
        width: 100%;

        padding: 25px;

        border-radius: 28px;
    }


    /* Contact */

    .contact-card,
    .contact-form {
        padding: 25px;

        border-radius: 28px;
    }


    /* tooltips */

    .service-item::after {
        font-size: 0.8rem;
    }

}


/* ==========================================================
   VERY SMALL MOBILE
========================================================== */

@media (max-width: 420px) {

    .container {
        width: 92%;
    }

    h1 {
        font-size: 3rem;
    }

    h2 {
        font-size: 2.2rem;
    }

    .carousel-card {
        flex-basis: 92%;
    }

}

/* ==========================================================*/
/* ==========================================================
   CONDITIONS GENERALES DE SERVICES
========================================================== */

.legal-section {
    padding: 80px 0 100px;
}

.legal-container {
    max-width: 1000px;
}


/* ==========================================================
   INTRODUCTION
========================================================== */

.legal-header {
    margin-bottom: 65px;
}

.legal-eyebrow {
    margin-bottom: 5px;

    color: var(--color-accent);

    font-size: 0.9rem;
    font-weight: 600;

    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.legal-header h1 {
    margin: 0 0 15px;

    color: var(--color-title);

    font-family: "Baloo 2", cursive;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 600;

    line-height: 1.1;
}

.legal-update {
    margin-bottom: 30px;

    color: rgba(0, 0, 0, 0.55);

    font-size: 0.8rem;
    font-style: italic;
}

.legal-intro {
    max-width: 850px;

    font-size: 1.05rem;
    line-height: 1.8;
}


/* ==========================================================
   ARTICLES
========================================================== */

.legal-article {
    padding: 0 0 42px;

    margin-bottom: 42px;

    border-bottom: 1px solid rgba(115, 87, 65, 0.15);
}

.legal-article h2 {
    margin-bottom: 22px;

    color: var(--color-title);

    font-family: "Baloo 2", cursive;
    font-size: 1.75rem;
    font-weight: 600;
}

.legal-article h3 {
    margin-top: 30px;
    margin-bottom: 12px;

    color: var(--color-title);

    font-size: 1.05rem;
    font-weight: 600;
}

.legal-article p {
    margin: 0 0 15px;

    line-height: 1.8;

    text-align: justify;
}

.legal-article ul {
    margin: 15px 0 25px;

    padding-left: 25px;
}

.legal-article li {
    margin-bottom: 8px;

    line-height: 1.7;
}

.legal-article a {
    color: var(--color-title);

    font-weight: 500;
}


/* ==========================================================
   ARTICLE SANITAIRE
========================================================== */

.legal-highlight {
    padding: 35px;

    background: rgba(115, 87, 65, 0.055);

    border: 1px solid rgba(115, 87, 65, 0.10);
    border-radius: 24px;
}


/* ==========================================================
   ENCADRES
========================================================== */

.legal-notice {
    padding: 22px 25px;

    margin-top: 30px;

    background: #735741;

    border-radius: 16px;

    color: #F4F0E8;
}

.legal-notice strong {
    display: block;

    margin-bottom: 7px;

    font-size: 1rem;
}

.legal-notice p {
    margin: 0;

    text-align: left;
}


.legal-warning {
    padding: 22px 25px;

    margin-top: 25px;

    background: rgba(255, 87, 87, 0.08);

    border-left: 4px solid #FF5757;
    border-radius: 0 14px 14px 0;
}

.legal-warning strong {
    color: #735741;
}

.legal-warning p:last-child {
    margin-bottom: 0;
}


/* ==========================================================
   FIN DE PAGE
========================================================== */

.legal-acceptance {
    padding: 40px;

    margin-top: 65px;

    background: #735741;

    border-radius: 26px;

    box-shadow:
        0 18px 40px rgba(115, 87, 65, 0.15);

    color: #F4F0E8;

    text-align: center;
}

.legal-acceptance h2 {
    margin-bottom: 12px;

    color: #F4F0E8;
}

.legal-acceptance p {
    max-width: 700px;

    margin: 0 auto 25px;

    line-height: 1.7;
}

.legal-acceptance .button-primary {
    background: #F4F0E8;

    border-color: #F4F0E8;

    color: #735741;
}

.legal-acceptance .button-primary:hover {
    background: transparent;

    color: #F4F0E8;
}


/* ==========================================================
   MOBILE
========================================================== */

@media (max-width: 700px) {

    .legal-section {
        padding: 50px 0 70px;
    }

    .legal-header {
        margin-bottom: 45px;
    }

    .legal-header h1 {
        font-size: 2.4rem;
    }

    .legal-article {
        padding-bottom: 30px;

        margin-bottom: 32px;
    }

    .legal-article h2 {
        font-size: 1.45rem;
    }

    /*
     * Sur mobile, on évite le texte justifié :
     * les petites largeurs produisent de gros espaces.
     */
    .legal-article p {
        text-align: left;
    }

    .legal-highlight {
        padding: 24px 20px;

        border-radius: 18px;
    }

    .legal-acceptance {
        padding: 30px 20px;

        border-radius: 20px;
    }

}

/* ==========================================================*/
/* ==========================================================
   INFORMATIONS LEGALES
========================================================== */

.legal-information-card {
    padding: 22px 26px;

    margin: 20px 0;

    background: rgba(115, 87, 65, 0.055);

    border: 1px solid rgba(115, 87, 65, 0.10);
    border-radius: 16px;
}

.legal-information-card p {
    margin-bottom: 8px;

    text-align: left;
}

.legal-information-card p:last-child {
    margin-bottom: 0;
}

.legal-small-note {
    color: rgba(0, 0, 0, 0.55);

    font-size: 0.8rem;
    font-style: italic;
}

/* ==========================================================
   LIEN POLITIQUE DE CONFIDENTIALITE
========================================================== */

.privacy-policy-link {
    display: inline;

    padding: 0;

    margin-left: 5px;

    background: none;

    border: none;

    color: var(--color-title);

    font-weight: 600;

    text-decoration: underline;
    text-decoration-color: rgba(115, 87, 65, 0.45);
    text-underline-offset: 3px;

    cursor: pointer;

    transition:
        color 0.2s ease,
        text-shadow 0.2s ease,
        text-decoration-color 0.2s ease;
}

.privacy-policy-link:hover {
    color: var(--color-accent);

    text-decoration-color: var(--color-accent);

    text-shadow:
        0 0 8px rgba(255, 87, 87, 0.12);
}


/* ==========================================================
   MODALE CONFIDENTIALITE
========================================================== */

.privacy-swal-popup {
    padding: 35px 40px !important;

    background: #F4F0E8 !important;

    border-radius: 26px !important;

    box-shadow:
        0 22px 55px rgba(63, 43, 30, 0.22) !important;

    font-family: "Poppins", sans-serif !important;
}


.privacy-swal-title {
    color: #735741 !important;

    font-family: "Baloo 2", cursive !important;
    font-size: 2rem !important;
    font-weight: 600 !important;
}


.privacy-swal-html {
    max-height: 60vh;

    overflow-y: auto;

    padding-right: 12px !important;

    color: #000000 !important;

    text-align: left !important;
}


/* ==========================================================
   CONTENU MODALE
========================================================== */

.privacy-modal-content {
    font-size: 0.92rem;

    line-height: 1.7;
}


.privacy-modal-intro {
    padding: 16px 18px;

    margin-bottom: 25px;

    background: rgba(115, 87, 65, 0.07);

    border-radius: 14px;
}


.privacy-modal-intro p {
    margin: 0;
}


.privacy-modal-section {
    margin-bottom: 28px;
}


.privacy-modal-section h3 {
    margin-bottom: 10px;

    color: #735741;

    font-family: "Baloo 2", cursive;
    font-size: 1.25rem;
    font-weight: 600;
}


.privacy-modal-section p {
    margin: 0 0 12px;
}


.privacy-modal-section ul {
    padding-left: 22px;

    margin: 10px 0;
}


.privacy-modal-section li {
    margin-bottom: 6px;
}


.privacy-email a {
    color: #735741;

    font-weight: 600;

    text-decoration: none;
}


.privacy-email a:hover {
    color: #FF5757;
}


/* ==========================================================
   BOUTON MODALE
========================================================== */

.privacy-swal-confirm {
    min-width: 150px;

    padding: 12px 24px;

    background: #735741;

    border: none;
    border-radius: 12px;

    color: #F4F0E8;

    font-weight: 600;

    cursor: pointer;

    transition:
        transform 0.2s ease,
        background 0.2s ease,
        box-shadow 0.2s ease;
}


.privacy-swal-confirm:hover {
    background: #8A6D55;

    transform: translateY(-2px);

    box-shadow:
        0 8px 20px rgba(115, 87, 65, 0.18);
}


/* ==========================================================
   SCROLLBAR MODALE
========================================================== */

.privacy-swal-html::-webkit-scrollbar {
    width: 6px;
}

.privacy-swal-html::-webkit-scrollbar-track {
    background: rgba(115, 87, 65, 0.06);

    border-radius: 10px;
}

.privacy-swal-html::-webkit-scrollbar-thumb {
    background: rgba(115, 87, 65, 0.35);

    border-radius: 10px;
}


/* ==========================================================
   MOBILE
========================================================== */

@media (max-width: 700px) {

    .privacy-swal-popup {
        width: 92% !important;

        padding: 28px 20px !important;

        border-radius: 20px !important;
    }

    .privacy-swal-title {
        font-size: 1.65rem !important;
    }

    .privacy-swal-html {
        max-height: 65vh;

        padding-right: 6px !important;
    }

    .privacy-modal-content {
        font-size: 0.86rem;
    }

}

/* ==========================================================
   TITRES SERVICES CLIQUABLES
========================================================== */

.service-modal-trigger {
    cursor: pointer;

    transition:
        color 0.2s ease,
        text-shadow 0.2s ease;
}

.service-modal-trigger:hover {
    color: #735741;

    text-shadow:
        0 3px 10px rgba(115, 87, 65, 0.15);
}


/* ==========================================================
   MODALE SERVICE
========================================================== */

.service-swal-popup {
    overflow: hidden !important;

    padding: 0 0 28px !important;

    background: #F4F0E8 !important;

    border-radius: 26px !important;

    box-shadow:
        0 25px 60px rgba(63, 43, 30, 0.25) !important;

    font-family: "Poppins", sans-serif !important;
}


/* On empêche le container principal de scroller */
.service-swal-html {
    overflow: hidden !important;

    padding: 0 !important;
    margin: 0 !important;
}


/* ==========================================================
   IMAGE : PLUS GRANDE + SCROLLABLE
========================================================== */

.service-modal-image-wrapper {
    overflow-y: auto;
    overflow-x: hidden;

    width: calc(100% - 50px);
    max-width: 850px;
    height: 500px;

    margin: 25px auto 0;

    border-radius: 18px;

    background: #F4F0E8;
}


/* L'image garde sa vraie proportion */
.service-modal-image {
    display: block;

    width: 100%;
    height: auto;

    object-fit: contain;
}



.service-swal-popup:hover .service-modal-image {
    transform: scale(1.025);
}


/* ==========================================================
   CONTENU
========================================================== */

.service-modal-content {
    padding: 28px 38px 15px;

    text-align: center;
}

.service-modal-content h2 {
    margin: 0 0 14px;

    color: #735741;

    font-family: "Baloo 2", cursive;
    font-size: 2rem;
    font-weight: 600;
}

.service-modal-content p {
    max-width: 580px;

    margin: 0 auto;

    color: #000000;

    font-size: 0.95rem;

    line-height: 1.75;
}


/* ==========================================================
   BOUTON
========================================================== */

.service-swal-confirm {
    min-width: 140px;

    padding: 12px 24px;

    background: #735741;

    border: none;
    border-radius: 12px;

    color: #F4F0E8;

    font-weight: 600;

    cursor: pointer;

    transition:
        transform 0.2s ease,
        background 0.2s ease,
        box-shadow 0.2s ease;
}

.service-swal-confirm:hover {
    background: #8A6D55;

    transform: translateY(-2px);

    box-shadow:
        0 8px 20px rgba(115, 87, 65, 0.18);
}


/* ==========================================================
   MOBILE
========================================================== */

@media (max-width: 700px) {

    .service-swal-popup {
        width: 94% !important;
        max-height: 90vh !important;
    }

    .service-modal-image-wrapper {
        width: calc(100% - 30px);
        height: 320px;

        margin-top: 20px;
    }

    .service-modal-content {
        padding: 22px 20px 10px;
    }

    .service-modal-content h2 {
        font-size: 1.6rem;
    }

    .service-modal-content p {
        font-size: 0.88rem;

        line-height: 1.65;
    }

}
