/* ===================================
   FLEURISTE ARC-EN-CIEL - STYLES
   Design optimisé UI/UX v2.0
   =================================== */

/* === RESET & BASE === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500;1,600;1,700&family=Lato:wght@300;400;700&display=swap');

:root {
    /* Couleurs principales — alignées avec le logo Arc-en-ciel */
    --teal: #2A7A7C;
    --teal-dark: #1B6B6D;
    --teal-light: #4A9B9D;
    --orange: #E07B54;
    --orange-dark: #D06A43;
    --coral: #E8A89A;
    --gold: #F4C542;

    /* Rétrocompatibilité — violet remplacé par teal-dark (pas de violet dans le logo) */
    --violet: #1B6B6D;

    /* Couleurs de texte */
    --text-dark: #2C3E50;
    --text-medium: #5A6C7D;
    --text-light: #8896A6;

    /* Arrière-plans — tons chauds */
    --bg-white: #ffffff;
    --bg-light: #FBF7F0;
    --bg-cream: #FAF9F7;
    --bg-accent: #F0F8F7;

    /* Ombres teintées teal */
    --shadow-sm: 0 2px 8px rgba(27, 107, 109, 0.08);
    --shadow-md: 0 4px 16px rgba(27, 107, 109, 0.12);
    --shadow-lg: 0 8px 32px rgba(27, 107, 109, 0.15);
    --shadow-xl: 0 16px 48px rgba(27, 107, 109, 0.2);

    /* Transitions */
    --transition: all 0.3s ease;
    --transition-fast: all 0.15s ease;
    --transition-slow: all 0.5s ease;
    --transition-bounce: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--bg-white);
    font-weight: 400;
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

/* === SKIP LINK (Accessibilité) === */
.skip-link {
    position: absolute;
    top: -50px;
    left: 0;
    background: var(--teal);
    color: white;
    padding: 12px 24px;
    z-index: 9999;
    transition: top 0.3s;
    font-weight: 500;
}

.skip-link:focus {
    top: 0;
}

/* === HEADER === */
.header {
    background: var(--bg-white);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
    transition: var(--transition);
}

.header.scrolled {
    padding: 0.5rem 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.header-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 3rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
}

.logo-container {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo {
    width: 160px;
    height: auto;
    object-fit: contain;
    transition: var(--transition);
}

.header.scrolled .logo {
    width: 120px;
}

.logo:hover {
    transform: scale(1.02);
}

.site-title,
.site-tagline {
    display: none;
}

/* === HAMBURGER MENU === */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 22px;
    cursor: pointer;
    z-index: 1002;
    background: none;
    border: none;
    padding: 0;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 3px;
    background: var(--teal);
    border-radius: 3px;
    transition: var(--transition);
    transform-origin: center;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

/* === HEADER === */
.header {
    background: var(--bg-white);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}

.header-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 3rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
}

.logo-container {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo {
    width: 160px;
    height: auto;
    object-fit: contain;
    transition: var(--transition);
}

.logo:hover {
    transform: scale(1.02);
}

.site-title,
.site-tagline {
    display: none;
}

/* === NAVIGATION === */
.nav {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.nav-container {
    display: flex;
    align-items: center;
    gap: 2rem;
    background: var(--bg-light);
    padding: 0.75rem 2rem;
    border-radius: 50px;
    box-shadow: 0 2px 8px rgba(42, 122, 124, 0.08);
}

.nav-link {
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.875rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 0.5rem 0.75rem;
    position: relative;
    transition: var(--transition);
    white-space: nowrap;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--teal);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 80%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--teal);
}

/* Social Icon */
.nav-social {
    margin-left: 0.5rem;
    padding-left: 1rem;
    border-left: 1px solid rgba(42, 122, 124, 0.15);
    display: flex;
    align-items: center;
    transition: var(--transition);
}

.nav-social:hover {
    transform: scale(1.1);
}

.social-icon {
    width: 22px;
    height: 22px;
    color: var(--teal);
    opacity: 0.8;
    transition: var(--transition);
}

.nav-social:hover .social-icon {
    opacity: 1;
    color: var(--teal-dark);
}

.nav-lang {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--teal);
    color: white;
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    font-size: 0.8rem;
    text-decoration: none;
    letter-spacing: 0.5px;
    transition: var(--transition);
    margin-left: 0.5rem;
}

.nav-lang:hover {
    background: var(--orange);
    transform: scale(1.1);
}

/* === FLOATING CTA BUTTON === */
.floating-cta {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 998;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: flex-end;
}

.floating-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: var(--orange);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-bounce);
    border: none;
    cursor: pointer;
    text-decoration: none;
}

.floating-btn:hover {
    background: var(--orange-dark);
    transform: scale(1.05) translateY(-3px);
    box-shadow: var(--shadow-xl);
}

.floating-btn svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.back-to-top {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-white);
    color: var(--teal);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    border: 2px solid var(--teal);
    cursor: pointer;
    transition: var(--transition);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--teal);
    color: white;
}

.back-to-top svg {
    width: 24px;
    height: 24px;
}

/* === HERO SECTION === */
.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.35;
}

.hero-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(255,255,255,0.3) 0%, rgba(251,247,240,0.8) 100%);
}

.hero-content {
    max-width: 900px;
    padding: 2rem;
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    font-weight: 400;
    font-style: italic;
    color: var(--text-dark);
    line-height: 1.2;
    margin-bottom: 2rem;
}

.hero-text {
    font-size: 1.15rem;
    color: var(--text-medium);
    max-width: 700px;
    margin: 0 auto 1.5rem;
    line-height: 1.9;
}

.hero-btn {
    display: inline-block;
    background: var(--teal);
    color: white;
    padding: 1.1rem 2.8rem;
    border-radius: 50px;
    font-weight: 500;
    font-size: 1rem;
    letter-spacing: 0.5px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    margin-top: 1rem;
}

.hero-btn:hover {
    background: var(--teal-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.hero-btn-outline {
    background: transparent;
    border: 2px solid white;
    color: var(--text-dark);
}

.hero-btn-outline:hover {
    background: white;
    color: var(--teal);
    transform: translateY(-3px);
}

.hero-tagline {
    font-size: 1.2rem;
    color: var(--teal);
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1rem;
}

/* === SECTIONS === */
.section {
    padding: 5rem 0;
}

.section-light {
    background: var(--bg-light);
}

.section-white {
    background: var(--bg-white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.container-wide {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 3rem;
}

/* === SECTION TITLES === */
.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    font-weight: 400;
    font-style: italic;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-medium);
    font-style: italic;
    margin-bottom: 1rem;
}

.section-text {
    font-size: 1rem;
    color: var(--text-medium);
    line-height: 1.8;
    margin-bottom: 2rem;
}

/* === TWO COLUMN LAYOUT === */
.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.two-col-reverse {
    direction: rtl;
}

.two-col-reverse > * {
    direction: ltr;
}

.col-content {
    padding: 2rem 0;
}

.col-images {
    position: relative;
}

/* === DECORATIVE ELEMENTS === */
.dots-pattern {
    position: absolute;
    width: 100px;
    height: 100px;
    background-image: radial-gradient(circle, var(--teal) 3px, transparent 3px);
    background-size: 15px 15px;
    opacity: 0.4;
    z-index: 1;
}

.dots-top-right {
    top: -20px;
    right: -20px;
}

.dots-bottom-left {
    bottom: -20px;
    left: -20px;
}

.dots-top-left {
    top: -20px;
    left: -20px;
}

/* === CIRCULAR IMAGES === */
.circular-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 6px solid var(--bg-white);
    box-shadow: var(--shadow-md);
}

.circular-image-lg {
    width: 280px;
    height: 280px;
}

.circular-image-sm {
    width: 150px;
    height: 150px;
}

.image-stack {
    position: relative;
    min-height: 400px;
}

.image-stack .circular-image:nth-child(1) {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

.image-stack .circular-image:nth-child(2) {
    position: absolute;
    top: 120px;
    left: 20%;
}

.image-stack .circular-image:nth-child(3) {
    position: absolute;
    bottom: 0;
    right: 20%;
}

/* === FEATURE CARD (style collage) === */
.feature-collage {
    position: relative;
    background: var(--bg-white);
    border-radius: 8px;
    overflow: visible;
    padding: 2rem;
}

.collage-images {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}

.collage-images img {
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid white;
    box-shadow: var(--shadow-sm);
}

/* === INFO BOX (style violet du site ref) === */
.info-box {
    background: var(--violet);
    color: white;
    padding: 2rem;
    border-radius: 8px;
    position: relative;
}

.info-box h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.info-box ul {
    list-style: none;
    padding: 0;
}

.info-box li {
    padding: 0.3rem 0;
    font-size: 0.95rem;
}

.info-box li::before {
    content: '• ';
    color: var(--orange);
}

/* === BUTTONS === */
.btn {
    display: inline-block;
    padding: 0.9rem 2rem;
    border-radius: 30px;
    font-weight: 400;
    font-size: 0.95rem;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background: var(--teal);
    color: white;
}

.btn-primary:hover {
    background: var(--teal-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--teal);
    color: var(--teal);
}

.btn-outline:hover {
    background: var(--teal);
    color: white;
}

.btn-white {
    background: white;
    color: var(--teal);
}

.btn-white:hover {
    background: var(--bg-light);
}

/* === LISTS === */
.feature-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.feature-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-medium);
}

.feature-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--teal);
    font-weight: bold;
}

/* === CARDS === */
.card {
    background: var(--bg-white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.03);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.card-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: var(--transition-slow);
}

.card:hover .card-image {
    transform: scale(1.05);
}

.card-content {
    padding: 1.75rem;
}

.card-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.35rem;
    font-weight: 500;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.card-text {
    color: var(--text-medium);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* === GRIDS === */
.grid {
    display: grid;
    gap: 2rem;
}

.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

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

.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

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

/* === SERVICES GRID === */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--bg-white);
    padding: 2.5rem 2rem;
    border-radius: 12px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.05);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    object-fit: cover;
}

.service-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 500;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.service-text {
    color: var(--text-medium);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* === GALLERY === */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    aspect-ratio: 4/3;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(27, 107, 109, 0.9), transparent);
    color: white;
    padding: 2rem 1.5rem 1.5rem;
    transform: translateY(100%);
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 500;
    font-size: 1.2rem;
}

/* === CONTACT SECTION === */
.contact-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 500px;
}

.contact-image {
    position: relative;
    overflow: hidden;
}

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

.contact-form-wrapper {
    background-color: #f7f1ea;
    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg opacity='0.12'%3E%3Ccircle cx='40' cy='28' r='4' fill='%232A7A7C'/%3E%3Ccircle cx='34' cy='36' r='3.5' fill='%23E07B54'/%3E%3Ccircle cx='46' cy='36' r='3.5' fill='%23E07B54'/%3E%3Ccircle cx='36' cy='44' r='3' fill='%23E8A89A'/%3E%3Ccircle cx='44' cy='44' r='3' fill='%23E8A89A'/%3E%3Ccircle cx='40' cy='38' r='2.5' fill='%23F4C542'/%3E%3Cpath d='M40 50 Q40 56 40 60' stroke='%232A7A7C' stroke-width='1.5' fill='none'/%3E%3Cpath d='M36 54 Q40 52 44 54' stroke='%232A7A7C' stroke-width='1' fill='none' opacity='0.7'/%3E%3C/g%3E%3C/svg%3E");
    padding: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-radius: 16px;
    border: 1px solid rgba(42, 122, 124, 0.15);
}

.contact-form-wrapper h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-style: italic;
    color: var(--teal-dark);
    margin-bottom: 2rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    color: white;
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
    padding: 1rem;
    border: none;
    border-bottom: 1px solid rgba(255,255,255,0.3);
    background: transparent;
    color: white;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255,255,255,0.7);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-bottom-color: white;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-submit {
    background: white;
    color: var(--teal);
    padding: 1rem 2rem;
    border: none;
    border-radius: 0;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 1rem;
    font-family: 'Playfair Display', serif;
    font-style: italic;
}

.form-submit:hover {
    background: var(--bg-light);
}

/* === FOOTER === */
.footer {
    background: var(--teal-dark);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand .logo {
    width: 140px;
    margin-bottom: 1rem;
    filter: brightness(0) invert(1);
}

.footer-brand p {
    color: rgba(255,255,255,0.8);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    color: white;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--orange);
    transform: translateY(-3px);
}

.footer-social svg {
    width: 20px;
    height: 20px;
}

.footer-column h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 1.25rem;
    color: white;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column li {
    margin-bottom: 0.75rem;
}

.footer-column a {
    color: rgba(255,255,255,0.8);
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-column a:hover {
    color: var(--orange);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
    text-align: center;
}

.footer-copyright {
    color: rgba(255,255,255,0.6);
    font-size: 0.85rem;
}

.footer-copyright a {
    color: var(--orange);
}

.footer-copyright a:hover {
    text-decoration: underline;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.footer-links a {
    color: rgba(255,255,255,0.8);
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--orange);
}

/* === MODAL/POPUP === */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(50, 50, 50, 0.85);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
}

.modal.active {
    display: flex;
    animation: fadeIn 0.3s ease-out;
}

.modal-content {
    background: var(--bg-white);
    padding: 0;
    border-radius: 8px;
    max-width: 500px;
    width: 90%;
    max-height: 85vh;
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    animation: slideUp 0.4s ease-out;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: white;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    z-index: 10;
}

.modal-close:hover {
    transform: scale(1.1);
}

.modal-header {
    text-align: center;
    padding: 2rem 2rem 1rem;
}

.modal-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-style: italic;
    color: var(--text-dark);
}

.modal-image {
    width: 100%;
    max-height: 300px;
    object-fit: cover;
}

.modal-body {
    padding: 1.5rem 2rem 2rem;
    text-align: center;
    color: var(--text-medium);
    line-height: 1.8;
}

.modal-btn {
    background: var(--teal);
    color: white;
    border: none;
    padding: 0.9rem 2.5rem;
    border-radius: 30px;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 1rem;
}

.modal-btn:hover {
    background: var(--teal-dark);
    transform: translateY(-2px);
}

/* === ANIMATIONS === */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* Scroll animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

.animate-on-scroll.delay-1 { transition-delay: 0.1s; }
.animate-on-scroll.delay-2 { transition-delay: 0.2s; }
.animate-on-scroll.delay-3 { transition-delay: 0.3s; }
.animate-on-scroll.delay-4 { transition-delay: 0.4s; }

/* === RESPONSIVE === */
@media (max-width: 1024px) {
    .header-content {
        padding: 0 2rem;
        gap: 2rem;
    }

    .logo {
        width: 140px;
    }

    .nav-container {
        gap: 1.25rem;
        padding: 0.65rem 1.5rem;
    }

    .nav-link {
        font-size: 0.8rem;
        padding: 0.4rem 0.5rem;
    }

    .two-col {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .two-col-reverse {
        direction: ltr;
    }

    .hero-title {
        font-size: 3rem;
    }

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

    .contact-image {
        height: 300px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .header {
        padding: 0.75rem 0;
    }

    .header-content {
        padding: 0 1.5rem;
    }

    .logo {
        width: 130px;
    }

    /* Mobile Menu */
    .hamburger {
        display: flex;
    }

    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 350px;
        height: 100vh;
        background: var(--bg-white);
        flex-direction: column;
        justify-content: flex-start;
        padding: 6rem 2rem 2rem;
        box-shadow: -5px 0 30px rgba(0,0,0,0.15);
        transition: right 0.4s ease;
        z-index: 1001;
    }

    .nav.active {
        right: 0;
    }

    .nav-container {
        flex-direction: column;
        width: 100%;
        background: transparent;
        box-shadow: none;
        padding: 0;
        gap: 0;
        border-radius: 0;
    }

    .nav-link {
        font-size: 1.1rem;
        padding: 1rem 0;
        width: 100%;
        text-align: left;
        border-bottom: 1px solid rgba(0,0,0,0.05);
    }

    .nav-link::after {
        display: none;
    }

    .nav-social {
        margin: 2rem 0 0 0;
        padding: 0;
        border: none;
        justify-content: flex-start;
    }

    .social-icon {
        width: 28px;
        height: 28px;
    }

    /* Mobile overlay */
    .nav-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.5);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
        z-index: 1000;
    }

    .nav-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    .hero {
        min-height: 70vh;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-text {
        font-size: 1rem;
    }

    .section {
        padding: 3.5rem 0;
    }

    .section-title {
        font-size: 2rem;
    }

    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }

    .contact-form-wrapper {
        padding: 2.5rem;
    }

    .contact-form-wrapper h2 {
        font-size: 2rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand .logo {
        margin: 0 auto 1rem;
    }

    .footer-social {
        justify-content: center;
    }

    .floating-cta {
        bottom: 1.5rem;
        right: 1.5rem;
    }

    .floating-btn {
        padding: 0.9rem 1.25rem;
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .container,
    .container-wide {
        padding: 0 1rem;
    }

    .header-content {
        padding: 0 1rem;
    }

    .logo {
        width: 110px;
    }

    .nav-container {
        gap: 0.5rem;
        padding: 0.5rem 0.75rem;
    }

    .nav-link {
        font-size: 0.65rem;
        padding: 0.35rem 0.5rem;
    }

    .nav-social {
        padding-left: 0.5rem;
        margin-left: 0.25rem;
    }

    .social-icon {
        width: 18px;
        height: 18px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }

    .modal-content {
        width: 95%;
    }
}

/* === SECTION IMAGE ACCENT === */
.section-image-banner {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 2.5rem;
    box-shadow: var(--shadow-sm);
}

.section-image-side {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.service-card-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1rem;
    border: 3px solid var(--teal);
}

.card-icon-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 0.5rem;
    border: 2px solid var(--teal);
}

.section-accent-row {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2.5rem;
}

.section-accent-row img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid white;
    box-shadow: var(--shadow-md);
}

@media (max-width: 768px) {
    .section-image-banner {
        height: 160px;
    }
    .section-image-side {
        height: 200px;
    }
    .section-accent-row img {
        width: 100px;
        height: 100px;
    }
    .formaloo--root-container {
        height: 850px !important;
    }
}

@media (max-width: 480px) {
    .formaloo--root-container {
        height: 900px !important;
    }
}

/* === FORMALOO FORM EMBED === */
.formaloo--root-container {
    margin-top: 1.5rem;
    border-radius: 8px;
    overflow: hidden;
}

/* === UTILITIES === */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }
.mb-4 { margin-bottom: 4rem; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mt-4 { margin-top: 4rem; }

.py-1 { padding-top: 1rem; padding-bottom: 1rem; }
.py-2 { padding-top: 2rem; padding-bottom: 2rem; }
.py-3 { padding-top: 3rem; padding-bottom: 3rem; }

.hidden {
    display: none;
}

.visible {
    display: block;
}

/* === ONE-PAGE: NEW IMAGE COMPONENTS === */
.section-image-rounded {
    width: 100%;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    object-fit: cover;
    max-height: 500px;
}

.image-row-small {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.rounded-thumb {
    flex: 1;
    height: 140px;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: var(--shadow-sm);
}

/* === MINI CARDS (animaux) === */
.services-grid-small {
    display: flex;
    gap: 1.5rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.mini-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-align: center;
}

.mini-card-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--teal);
    transition: var(--transition);
}

.mini-card-img:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-md);
}

.mini-card span {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-dark);
}

/* === CONTACT FORM TITLE (within section) === */
.contact-form-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-style: italic;
    color: var(--teal-dark);
    margin-bottom: 1.5rem;
}

/* === SCROLL SPY NAV HIGHLIGHT === */
.nav-link.scrolled-active {
    color: var(--teal);
}

.nav-link.scrolled-active::after {
    width: 80%;
}

/* === SECTION DIVIDER === */
section[id] {
    scroll-margin-top: 80px;
}
